Thursday, April 24, 2014

How to Jump Start a Car - A Checklist

There are tons of great resources for jump starting a car on the Internet, but I needed a very short aviator-style checklist I could keep bookmarked on my phone.  This is that list.

Jump Start Procedure
  1. Both vehicles - OFF
  2. Red cable to positive terminal of dead battery - CONNECTED
  3. Red cable to positive terminal of good battery - CONNECTED
  4. Black cable to negative terminal of dead battery - CONNECTED
  5. Black cable to frame or engine block of dead vehicle - CONNECTED
  6. Good vehicle - START
  7. Wait 3 minutes
  8. Dead vehicle - START
  9. Black cable to dead vehicle - DISCONNECTED
  10. Black cable to good vehicle - DISCONNECTED
  11. Red cable to good vehicle - DISCONNECTED
  12. Red cable to good vehicle - DISCONNECTED

Sunday, January 1, 2012

Broken Streams - Getting & Premium to work with Logitech SqueezeNetwork

So I was getting ready for my New Year's Eve celebration and thought I'd get the beats going on, which I've been playing through SqueezeNetwork for years...But not this time, evidently.  After pressing play and getting "401 AUTHORIZATION REQUIRED" I knew that some quick hacking was in order if I was going to have any tunes for the evening.  Here's what I found:

When APIs aren't forever...

AudioAddict has changed the way their HTTP API works for playback -- most notably, instead of using your "access" username & password in the URL as before, each account now has a "listen key" that needs to be passed on the stream URL, as shown in the following example of streaming the high quality Trance channel:

Old format:

New format:

Of course, you'll need to replace the text your_listen_key_here with your actual listen key, which can be downloaded from


I'm pretty sure this completely breaks Logitech's SqueezeNetwork "Apps", since the channels seem to rely on the old username/password style URLs.  And from other posts on the Logitech forums, I have no idea if/when this will be fixed.

But there's a workaround...

Get this party started!

Fortunately, SqeezeNetwork lets you set up Favorites, and you can edit your favorite stream URLs to use the new format.  I did exactly that and the tunes came flowing out.

Hope this works for you too.  Happy streaming...and Happy New Year!

Wednesday, September 21, 2011

Google Chrome stops working on RHEL 6 after upgrading to v14

After updating Google Chrome to version 14 on my RHEL 6 installation, I was unable to get the browser to launch.  The exact output was something like this:

$ google-chrome
/usr/bin/google-chrome: /lib/ no version information available (required by /usr/bin/google-chrome)
/usr/bin/google-chrome: /lib/ no version information available (required by /usr/bin/google-chrome)
/opt/google/chrome/chrome: /lib/ no version information available (required by /opt/google/chrome/chrome)
/opt/google/chrome/chrome: /lib/ no version information available (required by /opt/google/chrome/chrome)
/opt/google/chrome/chrome: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied

So, it turns out that SELinux policy is preventing the relocation attempt.  Until Red Hat adds this to the distribution, I was able to resolve this by creating a Chrome-specific policy and apply it using audit2allow as described here and here.

Would have been great to see this in the release notes...