Skip to content

Instantly share code, notes, and snippets.

@pradeepgatram
Created August 20, 2012 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pradeepgatram/3403014 to your computer and use it in GitHub Desktop.
Save pradeepgatram/3403014 to your computer and use it in GitHub Desktop.
Random password generator
pwd = ""; 5.times {|i| pwd += (rand(26)+97).chr};pwd += "." + rand(100000).to_s
@pradeepgatram
Copy link
Author

format aaaaa.nnnnnn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment