The Foo bar
Institutions will try to preserve the problem to which they are the solution
Clay Shirky
A career is a pursuit; a willingness to mature; patience to become exceptional - otherwise it’s just a job
A Career in Web Operations”, Theo Schlossnagle
afterbite:

Moliere

afterbite:

Moliere

The greatest crimes in the world are not committed by people breaking the rules but by people following the rules. It’s people who follow orders that drop bombs and massacre villages.
Banksy (via absentia)
Stupidity is like nuclear fuel: it can be used for good or evil.
But in either case, you don’t want to be too close to it.
Dilbert

Fixing duplicated entries in “Open With” menu on OSX

When I right-clicked on a HTML file in Finder and chose “Open With”, there were 3 entries for Opera. This command (found on Apple support forums) fixed it:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

This should rebuild your launch services database, which removes the duplicate entries.

Fixing iPython craziness on OSX

iPython on OSX had colorized output and TAB-completion worked, so I assumed readline was working, but as soon as I tried to use command history it became a mess. Difficult to describe, but messy :-)

After Googling a bit, found the culprit: when I started iPython, it printed “Leopard libedit detected.”. Turns out that for iPython to work perfectly, libedit won’t do. The fix is trivial:

sudo easy_install readline

[…] those who write the rules are those who profit from the status quo. If we want to change that status quo, we might have to work outside of those rules because the legal pathways available to us have been structured precisely to make sure we don’t make any substantial change.
Perl was made by a linguist; unfortunately, linguists are of the mindset that language evolves naturally and gains quirks along the way. Let that sink in.
Jon Purdy on a StackOverflow comment