Many readers of my post on booking tatkal tickets with Firefox's autofill forms extension have reported that IRCTC has now disabled right clicks. Not only does this hamper saving the form, it is also very annoying. I've found a workaround for this. After you fill in the form do not …
What PQWL means on a railway ticket
PQWL is one of the many Waiting List types that appear on reservation tickets. Practically speaking this is a Waiting List. Technically, there's a difference between PQWL, CKWL, GNWL etc. The total seats available for reservation on a train are divided among different quotas. There's the ladies quota, tatkal quota …
CKWL status
I get a lot of queries regarding ckwl status. These involve questions like - "I got a tatkal ticket of WL 17 in sleeper on train 2833. Today is 24th Feb 2010. and my train is on 26th Feb.? Total tatkal seats is 229. Is it likely to be confirmed?"
It's …
Identify visits from Google Real time search
Recently Google released its real time search feature. If you want to figure out from your Apache access logs which results are coming from the Google real time search, then you have to look at the referrer field. The Google search referrer url will have a param tbs=rltm in …
How to programmatically create and log in drupal users
Creating a new user is very easy in Drupal 6. Here's how.[sourcecode language="php"]>
$new_user = array(
'name' => $username,'mail' => $mail,'pass' => user_password(),'status' => 1,'auth_MODULENAME' => $username)$user = user_save(NULL,$new_user)
// log the user in
$user = user_authenticate($new_user)
[/sourcecode]
Now for the explanation. We create a $new_user array with values …
Helen Fry - Dilbert strip February 16, 2010
How to dump or export all the table definitions in a MySQL database
So you have a database with loads of tables. You want the table definitions of all of them. You don't really need the data. mysqldump to the rescue!
[sourcecode]mysqldump -u USERNAME --password=PASSWORD --no-data --opt DB1 > DUMPFILE[/sourcecode]
That's it! Easy as a pie :) The key here is the …
How I recovered my Thunderbird mail from backup
So the best way to backup your mails from Thunderbird is to copy your complete profile directory. Follow these steps for restoring your mail.
The fool that I am, instead of copying the full profile directory I ended up backing up just the Mail subdirectory in the profile directory. It …
Techcrunch site "hacked"
Some content below may not be safe for work (wink wink) :D
So TechCrunch got broken into/"hacked"/cracked. Apparently because someone was pissed off by the ads shown. Heh heh.
So here's a screenshot before they fix things.
[caption id="attachment_251" align="alignnone" width="150" caption="TechCrunch hacked"]
[/caption …
Firebug opens automatically for all pages
Faced this bizzare issue today in Firefox. Firebug was opening automatically for all pages. Even on closing firebug, all I had to do was click on a new link in the same tab for it to appear again. This happened for all tabs.
Turns out I had accidently turned on …