annotate bin/pwgen @ 484:487e8d6b9081

Remove blank last line.
author edogawaconan <me@myconan.net>
date Fri, 01 Nov 2013 17:21:54 +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