Tools & Tips

Fix Spidermonkey Build issues with Homebrew on Lion

The fix is documented here: https://github.com/mxcl/homebrew/issues/4782

It consists of adding a line in the readline formula file: /usr/local/Library/Formula/readline.rb right before the system command:

    inreplace 'support/shobj-conf', 'darwin[89]*|darwin10*)', 'darwin[89]*|darwin1[01]*)'

MacPorts is out. Say hello to HomeBrew

Today I realized that the MacPorts of both MongDB and CouchDB were (through their dependencies) completely broken. This pushed me to switch to HomeBrew. Which solved the issue. I ended up with a simpler, better structured and more up-to-date package manager to boot.

Uninstall MacPorts and all your ports

 http://guide.macports.org/#installing.macports.uninstalling

List open ports on MacOSX

 % sudo lsof -i -P | grep -i "listen"
ssh       9185      myuser    8u  IPv6  0x92f5d90      0t0    TCP *:5902 (LISTEN)
ssh       9185      myuser    9u  IPv4  0xceb9a68      0t0    TCP *:5902 (LISTEN)
ssh       9185      myuser   10u  IPv6  0x92f6258      0t0    TCP *:8022 (LISTEN)
ssh       9185      myuser   11u  IPv4 0x11962270      0t0    TCP *:8022 (LISTEN)
ssh       9185      myuser   12u  IPv6  0xecb9e4c      0t0    TCP *:10000 (LISTEN)
ssh       9185      myuser   13u  IPv4  0xcebaa68      0t0    TCP *:10000 (LISTEN)
....

What is my ip


URL Encoder / Decoder utility

This is a simple GUI for using the javascript encodeURIComponent / decodeURIComponent functions to encode / decode URLs. We posted it here for your (and our) convenience, and it is offered without any warranty of any kind. Use it at your own risk.