Sunday, September 23, 2012
Searching symbol within file name
Search symbol within file name
filename:"&" OR filename:"~" OR filename:"`" OR filename:"!" OR filename:"@" OR filename:"#" OR filename:"$" OR filename:"%" OR filename:"^"
Wednesday, August 22, 2012
New Google Analytics Code
Here are new google analytics code, just change 'UA-15xxx11-x' with your GA ID
Tuesday, July 3, 2012
PHP Tips and Tricks
Remove leading zero '0030' => '30' :
$var = '0030'; $num = (int)$var;
Execute external program : source
Exec($runCommand)->StdOut->ReadAll; echo "Other script for executing external program link1 link2$output
"; ?>
Get basepath : source
/dev/null &`; } else //windowz { $WshShell = new COM("WScript.Shell"); $oExec = $WshShell->Run($runCommand, 7, false); } ?>
JQuery tips and tricks
Show or hide element with radio button
Scenario : when i click 'j3' (radio button), 'kodesuratkeluar' will show up.. when i select others it will hide
Scenario : when i click 'j3' (radio button), 'kodesuratkeluar' will show up.. when i select others it will hide
$('input[name="jenissurat_id"]').change(function() { if ($('#j3:checked').length) $('#kodesuratkeluar').show(); else $('#kodesuratkeluar').hide(); });
Subscribe to:
Posts (Atom)