Skip to content

Instantly share code, notes, and snippets.

@ashaw
Created September 8, 2011 21:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashaw/1204866 to your computer and use it in GitHub Desktop.
Save ashaw/1204866 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'rest-client'
g = "http://go"
o = "o"
loop do
url = g + o + "gle.com"
p "trying " + url
p RestClient.get(url).headers
o += "o"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment