Skip to content

Instantly share code, notes, and snippets.

View tatzyr's full-sized avatar
🍹

Tatsuya Otsuka tatzyr

🍹
View GitHub Profile
@tatzyr
tatzyr / loadsleep
Created March 20, 2017 12:07
loadaverage sleep
#!/usr/bin/env ruby
require "optparse"
opts = ARGV.getopts("", "minutes:5", "load:", "help", "version")
if opts["help"]
puts <<EOS
loadsleep
rand(0x10000000000000000000000000000).to_s(32).tr('0-9a-z', 'A-Z2-7').rjust(23, 'A')