Skip to content

Instantly share code, notes, and snippets.

@SaitoWu
Created January 14, 2011 17:38
Show Gist options
  • Save SaitoWu/779937 to your computer and use it in GitHub Desktop.
Save SaitoWu/779937 to your computer and use it in GitHub Desktop.
amazing script for fun from fffffuuu comic.
require 'open-uri'
img_url = "http://fffffffffffffffffffffffuuuuuuuuuuuuuuuuuuuuuu.com/big.jpg?im="
(1..1044).each do |x|
n = '%.4d' % x + ".jpg"
open(n, "wb").write(open(img_url+n).read)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment