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
$ whenever --update-crontab |
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
$ rbenv install -l |
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
/kuchikomis/1234/good_kuchikomi_tab#good_kuchikomi1234 |
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
$ apachectl -v | |
Server version: Apache/2.4.9 (Unix) | |
Server built: Sep 9 2014 14:48:20 |
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 'https://rubygems.org'↲ | |
ruby '2.1.5'↲ | |
# rails | |
gem 'rails', '4.1.8' | |
gem 'grape' | |
# db | |
gem 'sqlite', group: :development |
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
$ heroku run:detached rake db:migrate --app $APP_NAME | |
-bash: heroku: command not found |
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
class Maker < ActiveRecord::Base | |
has_many :products | |
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
module ErrorHandlers | |
extend ActiveSupport::Concern | |
included do | |
rescue_from Exception, with: :rescue500 | |
rescue_from ApplicationController::Forbidden, with: :rescue403 | |
rescue_from ApplicationController::IpAddressRejected, with: :rescue403 | |
rescue_from ActionController::RoutingError, with: :rescue404 | |
rescue_from ActiveRecord::RecordNotFound, with: :rescue404 | |
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
<?php | |
App::uses('Component', 'Controller'); | |
class AsagohanComponent extends Component { | |
const BURNER_ACCESSKEY = "hidarihajinaraok"; | |
const BURNER_SECRETKEY = "jikkurimawasu"; | |
const BURNER_REGION = "hidarihaji"; | |
private $_ochawan; |
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
<?php | |
App::uses('Shell', 'Console'); | |
class AppShell extends Shell { | |
} |