# HG changeset patch # User edogawaconan # Date 1377507078 -32400 # Node ID 8956a404dba64c689b75ea9dff3cc7706266e3ee # Parent be8a91c2fd642ccadb374f370720e1e3454d65ed Added random password generator. diff -r be8a91c2fd64 -r 8956a404dba6 bin/pwgen --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/pwgen Mon Aug 26 17:51:18 2013 +0900 @@ -0,0 +1,7 @@ +#!/usr/bin/env ruby + +require 'securerandom' + +5.times do |n| + puts "#{n}: #{SecureRandom.urlsafe_base64(12)}" +end