Viedumu Vietne ar Sandi

2008-03-19

Replikātoru kods

Fails atrodas: Izklaide, Tech — Sandis @ 18:22

Ir tāds seriāls Stargate SG-1 un tagad arī Stargate Atlantis. Viņiem tur ir tāda ļoti attīstīta tehnoloģija, kā jau zinātniskās fantastikas seriālā, un viens no šīs tehnoloģijas paraugiem ir replikātori. Tie ir tie roboti, kas paši sevi pavairo un izmanto tam visus metālus ko var atrast savā ceļā. Izrādās, viņu kods nav nekāds noslēpums. Tas ir pieejams jau šodien un arī tev. Tikai neizmanto ļaunos nolūkos!

Replikatoru kods atrodams lapā http://www.rbcroyalbank.com/RBC:R9qHJ471JsUAGVAiOJY/oec/index.html#01 pieprasot parādīt source. Kāpēc tas ir replikatoru kods?
Salīdzinat šo te koda izvilkumu ar attēlu no filmas:

function fn_tour2(ln, seg, client, sessionid)
{
x = window.screen.width;
y = window.screen.height;
w = 800;
h = 520;
moveX=(x/2)-w/2;
moveY=(y/2)-h/2;
window.open('/oec/avatar/estatements/welcome_00.html?ln=' + ln + '&seg=' + seg + '&client=' + client + '&sessionid=' + sessionid,'RCB','width=' + w + ',height=' + h + ',status=0,left='+ moveX +',top=' + moveY + ',screenX=' + moveX + ',screenY=' + moveY + ',scrollbars=no' + ',resizable=no');
}
function fn_tour3(ln, seg, client, sessionid)
{
x = window.screen.width;
y = window.screen.height;
w = 805;
h = 620;
moveX=(x/2)-w/2;
moveY=(y/2)-h/2;
window.open('/oec/avatar/html/01_PB/1_flash_paybill.htm?ln=' + ln + '&seg=' + seg + '&client=' + client + '&sessionid=' + sessionid,'RCB','width=' + w + ',height=' + h + ',status=0,left='+ moveX +',top=' + moveY + ',screenX=' + moveX + ',screenY=' + moveY + ',scrollbars=yes' + ',resizable=yes');
}

Replikatoru kods!

Avots.

4 komentāri »

  1. LOL :D

    Comment by artisare — 2008-03-19 @ 18:35

  2. omgwtfroflmaodedzin

    Comment by koko — 2008-03-19 @ 19:20

  3. Replikatorus ar īso “a”, lūgtum ;-)

    Comment by Krišs — 2008-03-19 @ 21:13

  4. :D :D:D

    Comment by TheVAL — 2008-03-20 @ 12:42


RSS barotne ieraksta komentāriem. TrackBack URI

Komentēt

Emuārs WordPress.com saitē.