Skip to content

Instantly share code, notes, and snippets.

@puttputt
Created February 19, 2009 20:18
Show Gist options
  • Save puttputt/67097 to your computer and use it in GitHub Desktop.
Save puttputt/67097 to your computer and use it in GitHub Desktop.
#opens a file, outputs image url's to it
file = File.open("url.txt", "r+")
for i in (582...660)
file.puts "http://www.domain.com/" << i.to_s() << ".png"
end
file.close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment