I am collecting several useful mercurial tricks for me : – See diffs when committing in vim see : http://www.selenic.com/mercurial/wiki/index.cgi/DiffsInCommitMessageInVIM but instead of using the instruction as is, I have to modify the string a little bit to work in my mac: what I did is replacing : $EDITOR “$HGTMP/msg” “$HGTMP/diff” || exit $? with [...]
Monthly Archives: July 2008
Reminder to self. Never set the permission of the /
In a lapse of judgment, I set my hard drive permission to disable readonly for all user, except myself & admin (Using hard drive get info – sharing & permission ). The reasoning was because I can see my root when I enable wireless sharing. It turned out to be a very bad decision though, [...]
batch file rename in mac
I am missing batch renaming functionality that I used to have in windows -> “ren *.xxx *.xxx.orig” in my macbook. But using utility “mmv”, I finally can do the same in mac & windows. You can download the utility from here : http://www.joel.lopes-da-silva.com/articles/computer-science-technology/62-tips-tricks/79-mmv-under-mac-os-x-leopard-for-mac-intel.html some example usage : http://debaday.debian.net/2007/06/13/mmv-mass-moving-and-renaming-files/ Tags: macmmv linux batch rename