Skip to content

Instantly share code, notes, and snippets.

@superfeedr
Created July 28, 2010 17:13
Show Gist options
  • Save superfeedr/495355 to your computer and use it in GitHub Desktop.
Save superfeedr/495355 to your computer and use it in GitHub Desktop.
require "rubygems"
require "addressable/uri"
uri = Addressable::URI.parse("http://example.com/path/to/resource/")
while true
uri = Addressable::URI.parse("http://example.com/path/to/resource/#{rand(10000)}")
sleep 10
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment