Setting up a rear derailleur

I needed to set up my rear derailleur from scratch yesterday and thought up a nice simple mechanism for doing it that I’ve not seen described before. This is for a ‘normal’, not reverse-pull derailleur, where increased gear cable tension makes it change down.

  1. Put the bike in middle ring at the front, set the rear shifter to top gear.
  2. Adjust the limit screws.
    I find this is especially easy if you disconnect the gear cable completely – it prevents cable issues interfering and means you don’t need to fiddle with the shifter.

    • Adjust the bottom limit screw so that the bike pedals smoothly in top gear with no clicking or rubbing.
    • Push the derailleur with your fingers so that it shifts into bottom gear and adjust the top limit screw so that the bike pedals smoothly in bottom gear with no clicking or rubbing and without falling into the spokes.
  3. Screw in the barrel adjuster on the derailleur (and the shifter) as far as it will go.
  4. Pull the gear cable tight with your fingers (you don’t need much tension, just take up the slack) and tighten the retaining bolt.
  5. On the shifter, change down ONE gear (e.g. 8th if you have a 9-speed cassette).
  6. While turning the pedals, turn the barrel adjuster until it shifts into the selected gear.
  7. Adjust so it’s not rubbing and that the top jockey wheel aligns nicely.
  8. Check that it changes into all the gears smoothly when changing both up and down.
  9. Job done!

This whole procedure can be done in a couple of minutes. You may need to fine-tune the barrel adjuster slightly in some lower gears, but this procedure will get you to the right ballpark with minimal effort. It’s much easier if you have a workshop stand or similar means of holding the back wheel off the ground.

Changing MacBook Bezel

I recently had cause to change the bezel on my rev A 13″ MacBook. If you follow the guide on MacFixit, it is a long and complicated procedure, involving dismantling nearly everything. Luckily, most of it is unnecessary – it’s really quite easy to simply remove the bezel without dismantling anything; just jump straight to step 35 and carry on from there.

Subversion MERGE error on commit nailed

Recently I’ve had a problem with subversion commits returning a ‘200 OK’ result, accompanied by a peculiar MERGE error (when I’m not doing a merge), but weirdly, the commit had actually made it into the repo. I’d googled for this a while ago with no success, but I had another try today and found this post. Thinking about it, I’d had this problem since updating to the very-very-long-awaited trac 0.11 release. So I tracked down the latest release of the trac-post-commit-hook script and installed that, and amazingly enough, it just works. Thank you UberGeek!