Skip to content

Author Archives: Jeff

Pimp My Emacs Post 1

I’ve been moving back to emacs, the editor of my youth. I’m not a vehement emacs evangelical, and I don’t really hate eclipse. But I’m moving back for rational reasons. Basically, I just don’t like to wait to write code. At my current client, I have a slow machine. This isn’t uncommon for consultants. It’s [...]

Upgrading to Hsqldb 2rc8, part 1, Maven Integration

At my current client engagement, we make full use of hsqldb both in our unit tests and for local development. It’s a great tool, and the changes made since the last release 4 long years ago will make it an even better tool. My project has hundreds of tests making use of hsqldb, and getting [...]

Dreamhost Django Install, Revised Edition

I recently went back to doing some Django development after a long lapse, and decided to start by eating my own dogfood… I started by upgrading Python for my Dreamhost user. I followed my own post, except that I used Python 2.6 instead of 2.5. I missed one step that was caught by a pingback [...]

Linux Banging

This is a great list of bang command usage.

Mcabber Install on Dreamhost

I’m reposting this, it’s what I used to install mcabber on dreamhost: From your home directory: mkdir bin lib tmp chmod 777 tmp chmod 755 bin lib echo "export PATH=$PATH:$HOME/bin" >> ~/.bash_profile echo "export PKG_CONFIG_PATH=$HOME/lib/pkgconfig" >> ~/.bash_profile echo "export LD_LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile source ~/.bash_profile cd ~/tmp wget ftp://ftp.gtk.org/pub/glib/2.19/glib-2.19.8.tar.gz tar -xvzf glib-2.19.8.tar.gz cd glib-2.19.8 ./configure –prefix=$HOME [...]

JavaScript Null Checks and Type Coercion

There are many discussions of JavaScripts type coercion at work, and many examples of the distinction between undefined and null. This becomes very important when performing checks for null and undefined. Here’s an easy summary: JavaScript distinguishes between null, which is an object of type ‘object’ that indicates a deliberate non-value, and undefined, which is an object [...]

Bash Shortcuts

A nice list of bash shortcuts

Mcabber Update

The only thing I wanted to add to this, It’s nice to filter you list of users based on their status. If someone is offline, for example, I don’t want to see them in my list. Likewise if they’re away. from inside mcabber, type: /roster hide_offline or, set an entry in your configuration. From the [...]

My Xresources

I put this in a file, .Xresources, in my home directory. It is loaded automatically each time I create a new shell, I’m not sure if it’s enabled by default or if something I installed did it. ! rxvt settings rxvt*font: 12X15 rxvt*saveLines: 1500 rxvt*scrollBar_right: true # Index color index cyan black ~l # Mailing [...]

Use RXVT With Cygwin

I’m starting a series of posts about my cygwin setup. One of the main reasons, if not the main reason for installing cygwin is employ the use of a bash shell.  By default cygwin provides a link to the cygwin bash shell in the Start menu and on the desktop. The default cygwin shell is [...]