If you’re getting errors like:

Try:

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. Messages.app > 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.

The VM for the Bitnami Ruby Stack doesn’t have the correct credentials for postgres anywhere that I could find. Incorrect credentials that I saw on the Bitnami site, in the docs hosted on the VM, or on the internet while searching for a solution:

I never found the correct combination but instead simply installed postgres via apt-get and moved the bitnami postgres installation outside of $PATH in case I need it in the future.