Skip to content

Instantly share code, notes, and snippets.

@yu-tang
yu-tang / vanillaforums-ja_Garden
Created June 21, 2011 08:47
vanillaforums-ja の Garden リポジトリ作成手順
vanillaforums-ja の Garden リポジトリ作成手順
===============
以下、基本的には Windows 版の Git Bash 上での操作を前提とします。
`git push` の対象を現在のブランチのみに限定するため、以下の設定を行っておくことを推奨します。
git config --global push.default tracking
参考:[見えないチカラ: 【翻訳】あなたの知らないGit Tips](http://keijinsonyaban.blogspot.com/2010/11/git-tips.html "見えないチカラ: 【翻訳】あなたの知らないGit Tips")
@honda0510
honda0510 / gist:1008613
Created June 5, 2011 03:23
Linux コマンド
ファイル内検索
grep -R -n foo .
ファイル名検索
find -type f -name *bar*
@honda0510
honda0510 / gist:974035
Created May 16, 2011 07:21
gedit プラグイン
Advanced Editing
http://live.gnome.org/Gedit/AdvancedEditingPlugin
Edit Shortcuts
http://empty.23inch.de/pmwiki.php/Main/EditShortcuts
Regex Search and Replace
TabSwitch
@honda0510
honda0510 / gist:865497
Created March 11, 2011 05:38
PHPメモ
// 全ての定義済の変数を表示する
exit( var_dump( get_defined_vars() ) );
// 全ての定義済みの定数の名前と値を表示する
exit( var_dump( get_defined_constants(true) ) );
// スーパーグローバル変数を表示する
phpinfo(INFO_VARIABLES);
@honda0510
honda0510 / gist:854188
Created March 4, 2011 04:54
お気に入りのFirefoxアドオン
KeySnail
Copy Fixer
FireGestures
IE Tab 2