670

cygwin: wget,netcat & forum.md

Solutie pentru a spori productivitatea:Administrator@dv /cygdrive/c/Temp$ wget http://bp3.blogger.com/_IiWT3-VJ3K4/Rl5hPRISOTI/AAAAAAAAAwc/ZVwy2ynk62o/s400/ist2_1098157_business_slave_to_the_work.jpg`ist2_1098157_business_slave_to_the_work.jpg' saved [20386/20386]Administrator@dv /cygdrive/c/Temp$ mv ist2_1098157_business_slave_to_the_work.jpg work.jpgAdministrator@dv /cygdrive/c/Temp$ echo -e "127.0.0.1\tforum.md www.forum.md" >> /cygdrive/c/WINDOWS/system32/drivers/etc/hostsAdministrator@dv /cygdrive/c/Temp$ while [ 1==1 ]; do (echo -ne "HTTP/1.1 200 OK\nConnection: close\nContent-Type: image/jpeg\nContent-Length: "`stat -c %s work.jpg`"\n\n"; cat work.jpg) | nc -l -p 80; done
0