Keyconfig in Firefox

I am always on the look out for tools and techniques to reduce the number of clicks and typing. Keyconfig + functions for keyconfig add-ons are essential for any power user that wants to increase their productivity.

A note regarding functions for keyconfig add-on: As of this post it can’t be installed in Firefox w/o forcing compatibility. Go here to learn how.

If you are not using Keyconfig add-on in Firefox, you are really missing a lot. It’s a great time saver and makes you navigate your way around in Firefox much quicker.

Below are the keyboard shortcuts that I use in Firefox, thanks to keyconfig.

ActionKeyboard ShortcutCode
New tabtBrowserOpenTab();
Close tabcBrowserCloseTabOrWindow()
Prev tabaf4kc_PrevTab();
Next tabsf4kc_NextTab();
Go backzBrowserHandleBackspace();
Go ForwardxrowserForward();
Copy URLuf4kc_CopyCurrentURI();
Inspect using Firebugiif (!FirebugContext) Firebug.toggleBar(true); Firebug.Inspector.toggleInspecting(FirebugContext)
View sourcevBrowserViewSourceOfDocument(content.document);
Reloadrif (event.shiftKey) BrowserReloadSkipCache(); else BrowserReload()
Bookmark in DeliciousdyAddBookMark.open();
Toggle bookmarks toolbar on and offbgoToggleToolbar('PersonalToolbar','');
Options windowoLocal_Install.openPreferences();
add-ons (extensions) windoweLocal_Install.openManager('extensions', false);
Focus search boxkBrowserSearch.webSearch();
Focus address (location) barlopenLocation();
Page Info windowpf4kc_PageInfo();
Ctrl+Tab`ctrlTab.open();
ctrlTab.pick();

The developer, dorando is super responsive and replies to all user queries posted in the Keyconfig forum thread.

Posted in Software | Tagged , , | View Comments

Independence Day Celebration Photos

2010-08-15 Independence Day

Posted in Personal | View Comments

How To Display Just the Sticky Post on Front Page in WordPress

Scenario

Settings -> Reading: Front page is set to display latest blog posts.

Blog pages show at most set to 1

When sticky post is the latest

In this case, only the sticky post is shown on the front page just like how we want.

When there are other published posts newer than the sticky post

In this case, 2 posts will be shown on the blog’s front page: the sticky post at the top and the latest post below it.

Solution

To fix this and have only the sticky post show up, add the following above the if/while statement that’s used to check the existence of posts (just above the loop) in index.php:

$sticky = get_option( 'sticky_posts' );
query_posts( array( 'post__in' => $sticky, 'caller_get_posts' => 1, 'orderby' => ID, 'showposts' => 2 ) );
?>

Screenshot

Source: http://wptricks.net/display-a-sticky-post-only/

Posted in WordPress | Tagged | View Comments

Builder Child Theme – White

I have made slight modifications to the default Builder child theme so it looks clean w/o the grays. Also removed the top & bottom borders and bottom margin for .builder-module.

Screenshot:

Download:

  BuilderChild-White (22.5 KiB, 68 hits)

Posted in Builder | Tagged | View Comments