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
function confirmPugyaa(msg,target){ | |
if(window.confirm(target + "さんに" + msg + "します。\nよろしいですか?\n")){ | |
return true; | |
}else{ | |
return false; | |
} | |
} |
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
hoge# ln -s /hoge/fuga/watshi ./watashi | |
もしくは | |
hoge# ln -s /hoge/fuga/watshi watashi | |
また、もし同じ名前でいいのなら、 | |
hoge# ln -s /hoge/fuga/watshi |
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
hoge# perl make_array_unique .pl | |
6 | |
2 | |
8 | |
4 | |
10 |
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
hoge% xcode-select --install |
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
$ yum install vsftpd |
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 { | |
} |
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
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
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
$ heroku run:detached rake db:migrate --app $APP_NAME | |
-bash: heroku: command not found |
OlderNewer