2012-11-01から1ヶ月間の記事一覧

emacs

unix系の時M-x replace-string (RET) 置換対象文字列 (RET) 置換文字列 C-q C-j (RET)DOS(Windows)系の時M-x replace-string (RET) 置換対象文字列 (RET) 置換文字列 C-q C-m C-q C-j (RET)

heroku

git remote add heroku git@heroku.com:fathomless-mountain-1158.git git push heroku master heroku open heroku logs

sinatra http://grow.pe/dojo/tips/show/id/41emacsでタブをスペースに変換 1.まずは置き換えたい範囲を選択します。(全選択ならctrl + x 押して h)2.esc + x して、untabifyと打つとタブがスペースに変換されます。

heroku

Gemfile gem 'sqlite3', groups: %w(test development), require:false gem 'pg', groups: %w(production), require: falseローカルでのbundle installでは、productionを除く bundle install --without productionhttp://d.hatena.ne.jp/stellaqua/20080919…

ubuntuにrubyをインストール

http://www.oiax.jp/rails/zakkan/rails_3_2_installation_on_ubuntu.html