Created
November 24, 2010 13:12
-
-
Save gildo/713632 to your computer and use it in GitHub Desktop.
lol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require'open-uri';puts "gimme url";u=gets.chomp;if u[0..6] != "http://" ; | |
u="http://"+u;end;c=open(u);s=c.size;puts"Size: #{s}";while c.size == s; | |
puts "Size Now: #{c.size}";sleep(30);c=open(u);end;puts "YEAHHHH #{c.size}" | |
system('vlc /home/gildo/lol.mp4') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment