Friday, February 21, 2014

OpenOffice keeps showing the restoring window in OSX


If your OpenOffice just keeps showing the restoring window / reopen document window in OSX:




Simply remove all the contents in the following directory:

/Users/<user name>/Library/Saved Application State/org.openoffice.script.savedState

Horrible implementation...

Tuesday, February 18, 2014

Check httpd.conf syntax

Simply run the following command:

httpd -t

It will shows "Syntax OK" if your httpd.conf works.

Sync multiple git repo at once

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