Created
July 28, 2010 17:13
-
-
Save superfeedr/495355 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 "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