2012-01-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

railsをwindowsでうごかく

初期セットアップは、こちらを参考に実行。 「railsinstaller」(ver.2.1.0)を使うと、windowsでも楽にセットアップができた。 http://thinkit.co.jp/story/2012/06/21/3594ただし、Railsのサーバーを立ち上げるときに以下のエラーがでるので、下の手順で解決…

facebook app

facebook sample ibmhttp://www.ibm.com/developerworks/jp/java/library/j-fb-gae/#download