annotate bin/pwgen @ 492:0c2d6458248e

Add cronic.
author edogawaconan <me@myconan.net>
date Fri, 08 Nov 2013 17:56:37 +0900
parents 8956a404dba6
children fea77cdcdb09
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
478
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 #!/usr/bin/env ruby
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 require 'securerandom'
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
4
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 5.times do |n|
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 puts "#{n}: #{SecureRandom.urlsafe_base64(12)}"
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 end