access with query : ?debug=1 ex. ttp://example.com/test.php?case=foo&debug=1 #CakePHP2
access with query : ?debug=1 ex. ttp://example.com/test.php?case=foo&debug=1 #CakePHP2
debug($var); ob_flush();
$ git reset HEAD^ $ git reset --mixed HEAD^ --hardはHEADとindexとWorking copyもリセットしますが、 --mixedはHEA...
{systemdrive}:\Users\{username}\.ssh\configを記述する ex) C:\Users\myname\.ssh\config ===== Host test ...
~/.ssh/configを記述する ===== Host test HostName test.org IdentityFile ~/.ssh/id_rsa...
ここにやり方が。 http://g-taki.com/wordpress/web/3301.html さらにここに圧縮済みのPharが。 https://github.com/netandre...
git rm -r --cached nbproject
ブラウザで以下の様にモジュールのアドミンを叩くと http://localhost/html/modules/achtungBaby/admin/index.php 以下コントローラーが叩か...
次のようなシェルスクリプトを使ってSSHで接続するだけ https://gist.github.com/2574455 USAGE システム環境設定>ネットワーク>詳細>プロキシ SOCKS...
下記のようにすれば記入例として表示されます。 <input type="search" name="q" placeholder="キーワードを入力"><br> &lt;in...
git submodule add し、別途、編集可能なリポジトリURLをremote addするとよい git submodule add git://github.com/mons...
.bashrcファイルを開いて 「alias v="/usr/bin/vim"」を追加して sourceコマンドで反映させる。 vim ~/.bashrc alias v="/usr/bin...
http://fb-news.jp/facebook/facebook_tab.html 上記の通り。facebookページの管理者でFBログイン後以下形式URLにアクセス。 https://w...
--depth 1 をつける git clone --depth 1 <repository> ただしこのリポジトリからpullしたりこのリポジトリへpushしたりができない #git
https://gist.github.com/2488671 #JavaScript
見ての通りです。 じつはデカイぞ、ぶんちゃん - 47NEWS(よんななニュース) http://www.47news.jp/topics/diary/2007/12/post_129.php
array_push()のほうがオーバーヘッドがある $array[] = 'foo'; // 1つだけ array_push($arra...
テーマ機能の使い方 <?php // app/Controller/AppController.php class AppController exte...
https://github.com/cakephp/debug_kit # app/Controller/AppController.php <?php cl...