Wednesday, April 16, 2008

Enable Java assertion

Just a soft reminder in case I want to use Java assertion. Given a class Cls:

> java -ea:Cls Cls

The comment will execute Cls which assertion enabled.

Thursday, April 10, 2008

Remove system folder in windows explorer

Some program will create a system folder which could be viewed in your windows explorer. Sometimes when uninstalling the program, they cannot remove the system folder for you. To remove it, find those system folder are in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
\CurrentVersion\Explorer\MyComputer\NameSpace\

References are from technospot

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull