Today's random tech tip of the day - how to check whether you have modifications in a bunch of different locally cloned git repos: ⯠for x in *; do echo $x ; ( cd $x; git status -s ); done contentsvc jobsvc M supervisor.conf...
I blogged previously about how to build _bsddb for Python 2.6 by hacking the Python source code to accommodate changes in berkeley-db. Here's an easier way that doesn't require hacking source code. Install berkeley-db using...
It's well-known that the Python that comes with OS X machines typically doesn't have _bsddb. I downloaded Python 2.6.8 and attempted to build it and it wouldn't build the _bsddb module. Here's what I did to fix this. I used...
I was trying to pip install PyCrypto in a PyPy virtualenv and kept getting build errors, mostly related to PyLongObject. I worked around the problem by uninstalling the gmp library. I'm on OS X so I did: brew uninstall gmp (If...
I don't know if I've mentioned "ack" before — it's been my favorite tool for searching code for a while (it's better than grep, because it's fairly speedy because it knows how to search only files that are code and how to...