Skip to content

Instantly share code, notes, and snippets.

@zunda
zunda / cap
Last active August 29, 2015 14:13 — forked from wuputah/cap
#!/bin/sh
scrot -s -e 'cloudapp $f; rm $f'
ken = 'けん'
prefixes = %w(さん くん ちゃん)
loop do
prefix = prefixes.sample
break if ken.size + prefix.size >= 140
ken << prefix
end
puts ken + '…'
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}