Monthly Archives: September 2007

Inevitable (Random Musings #24)

They say, “If you love someone way too much in this life, God takes them away from you, and grants them to you in the life hereafter“. I can only identify with the former.

Unquote HTML-quoted strings in Python

I wasted a lot of time looking for something in Python to decode (if that is the right word, otherwise, unquote) HTML-quoted strings such as those you get back as form values. Despite using the module “urllib“ to retrieve the form values in the first place, I was not aware of the set of [...]

SVN: Relocating repository URLs with svn switch –relocate

You are using subversion (svn) for version control for a web-based software project you are doing. Your svn server is hosted on your laptop behind a DSL with a dynamically allocated IP address. You checkout the head revision on a live server one day, make changes in a few files on the server, [...]

Of road accidents and humping cars from behind.

I seem to be having a go at humping cars from behind on roads since the past month.
Last month when I rammed my car head straight into another’s, it was not only the car that got hurt, but the ego suffered too. In three years of active driving, I had kept a clean sheet: [...]

[Fix] BASH overwriting long command-lines

This is a quick post.
If you find your BASH shell overwriting/over-wrapping large command-lines, then setting the following in your .bashrc file will take care of it:
shopt -s checkwinsize

Dead phone line … Dialup … Connection timed out!

Last login: Sun Aug 26 22:38:09 2007 from 192.168.1.4
Linux 2.4.33.3.
ayaz@laptop:$ date
Sun Sep 2 13:12:30 PKT 2007
Woah! That is scary. I hadn’t logged into my Slackware boxen at home in a week. Eek! There had not been a day I had not logged into that box in the last four years. [...]