key | value |
---|---|
Name | akichim |
Qiita | akichim21 |
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
conda create -n py2 python=2.7 numpy scipy matplotlib pandas pil ipython scikit-learn jupyter | |
conda create -n py3 python=3.5.1 numpy scipy matplotlib pandas pil ipython scikit-learn jupyter |
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
gem install rails | |
git init line-bot-api | |
rails new line-bot-api | |
cd line-bot-api | |
bundle install --without production | |
curl https://toolbelt.heroku.com/install.sh | sh | |
echo 'PATH="/usr/local/heroku/bin:$PATH"' >> ~/.bashrc |
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
void GameScene::main { | |
CCHttpRequest* request = newCCHttpRequest(); | |
request->setUrl("http://sample.com"); | |
request->setRequestType(CCHttpRequest::kHttpGet); | |
request->setResponseCallback(this, callfuncND_selector(GameScene::onHttpRequestCompleted)); | |
request->setTag("GET sample"); | |
CCHttpClient::getInstance()->send(request); |