Cov txheej txheem:

Tus Kab Mob Ntshai Amoeba Siv Batch Script: 3 Kauj Ruam
Tus Kab Mob Ntshai Amoeba Siv Batch Script: 3 Kauj Ruam

Video: Tus Kab Mob Ntshai Amoeba Siv Batch Script: 3 Kauj Ruam

Video: Tus Kab Mob Ntshai Amoeba Siv Batch Script: 3 Kauj Ruam
Video: Musicians talk about Buckethead 2024, Kaum ib hlis
Anonim
Ntshai Amoeba Virus Siv Batch Script
Ntshai Amoeba Virus Siv Batch Script

Yog tias koj txaus siab rau coding lossis pawg sau ntawv, txheeb xyuas kuv qhov tseeb Ible ntawm no. Kuv kawm txog protista hauv kuv chav kawm Bio. Peb tau mus yos hav zoov rau amoebas nyob hauv qab lub tsom iav. Tsis siv ntau hauv lub neej, tab sis nws muab tswv yim rau kuv tias yuav tso npe li cas rau kuv tus kab mob tshiab no. Raws li qee tus neeg tau tshaj tawm, tus kab mob, los ntawm kev txhais, rov ua dua. Zoo, Kuv txaus siab hais tias Amoeba virus ua li ntawd!

Kauj Ruam 1: Kev Decomposing Amoeba

Kev Decomposing Amoeba
Kev Decomposing Amoeba

Kuv tau pom cov lus qhia rau pranks uas mus raws li hauv qab no: @echo tawm: Topstart %0goto TopThey lawv pib lawv tus kheej ntau thiab ntau dua, thiab qhov kev pib tshiab pib ua raws qhov tsim nyog, kom txog thaum lub computer khov. Amoebas ua qhov no, tab sis lawv tau tso tseg tom qab ntau, ntau Amoebas ntau dua li muaj nyob thaum pib. Sort of. The txheej txheem rov ua dua, nrog txoj haujlwm pib txhua tus kab mob tshiab, uas tom qab ntawd rov tsim dua. Ib qho dhau los ua peb, uas dhau los ua cuaj, thiab lwm yam. Tom qab theej nws tus kheej peb zaug, txhua qhov haujlwm tshem tawm nws tus kheej, ua rau tuag thiab decomposing. Qhov pawg ntawv yog raws li hauv qab no: @echo offcolor 02title Amoebaset/lub neej = 3: Topif %lub neej %== 0 (del%0) teeb lub npe =: Loopset / a namenumber =%RANDOM% / (32767 /25) set / a namenumber =%RANDOM% / (32767 /25) set / a namenumber =%RANDOM% / (32767 / 25) yog%namenumber%== 0 teeb lub npe = A%npe%yog%namenumber%== 1 teeb lub npe = B%npe%yog%namenumber%== 2 teeb lub npe = D%npe%yog%namenumber%== 3 teeb lub npe = D%npe%yog%namenumber%== 4 teeb npe = E%npe%yog%namenumber%== 5 teeb lub npe = F%npe%yog%namenumber%== 6 teeb npe = G%npe% yog%namenumber%== 7 teeb lub npe = H%npe%yog%namenumber%== 8 teeb lub npe = I%npe%yog%namenumber%== 9 teeb lub npe = J%npe%yog%namenumber%== 10 teeb name = K%name%if%namenumber%== 11 set name = L%name%if%namenumber%== 12 set name = M%name%if%namenumber%== 13 set name = N%name%if% namenumber%== 14 teeb lub npe = O%npe%yog%namenumber%== 15 teeb lub npe = P%npe%yog%namenumber%== 16 teeb lub npe = Q%npe%yog%namenumber%== 17 teeb tsa e = R%name%if%namenumber%== 18 set name = S%name%if%namenumber%== 19 set name = T%name%if%namenumber%== 20 set name = U%name%if% namenumber%== 21 teeb lub npe = V%npe%yog%namenumber%== 22 teeb lub npe = W%npe%yog%namenumber%== 23 teeb lub npe = X%npe%yog%namenumber%== 24 teeb lub npe = Y%npe%yog%namenumber%== 25 teeb lub npe = Z%npe%yog EXIST%npe%.bat goto Loopcopy%0%name%.bat> nulstart /min%name%.batset /lub neej =%lub neej% -1goto TopAs nrog txhua cov ntaub ntawv Batch, npe lub program no "Amoeba.bat", thiab khaws ua "Txhua Cov Ntaub Ntawv Cov Ntaub Ntawv". Tom qab ntawd khiav nws thiab ntxuav qhov mess.

Kauj Ruam 2: Fossilizing Amoeba

Lub Fossilizing Amoeba
Lub Fossilizing Amoeba

Fossilizing Amoeba zoo ib yam li Decomposing Amoeba, tshwj tsis yog tias nws tsuas yog rov tsim dua ob zaug, thaum kawg uas nws hloov nws tus kheej ua cov ntaub ntawv database, tawm hauv cov ntaub ntawv tsis siv, lossis "fossil". Qhov ntawv mus zoo li no: @echo offcolor 02title Amoebaset/lub neej = 2: Topif%lub neej%== 0 (rename%0%name%.dat) teeb lub npe =: Loopset/a namenumber =%RANDOM%/(32767/25) set/a namenumber =% RANDOM% / (32767 /25) set / a namenumber =%RANDOM% / (32767 /25) if%namenumber%== 0 set name = A%name%if%namenumber%== 1 set name = B%name% yog%namenumber%== 2 teeb lub npe = D%npe%yog%namenumber%== 3 teeb lub npe = D%npe%yog%namenumber%== 4 teeb npe = E%npe%yog%namenumber%== 5 teeb npe = F%npe%yog%namenumber%== 6 teeb lub npe = G%npe%yog%namenumber%== 7 teeb npe = H%npe%yog%namenumber%== 8 teeb npe = I%npe%yog% namenumber%== 9 teeb lub npe = J%npe%yog%namenumber%== 10 teeb lub npe = K%npe%yog%namenumber%== 11 teeb lub npe = L%npe%yog%namenumber%== 12 teeb lub npe = M%npe%yog%namenumber%== 13 teeb npe = N%npe%yog%namenumber%== 14 teeb npe = O%npe%yog%namenumber%== 15 teeb lub npe = P%name%if%namenumber%== 16 set name = Q%name%if%namenumber%== 17 set name = R%name%if%namenumber%== 18 set name = S%name%if%namenumber %== 19 teeb lub npe = T%npe%yog%namenumber%== 20 teeb lub npe = U%npe%yog%namenumber%== 21 teeb lub npe = V%npe%yog%namenumber%== 22 teeb lub npe = W %name%if%namenumber%== 23 set name = X%name%if%namenumber%== 24 set name = Y%name%if%namenumber%== 25 set name = Z%name%if EXIST%name%.bat goto Loopif EXIST%name%.dat goto Loopcopy%0%name%.bat> nulstart /min%name%.batset /a life =%life%-1goto TopOnce again, save as "Amoeba.bat".

Kauj Ruam 3: Lub cev tawg

Lub cev tawg
Lub cev tawg

Yog tias koj teeb tsa ib qho, thov qhia kuv tias nws ua haujlwm li cas. Muaj kev lom zem! ****************************** El Mano: Tsim koj tus kheej CMD Prompt Yuav ua li cas nkaum Computer Cov Ntaub Ntawv los ntawm Tecnically IlliterateKoj ua rau koj ob lub qhov muag ua haujlwm zoo Qhov no hloov kev noj qab haus huv yooj yim yuav ua rau koj sov ******************************

Pom zoo: