Subversion diff with vim

<1 min read

Once in a while I have to use Subversion on a Linux box. Not a big deal, except for diffs. The standard svn diff output is not the most readable. Vim, or more exactly vimdiff, does a terrific job at displaying differences between files side-by-side. Here's a little Bourne shell script I wrote that uses vimdiff to view the differences between a local file and the latest revision in the repository:

Nothing too fancy. It uses svn cat to get the latest rev, saves it to a temporary file, and opens both files in vimdiff:

The temp file is deleted as soon as vimdiff is quit.

[@389]
I also just found svncommand.vim, a nifty Subversion integration plugin.

IKEA Bed Falls Apart (Part Trois)

<1 min read

IKEA Bed Falls Apart

This almost sounds like a joke. Our IKEA MALM bed frame fell apart, again. This is the third time an IKEA bed broke on us, in less than a year.

I know we could stand to lose a few pounds, but come on…

Valentine Snow

<1 min read

Valentine Snow

It snowed overnight, on Valentine's Day. I think that's a first for me. We were just looking at my blog to see what we did last year for Valentine's Day, which is also our Wedding Anniversary. Turns out that we went to Anthony's. What are we doing this year? The same. We are creatures of habit after all.

Restricting .svn Access

<1 min read

I was looking for a way to restrict access to the Subversion administrative (.svn) directories in Apache/Tomcat. The instructions I found recommended using a DirectoryMatch directive which doesn't work with mod_jk.

Using a global LocationMatch directive seems to work:

<LocationMatch "^/.*/.svn/">
  Order deny,allow
  Deny from all
</LocationMatch>

Olympics on NBC-HD

1 min read

Seems like every couple years I find myself blogging about NBC's poor coverage of the Olympics. The commentators haven't improved much, but the coverage sure has. NBC is even broadcasting in HD. They are also using the Universal HD channel to broadcast CNBC's coverage in HD. Between NBC, USA, UHD and CBC, I should be able to watch all of the events I'm interested in. The NBCOlympics.com site seems to have the latest medals count, schedules and athletes data. Matt is also pointing to NBC's Mobile Olympic has another source. I still find it funny that the official U.S. Olympics Team gear is once again made by a Canadian company.

Grammy Awards

1 min read

We're watching the Grammy Awards that we PVR'ed earlier in the week. Now, I know why American Idol was on top that night. Mary J. Blige butchering a U2 song sounded just like one of those contestants that don't make it to Hollywood.

Google Blacklisted

<1 min read

Talking about Google, some of the GMail mx proxy addresses are currently blacklisted by SpamCop.net, and probably others.

If you're using a blacklist to filter spam on your mail server, make sure to make an exception for pproxy.gmail.com.