Install AnnWrapper (scikits.ann) on Windows XP

ANN (Approximate Nearest Neighbor) is a C++ library for both exact and approximate nearest neighbor searching in arbitrarily high dimensions. I've been trying to use SWIG to wrap this library so I can use it in Python. Today I found out that someone had already done it! The project is called scikits.ann. They even have an already-to-use egg file for OS X 10.5. Since my primary operating system is Leopard, I installed the egg file and tried it out. Everything worked great! I needed to use this library under Windows XP also, however, due to some things at work. Here's how I got everything working. Read more...

Using RSA keys to login to a remote computer via SSH without using a password

I tend to remotely login to various different computers through SSH a lot. Typing my password every time I login to a remote machine gets tiresome. This is how to generate public/private key pairs so you don't have to enter your password every time you login through ssh! Read more...

Custom BASH prompt

Here's the custom bash prompt I use. Copy the following line into your ~/.bashrc file to use it. Read more...

Setting up a PXE boot server under Ubuntu Hardy

I thought I'd put this little how-to together since I seem to need a PXEBoot server every once in a while. I have a Motion M1300 TabletPC with no external CD drive so I use my trusty linux box as a PXE server to install different distros to the tablet. This might be something somebody else out there might find useful so here's how to setup a PXE boot server on Hardy with a couple different linux distros. Read more...

Compiling PIL 1.6 for Cygwin and Python 2.5

I'm not sure if this is still relevant today, but I had written this on my blog last year so I may find it useful again in the future, I was trying to compile PIL 1.6 to use with my Cygwin-installed python at work and had to do this: Read more...

Syndicate content