Entries from 2014-03-01 to 1 month

さくらレンタルサーバ(VPNではない)でsinatra(辞めた方がいいです)

http://yatmsu.hatenablog.com/entry/20090512/1242088451 http://d.hatena.ne.jp/syou6162/20100303/1267589211 http://blog.katsuma.tv/2012/02/sinatra_on_sakura.html http://krakenbeal.blogspot.jp/2012/04/vim-emacs-git.html国外IPアドレスフィルタ …

Hosting

http://1-byte.jp/2011/01/28/cheap_virtual_servers/Heroku sqaleロリポップ http://lolipop.jp/service/about/さくらレンタル http://www.sakura.ne.jp/さくらVPN http://vps.sakura.ad.jp/specification.htmlGMO http://sabahikaku.com/gmocvps.php http:…

さくらインターネット パス PATH設定 bash ssh rvm rbenv 注意

「さくらインターネット」もの凄く古くさい!!ビックリ普通の(Debian/Ubuntu系のサーバ)場合はrbenv, ruby-build を github からとって: $ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv $ mkdir -p ~/.rbenv/plugins $ git clone https…

YConnect

http://mikanmarusan.hatenablog.com/entry/20130305/1362439681 https://github.com/intridea/omniauth-oauth2 https://github.com/yamitake/omniauth-yconnect http://oauth.jp/blog/2013/01/23/oauth-20-core-bearer-spec-rfc-rfc-6749-rfc-67/ https://r…

forman sqale

http://bugsrock.com/blog/2013/02/27/heroku-%E7%94%A8%E3%81%AE-facebook-template-%E3%82%92-Sqale-%E3%81%A6%E3%82%99%E5%8B%95%E3%81%8B%E3%81%99/

Heroku PHP

herokuにPHP http://qiita.com/ikedahidenori/items/60960a999fe4fe24eeef http://sutara79.hatenablog.com/entry/2013/10/13/081404 heroku create -s cedar -b git://github.com/heroku/heroku-buildpack-php.git appName デプロイ後の文字化け関係 http:/…

heroku Using with Padrino

https://devcenter.heroku.com/articles/traceview#using-with-padrino

Herokuでバックグランドjob background job

http://code.lancepollard.com/how-to-run-background-jobs-on-heroku-for-free

rubyからphpを動かす

http://selfkleptomaniac.org/archives/1102

YConnect デベロッパーネットワーク

http://mikanmarusan.hatenablog.com/entry/20130305/1362439681 http://developer.yahoo.co.jp/sitemap/ http://himaratsu.hatenablog.com/entry/objc/yconnect_implicit

複数Herokuアカウント 公開鍵作成 key "Your account someoneelse@email.com does not have access to" "No such account:someoneelse@email.com" 別のアカウント

http://d.hatena.ne.jp/mercystage/20130501/1367397215 http://www.ownway.info/Ruby/index.php?heroku%2Fhow%2Fmanagement%2Faccount http://journal.sooey.com/162http://www.ownway.info/Ruby/index.php?heroku%2Fhow%2Fmanagement%2Faccount http://d.h…

herokuコマンドで複数アカウントを使いわける

http://www.ownway.info/Ruby/index.php?heroku%2Fhow%2Fmanagement%2Faccount http://d.hatena.ne.jp/mercystage/20130501/1367397215 http://d.hatena.ne.jp/ayumuaizawa/20120120 http://blog.livedoor.jp/maru_tak/archives/51251021.html http://journa…

Herokuにデプロイする

先ずGit $ git init $ git add . $ git commit -m "first commit"$ heroku create AppName $ git push heroku master$ heroku logs $ heroku apps:rename newname (--app oldname) $ heroku stack --app AppName - $ heroku login/out$ heroku accounts:add …

Capistrano3 rbenv example 例

http://yss44.hatenablog.com/entry/2013/12/01/150215 https://semaphoreapp.com/blog/2013/11/26/capistrano-3-upgrade-guide.html http://capistranorb.com/documentation/getting-started/preparing-your-application/

ubuntu rbenv ruby インストール&使い方

apt-get のパッケージリストを更新、及び既存パッケージをアップグレード sudo apt-get update必要なパッケージをインストール sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-devrbenv をインストール git clone git://github.co…

git clone vs checkout vs pull

http://blog.mikepearce.net/2010/05/18/the-difference-between-git-pull-git-fetch-and-git-clone-and-git-rebase/ http://qiita.com/ota42y/items/e082d64f3f8b424e9b7d http://qiita.com/osamu1203/items/cb94ef9da02e1ec3e921 http://stackoverflow.com…

ubuntu rbenv ruby インストール

apt-get のパッケージリストを更新、及び既存パッケージをアップグレード sudo apt-get update必要なパッケージをインストール sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-devrbenv をインストール git clone git://github.co…

Git 流れ やり直し 削除

サーバ[server]$ mkdir repos.git [server]$ cd repos.git [server]$ git --bare init --shareクライアントローカルレポジトリを作り変更を繰り返す [local]$ git init [local]$ git add . [local]$ git commit または纏めて [local]$ git commit -aリモート…

git push clone add commit diff fetch違い

http://stackoverflow.com/questions/2745076/what-is-the-difference-between-git-commit-and-git-push

sinatra get http headers 変数

http://stackoverflow.com/questions/4014996/how-to-dump-an-http-request-from-within-sinatra # app running on http://example.com/example get '/foo' do request.body # request body sent by the client (see below) request.scheme # "http" request…

基本:app.rb,config.ru,Gemfile : development mode, auto-reload,bundle exec rackup, custom port

#app.rb class SinatraExample enable :inline_templates configure :development do register Sinatra::Reloader end get '/' do @greetingWords="Hello hey ok Sinatara!" erb :index end end__END__@@ index SinatraSample サーバからのMessage - #config…

Sinatraの自動リロード, オートリロード ,reload

中国からアクセスできません http://inmonochrome.blogspot.hk/2012/05/sinatra-1.html http://inmonochrome.blogspot.jp/2012/05/sinatra-2.htmlhttp://zakuni.blogspot.hk/2012/07/sinatra.htmlhttp://d.hatena.ne.jp/shokai/20100423/1272009141. ├── con…

XChat , Xpra

http://en.wikipedia.org/wiki/XChat http://en.wikipedia.org/wiki/Xpra

rbenv for deploy and production server

フレッシュ・インストールの方法 https://github.com/sstephenson/rbenv/#installationRVMからの乗り換えについて http://nicknotfound.com/2013/03/21/switching-from-rvm-to-rbenv-on-a-production-server/ http://airbladesoftware.com/notes/rbenv-in-pr…

sinatra, inline __END__,shotgun,server,port,host,rackupを使うときの注意

http://thedersen.com/blog/2010/08/23/shotgun/ http://stackoverflow.com/questions/12559500/how-to-make-thin-run-on-a-different-port http://stackoverflow.com/questions/15639998/sinatra-via-rackup-does-not-like-inline-templates https://github…

Could not find a JavaScript runtime

sudo apt-get install nodejs

Gitリモートリポジトリ構築

http://capm-network.com/?tag=Git%E3%83%AA%E3%83%A2%E3%83%BC%E3%83%88%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E6%A7%8B%E7%AF%89 - $:~/script/git_tutorial$ git push user@server's password: No refs in common and none specified; doing not…

Capistrano,Rack,bundlerとは

http://www.oiax.jp/rails/capistrano.htmlhttp://route477.net/d/?date=20080716 http://gihyo.jp/dev/serial/01/ruby/0023 http://d.hatena.ne.jp/maeharin/20130108/p1http://qiita.com/znz/items/5471e5826fde29fa9a80 http://www.rubylife.jp/rails/ini…

rbenv,rvm,切り替え

http://passingloop.tumblr.com/post/10512902196/difference-between-rbenv-and-rvm http://ikeay.net/182 http://blog.happyelements.co.jp/2012/10/rbenv.html http://d.hatena.ne.jp/sandmark/20121122/1353625485 http://easyramble.com/change-ruby-ma…