2009-08-21から1日間の記事一覧
$ touch file1.txt $ git add file1.txt $ git commit -m 'test commit.'
既に追加したファイルをコミットする場合も、git add する点に注意。 $ echo 1 >> file1.txt $ git add file1.txt $ git commit -m 'second commit.'
git status で変更箇所が表示される。 git add していないファイルは "Changed but no updated:" として表示される。 $ echo 1 >> file1.txt $ git status # On branch master # Changed but not updated: # (use "git add <file>..." to update what will be comm</file>…
環境 CakePHP 1.2 問題 CakePHP で LIKE 検索したい。 解決方法 CakePHP 1.2 では 1.1 以前と書き方が違うので注意。 ModelName->find('all', array( 'conditions' => array( "field_name LIKE" => "%{$this->data['ModelName']['field_name']}%", ), )); $t…
ユーザー名の近くに以下のリンクを追加する Firefox Greasemonkey スクリプト。 最近の日記 最近のコメント // ==UserScript== // @name mixi_user_link_plus // @namespace http://example.com // @include http://mixi.jp/show_log.pl* // @include http:/…