Saturday, June 28, 2008

VIM as a python IDE

Wow.. this is so coool.. Check it out at: http://blog.sontek.net/2008/05/11/python-with-a-modular-ide-vim/

Friday, June 13, 2008

Own versioning repo

SVN is great as a version control system if you have many developers and require a single point of authoritative reference point for everyone. But if you're working on your own, it could get cumbersome since for every project you'd have to set up a repo first and then you can commit stuff. What's easier, mercurial. How easy?

hg init
hg add *
hg commit -m "First commit"

And then the subsequent changes?

hg commit -m "Comment"

Need to browse the file changes and the like?

hg serve -n "Name of repo" -p 8091

-p is which port it'd run on localhost from. So the command above should be accessed at http://localhost:8091/. For more reference go to http://hgbook.red-bean.com/hgbook.html

Thursday, June 5, 2008

Using wget to browse offline

I used to do this all the time, but haven't done it for quite a while until I forgot how to do it. Luckily I found back the original reference here:
http://www.gnu.org/software/wget/manual/html_node/Very-Advanced-Usage.html and in summary the command that need to be run is:
wget -m -k -K -E http://www.gnu.org/ -o /home/me/weeklog

Haiya ala Solah