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
yuichi@yuichi-ws:~/truffleruby/graalvm-0.29> jre/languages/ruby/bin/ruby -v | |
truffleruby 0.29, like ruby 2.3.3 <Java HotSpot(TM) 64-Bit Server VM 1.8.0_141-b15 with Graal> [linux-x86_64] |
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
authenticate :user, lambda { |u| u.admin? } do | |
mount Sidekiq::Web, at: 'sidekiq', as: :sidekiq | |
mount PgHero::Engine, at: 'pghero', as: :pghero | |
end |
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
# pubtra2freee | |
# Pubtraで抽出・エクスポートした交通系SF利用明細CSVをfreeeで読み込みやすいように加工するスクリプトやっつけ版。 | |
# | |
# License: Public Domain (Unlicense) | |
# | |
# 配置 | |
# pubtra2freee.rb | |
# 2015/ | |
# 01.csv ← pubtraで出力 | |
# 02.csv ← pubtraで出力 |
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
source 'http://api.berkshelf.com' | |
# from opscode-cookbooks | |
cookbook 'nodejs' | |
cookbook 'yum' | |
cookbook 'mysql' | |
cookbook 'memcached' | |
# from GitHub | |
cookbook 'rbenv', github: 'fnichol/chef-rbenv' | |
# User cook books | |
cookbook 'base', path: 'site-cookbooks/base' |
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
# vi /etc/init.d/god | |
# mkdir /etc/god | |
# vi /etc/god/mt.god | |
# vi /etc/god/mt-task.god | |
# service god start | |
/usr/local/rbenv/shims/god -l /var/log/god.log -P /var/run/god.pid | |
god: loading /etc/god/mt.god ... | |
Sending 'load' command with action 'leave' | |
The following tasks were affected: |