Two Unrelated Things I Can’t Seem To Remember

Ok, I’ll admit it. Alcoholic beverages have killed a fair number of my brain cells. As a result I’m continually forgetting things (that’s my story and I’m sticking to it!). Any way, here are two completely unrelated things I’ve forgotten and have had to look up today. So I don’t forget them again, and so you, dear reader, don’t have to go looking too far for them, I’m putting them here:

How To: Redirect Errors From Standard Out to Nowhere (*nux)

Here’s how to get rid of those annoying error messages you really don’t care about when running a script (everybody’s got their own excuse for not wanting to see this type of thing, even though it can be handy now and again):

user@computer:~$ [command] [options] 2>&1

Stick “2>&1” at the end of your command string, that about covers it!!

How To: Launch Firefox With a Specific Chrome Interface (Windows)

Ever install a nifty little Mozilla Firefox extension and want to run it as a standalone program? Here’s how:

C:\Program Files\Mozilla Firefox>firefox.exe -chrome [chrome path]

Add the “-chrome” option to the firefox command, then add the chrome path after that. Here’s an example of how to launch the bookmarks manager as a standalone program:

C:\Program Files\Mozilla Firefox&gt;firefox.exe <strong>-chrome chrome://browser/content/bookmarks/bookmarksManager.xul</strong>

Enjoy!!


Leave a Reply