Skip to content

Instantly share code, notes, and snippets.

@kangkyu
Last active August 29, 2015 14:14
Show Gist options
  • Save kangkyu/107e375ec32f4c937f27 to your computer and use it in GitHub Desktop.
Save kangkyu/107e375ec32f4c937f27 to your computer and use it in GitHub Desktop.
9 digit password generation
(0..9).to_a + ('a'..'z').to_a + ('A'..'Z').to_a + %w(! @ # $ % ^ & * < > ?)
a = _
a.shuffle.pop(9).join
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment