2011-11-01から1ヶ月間の記事一覧
コードをsubversionで管理しているけれど、httpd.confみたいなサーバに固有の設定ファイルを修正したあとコミットしたくないときがある。 それに相当する機能はtortoisesvnについてるignore-on-commitという機能なんだけど、普通のsubversionでそれを実現す…
.gitignoreに無視ファイルを追加したのに、その指定がうまく反映されないとき…caching - Ignore files that have already been committed to a Git repository - Stack Overflowインデックスを一度削除してから再pushする。 git rm -r --cached . git add . …
OmniAuthのmixiストラテジがおかしかったので修正したのです。 http://d.hatena.ne.jp/hosopy/20111014/1318596206 ↑の方の修正を勝手ながら取り込ませて頂きました。 事後報告になってしまいすいません! > id:hosopy 以下バグフィックスをpull requestする…
Submit test via vim. I use https://github.com/motemen/hatena-vim .
config/api_key.ymlで認証キーを管理して、これをグローバルな定数として使い回したいとする。 consumer_secret : 'xxxxxxxx' consumer_key : 'xxxxxxxxxxxxxx'railsは起動時にconfig/initializers/以下においたファイルをロードする。 よってconfig/initial…