Tutorial

Gmail Tip

KarmaDude Mar 23, 2007 Add comment

GmailThe keyboard shortcut for deleting a message is # (Shift + 3). To delete multiple messages, select the messages and use the keyboard shortcut. via DI

If you want to tag the message as spam then the keyboard shortcut is ! (Shift + 1)

Now while trying this out for the first time in Firefox, I hit Ctrl + 3 by mistake, and it turned out to be a Firefox shortcut to select the third tab. So in Windows you can select a particular Firefox tab [1 to 9], by using Ctrl + [1 - 9]

Slider Navigation

KarmaDude Mar 9, 2007 4 Comments

The Slider WordPress Theme uses a sliding navigation, created with jQuery. The state of the navigation is maintained using cookies. If you would like to reuse this navigation, here are the requirements and steps to make it happen:

Demo | Download
(more…)

Trac: Automatic Login Hack

KarmaDude Feb 26, 2007 Add comment

TracBy default Trac login is set to expire at the end of a session. This means that every time you reopen the browser, you have to re-login to Trac. This can be annoying if you are a regular Trac user.

So to fix this, you will have to set a future expiry date for the trac_auth cookie. Here are the steps:

  1. Open auth.py file. This file can be found under your Trac installations web folder.
  2. Find line containing following code (about line 149 for Trac v0.10.3)req.outcookie['trac_auth']['path'] = req.href()
  3. Insert after the following line. Here I have set the expiry date to a date 20 years from the current date. req.outcookie['trac_auth']['expires'] = 3600*24*365*20
  4. Open your Trac page in your browser, and login. From now you will be automatically logged into to Trac.

This is a change to the core source, so be sure to keep track of this change whenever you upgrade Trac.

Wordpress flickr link quicktag

KarmaDude Sep 15, 2006 3 Comments

flickr quicktag
Here is the code to add a handy flickr link quicktag to your Wordpress post editor.

Sample:
This is what a link generated by the flickr quicktag to my flickr page looks like: flickr: Karmadude on flickr
(more…)

Tutorial Rounup

KarmaDude Sep 10, 2006 Add comment

« Older Posts