Monthly Archives: March 2007

Rails Migrations and PostgreSQL COPY

I admit it. I am bad. I run raw SQL in my migrations. The dataset I am working with requires it of me. It must be punished. To aid in its punishment, I found a post explaining how to get at PostgreSQL’s COPY from within the Postgres Ruby driver.
For a [...]

Referrer Spam Annoys Me

I had no idea my blog was so popular. 100,000 page views in ten days. That’s 10,000 views a day! What kind of crack am I selling? A quick check of the logs indicates it is merely referrer spam. I’ve never seen it so bad, though. Serious brute force [...]

apt-key gpg key import on Ubuntu and Debian

Should you need to download packages from a unofficial repository, you need not disable gpg signature verification. Instead, you can import the key used to sign the packages into your local keyring.
Of course, you may not know what key to fetch. That’s probably okay, as if the public portion of key is not [...]