Skip to content

Instantly share code, notes, and snippets.

@kaityo256
Created July 14, 2015 05:38
Show Gist options
  • Save kaityo256/20256aefb6cdbda186a6 to your computer and use it in GitHub Desktop.
Save kaityo256/20256aefb6cdbda186a6 to your computer and use it in GitHub Desktop.
mkpasswd の使う文字種を列挙
h = Hash.new
1000.times{
`mkpasswd`.split(//).each{|s|
h[s] = true
}
}
h.sort.each{|key,value|
print key
}
puts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment