Archive for September, 2007

Health: Plan an Ergonomic WorkstationLifehacker

Saturday, September 22nd, 2007

workstation.png
What does your optimum ergonomic workstation look like? Ergonomic product company Ergotron offers an installation tool to figure out just that. Just click your height and various values are displayed; sitting eye height, standing elbow height, seat height, etc. Using this made me instantly aware of how screwed up my sitting system (such as it is) really is—and why I have such a backache.

Workstation Intallation Tool [Ergotron via Steve Olsen]

How to get number of CPU on Solaris?

Thursday, September 20th, 2007

Here’s a quick way to find out what hardware is installed in your Solaris system:

    $ /usr/platform/`uname -i`/sbin/prtdiag

Source: [www.lifeaftercoffee.com]

Ask The Readers: Best Firefox userchrome.css Tweaks?Lifehacker

Thursday, September 20th, 2007

ff-logo-small.png
Just as extensions add functionality and about:config tweaks change behavior, you can style Firefox's "chrome" using the userchrome.css file. The chrome includes menus, toolbars, tabs, and the address bar—all the outer control area in Firefox—and web developers know that CSS sets colors, sizes, visibility and more. We've already covered how to consolidate Firefox's chrome with style tweaks, but there are still lots of possible ways to change the fox's appearance with userchrome.css. Here's a compilation of my favorite userchrome.css tweaks—add yours in the comments.

/* * Do not remove the @namespace line -- it's required for correct functioning */ /* set default namespace to XUL */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* Remove Edit menu (if you already use all the keyboard shortcuts) */
#helpMenu, #edit-menu { display: none !important; }

/* Remove Back button when there's nothing to go Back to */
#back-button[disabled="true"] { display: none; }

/* Remove Forward button when there's nothing to go Forward to */
#forward-button[disabled="true"] { display: none; }

/* Remove Stop button when there's nothing to Stop */
#stop-button[disabled="true"] { display: none; }

/* Remove Home button (never use it) */
#home-button { display: none; }

/* Remove Go button from address bar */
#go-button-stack, .search-go-button-stack { display: none !important; }

/*Remove magnifying glass button from search box*/
.search-go-button-stack { display: none !important; }

/* Eliminate the throbber and its annoying movement: */
#throbber-box { display: none !important; }

/* Show keyword input box when adding a bookmark */
#keywordRow { display: -moz-grid-line !important; }

/* Make the active tab wider */
tab[selected="true"] { min-width: 200px !important; }

Thanks to TheQwerty for my latest addition, the last few lines, which makes the active tab wider than background tabs.

For more on how to edit userchrome.css, see our previous post on consolidating Firefox's chrome. What else have you hand-added to your chrome style? Let us know in the comments.

How to create a sparse file on UNIX.

Tuesday, September 18th, 2007

To create a sparse file on UNIX use following command line:

$ dd if=/dev/zero of=<file name> bs=<block size> count=1 seek=<position>

The result of the command line is a file named ‘<file name>’ of a size ‘(position+1)*block size’.

Cooking: Turn a $5 Steak into a $50 SteakLifehacker

Saturday, September 15th, 2007

steak.png
Those of us on a quest for that perfect steak will appreciate cooking blog Steamy Kitchen's tutorial on how to transform the mediocre into the marvelous. Apparently, it's all about the salt, salt and even more salt (don't worry, most of it comes out). I'm willing to try anything within reason to get my steak just right, so this recipe is going on this weekend's menu. If you've got a secret tip for the Best Steak Ever, please share in the comments.

How to Turn Cheap "Choice" Steaks into Gucci "Prime" Steaks [Jaden's Steamy Kitchen]