Skip to content

Instantly share code, notes, and snippets.

@Fonsan
Created June 17, 2011 11:38
Show Gist options
  • Select an option

  • Save Fonsan/1031257 to your computer and use it in GitHub Desktop.

Select an option

Save Fonsan/1031257 to your computer and use it in GitHub Desktop.
url = "http#{schemes.sample}://#{
#subdomains
tlds.sample(1 + rand(3)).join('.')
}.#{
#host
host
}.#{
#tlds
tlds.sample
}#{
uri.path
}?#{
params.shuffle.join('&')
}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment