<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6" -->
<rss version="0.92">
<channel>
	<title>The Only James</title>
	<link>http://www.theonlyjames.com</link>
	<description>Development, technology and other geekery.</description>
	<lastBuildDate>Thu, 14 Aug 2008 21:18:06 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>New Terminal tab with pwd</title>
		<description>Just a quick snippet I'm using to open a new tab in Terminal. It accepts a single, optional argument which will override cd'ing to the working directory.


#!/usr/bin/env bash

if [[ $# -eq 0 ]]; then
	dir=`pwd`
else
	dir=$1
fi

/usr/bin/osascript \
-e "tell app \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down" \
-e ...</description>
		<link>http://www.theonlyjames.com/2008/08/new-terminal-tab-with-pwd/</link>
			</item>
	<item>
		<title>Smart empty text field automatically</title>
		<description>I think everyone has seen a form on a web page that has text fields that automatically empty when they receive focus. I've added this functionality to countless fields over the years and the behaviour I used to to this has evolved more and more. Using Prototype and the following ...</description>
		<link>http://www.theonlyjames.com/2008/08/smart-empty-text-field/</link>
			</item>
	<item>
		<title>Enabling Apache&#8217;s mod_deflate</title>
		<description>If you're running an Apache web server and you want to speed up your visitor's browsing you can enable mod_deflate, which has replaced mod_gzip in Apache 2.

You'll probably find your mod_default module is already installed and available with just a couple of lines of configuration. 

I've enabled mod_deflate globally across ...</description>
		<link>http://www.theonlyjames.com/2008/08/enabling-apaches-mod_deflate/</link>
			</item>
	<item>
		<title>Plists in Ruby</title>
		<description>I'm currently working on tweaking Apple's lazy GUI design by alphabetising VPN connections in both System Preferences and the VPN Connection menu. This is definitely only intended for Leopard and I wont be testing it in Tiger or supporting it. It's just for my own personal use as I have ...</description>
		<link>http://www.theonlyjames.com/2008/08/plists-in-ruby/</link>
			</item>
	<item>
		<title>Installing yum and git on a MediaTemple (dv) 3.5</title>
		<description>I recently decided to install Git on my (dv) 3.5 and found an article written by the guys at MediaTemple, my hosts, with instructions on how to do it (isn't it nice when someone else does the hard graft for you?!) Unfortunately, the article was old and inaccurate. Luckily, with ...</description>
		<link>http://www.theonlyjames.com/2008/08/yum-git-dv-3-5/</link>
			</item>
	<item>
		<title>Modified CSS Bundle for TextMate</title>
		<description>If you use TextMate when you're coding for the web you'll probably have at least tried out Jim Jeffer's CSS Bundle, which was inspired by an article by Jina Bolton. If not check it out!

When I first downloaded it I was impressed but not exactly blown away as the snippets ...</description>
		<link>http://www.theonlyjames.com/2008/07/tm-css-bundle-mod/</link>
			</item>
	<item>
		<title>Don Logan is pissed!</title>
		<description>
 </description>
		<link>http://www.theonlyjames.com/2008/07/don-logan-is-pissed/</link>
			</item>
	<item>
		<title>My must have iPhone apps</title>
		<description>Since the release of the iPhone 2.0 firmware I've become a stubble covered hobo with a taste for £1.99 tipples. After having an iPhone for several months the initial lust started to turn in to more of a comfortable facet of every day life. But thanks to the App Store, ...</description>
		<link>http://www.theonlyjames.com/2008/07/my-must-have-iphone-apps/</link>
			</item>
	<item>
		<title>puts Ruby.in_colour!</title>
		<description>When I'm making a script for someone I always think it's nice to add a bit of colour to anything output by Ruby. Not to be garish… We don't want command line filth reminiscent of Geocities after all! But if there's an obvious exception that ends our fun it's good to ...</description>
		<link>http://www.theonlyjames.com/2008/07/puts-ruby-in-colour/</link>
			</item>
	<item>
		<title>Repair permissions on network home folders</title>
		<description>I had a problem to fix a few months back where by something like 1000 users had totally bricked their home folder permissions. Trying to propagate permissions from Workgroup Manager (it was a 10.4.11 server) kept hanging and would only fix home folders up to the letter "d." It was ...</description>
		<link>http://www.theonlyjames.com/2008/07/repair-network-home-folders/</link>
			</item>
</channel>
</rss>
