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

Is Blogging No Longer a Thing?

As I embark on my new journey to learn the Rust programming language, I find myself pondering—where have all the blogs gone? In search of pr...