This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
scrot -s -e 'cloudapp $f; rm $f' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ken = 'けん' | |
prefixes = %w(さん くん ちゃん) | |
loop do | |
prefix = prefixes.sample | |
break if ken.size + prefix.size >= 140 | |
ken << prefix | |
end | |
puts ken + '…' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |