家出た時間、会社ついた時間、会社出た時間、家ついた時間だけを登録するアプリ。
- ログインする
#!/usr/bin/env ruby | |
num = ARGV.first.to_i | |
nums1 = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'] | |
nums10 = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen'] | |
if num < 10 | |
puts nums1[num] | |
elsif 10 <= num && num < 20 |
#!/usr/bin/env ruby | |
num = ARGV[0].to_i | |
# header | |
header = 'A' | |
print ' ' | |
headers = [] | |
num.times do|i| | |
headers << ([header.bytes.to_a[0] + i]).pack('U*') |
build/* | |
*.pbxuser | |
!default.pbxuser | |
*.mode1v3 | |
!default.mode1v3 | |
*.mode2v3 | |
!default.mode2v3 | |
*.perspectivev3 | |
!default.perspectivev3 | |
*.xcworkspace |
人を勝手にメンターにするサービス。 #p4dhack
— PP worksさん (@ppworks) 4月 16, 2012
<script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
愛妻弁当食っているリア充を晒すサービス #p4dhack
— PP worksさん (@ppworks) 4月 16, 2012
<script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
家出た時間、会社ついた時間、会社出た時間、家ついた時間だけを登録するアプリ。 #p4dhack— PP worksさん (@ppworks)
module Roman | |
CHAR = "IVXLCDM" | |
def self.to_num n | |
return "" if n <= 0 || 5000 <= n | |
str = sprintf("%04d", n).reverse! | |
res = '' | |
4.times do|i| | |
res = "#{roman_char(str[i], i*2)}#{res}" | |
end | |
res |
heroku pgbackups:capture --expire --app welove SHARED_DATABASE (DATABASE_URL) ----backup---> b005 Pending... / Pending... |
やたら長いので、、、
Ctrl + C
see https://gist.github.com/721952
brew install https://raw.github.com/gist/721952/e99293dc36c9b5c27aec0a4024b848ce50b9b126/vim.rb --big