The Error

The Fix

Make homebrew think /System/Library/Frameworks/Ruby.framework/Versions/1.8 still exists until you successfully update:

If you’re getting errors like:


If that’s still failing make sure gem install works first:

Python’s get_tld works very well but is slow if you’re looking up a batch of domain names. Here’s a faster version that falls back on get_tld:

Common issues caused by bonjour with Teleport:

  • Teleport not connecting
  • Teleport not showing the accept prompt
  • Teleport only able to connect in one direction and not the other
  • Teleport can’t reconnect

Making sure Bonjour is working

  1. > Preferences > Accounts > Bonjour > Enable Bonjour instant messaging (on both computers)
  2. Locate your other computer in the buddy list (⌘1) and send a message between computers.
  3. Disable Teleport on both computers
  4. Restart both computers (sorry)
  5. Enable Teleport on both computers and hopefully connect

At Starbucks or McDonalds, on airplanes, at libraries or anywhere else they have free wifi you get popups asking you to accept terms and conditions and click a [Connect Now] button.

If you ever have problems getting these screens to display it’s almost certainly because you’re using non-default DNS servers. The solution for me was to go to System Preferences > Network and create a new Location called “Default DNS”.

For most bottleneck debugging Chrome Inspector’s profiles view in invaluable until a bottleneck is identified and then it becomes a bit cumbersome. I like to have a quicker overview of the piece i’m working on optimizing.

I use this small and easy timer snippet.