View cap
#!/bin/sh
scrot -s -e 'cloudapp $f; rm $f'
View gist:5558485
ken = 'けん'
prefixes = %w(さん くん ちゃん)
loop do
prefix = prefixes.sample
break if ken.size + prefix.size >= 140
ken << prefix
end
puts ken + ''
View gist:2641479
require "open-uri"
urls = %w(
http://pastebin.com/raw.php?i=Kc9ng18h
http://pastebin.com/raw.php?i=vCMndK2L
http://pastebin.com/raw.php?i=JdQkuYwG
http://pastebin.com/raw.php?i=fw43srjY
)
passwords = Hash.new{|h, k| h[k] = Array.new}