Archive for October, 2006

Inter-magical!

Sunday, October 29th, 2006

Ok, for any of you out there with an Intermatic SS7 lights timer (as described in this blog post) that has failed on you, fear not! For you, who is oh-so-lucky to find this post of mine, have discovered the solution!
So, anyways, what you want to do is release the 4 tabs that connect the front portion of the timer (out of the socket, of course). If you look at the front half (remove the PCB; it’s not glued or anything, just sitting there by tension). Do you notice those two tiny springs by where the battery tabs come in? Remove those, and replace them with tiny wads to aluminum foil, or something else conductive to bridge the gap between the battery-caddy pins and the contacts on the PCB. Re-install the PCB, snap it back together, and hit “ON” and hear the timer click to life!

Beta woes

Tuesday, October 10th, 2006

When I migrated to the Firefox beta, most of my extensions did not have a version that worked with Firefox 2 beta. Today, I attempted to install another (Server Spy), and it yielded a notice that it only works with versions 1.0-1.5. So, I tried this:

Linux/OSX directions:

  1. Download the extension’s xpi, and save it someplace on your computer.
  2. Open a terminal, and navigate to the directory where you saved it. Type:

    $ unzip filename.xpi
    $ vim index.rdf

  3. Go down to the line that looks somewhat like this:

    <em:maxVersion>1.5.0.*</em:maxVersion>

  4. See that 1.5.0.*? Change that to something nice and safe, like 3.0.0, and save the file (Escape-:wq)
  5. Then, zip up the file using this command:

    $ zip -r filename.xpi chrome/ chrome.manifest defaults/ install.rdf

  6. Lastly, drag the xpi file into the firefox extensions dialog, and if you did it right, your extension should install without a complaint from Firefox.

Windows Instructions

  1. Download the extension’s xpi, and save it someplace on your computer.
  2. Use your favorite zip-file extractor (xpi’s are basically just zipfiles) to open the xpi file.
  3. Use Notepad (or another code editor) to open index.rdf.
  4. Go down to the line that looks somewhat like this:

    <em:maxVersion>1.5.0.*</em:maxVersion>

  5. See the 1.5.0.*? Change it to something safe, like 3.0.0, so Firefox won’t complain, and save the file.
  6. Add your modified index.rdf to your xpi file (if you extracted the files and are trying to zip them up again, use the filename format “filename.xpi” with the quotes), and drag your modified xpi file into the Firefox extensions manager.

Enjoy!

Update: Turns out somebody already made an actual extension that does the same thing.. but you’d use this one if you’re a l33t h4xx0r!