I’ve taken the plunge and am in the middle of switching from Subversion to Mercurial for revision control. Subversion has served me relatively faithfully for many years (I’ve even championed/led the adoption of subversion at two companies I’ve worked for in the past) but some of the warts and shortcomings were beginning to annoy me [...]
Making Mercurial use the Mac OS X Keychain
February 13th, 2008 · 5 Comments · Default
Tags:hg·Mac OS X·mercurial·Python·rcs·sourc code
Run Python Script: Amazon S3 Uploader
December 14th, 2007 · 4 Comments · Default
To help illustrate the usefulness of the “Run Python Script” Automator Action I blogged about in my previous post, here’s an action that will upload files to the Amazon S3 Web Service. The script is pure Python and uses the extremely cool boto Python module to interact with Amazon web services. The script is really [...]
Tags:Amazon·Automator·AWS·Python·Run Python Script·S3
Run Python Script
December 14th, 2007 · 13 Comments · Default
I’ve written an Automator action that allows you to write python scripts directly inside your Automator workflow.
“Run Python Script” Automator action (catchy title) is written using Python and PyObjC (now built-in to Mac OS X 10.5). Apple already provides “Run AppleScript” and “Run Shell Script” actions with Automator which give Automator a high degree of [...]
Tags:Automator·Open Source·public·Python·Software·Source
Mac OS Custom Icons and subversion don’t mix
September 20th, 2006 · 6 Comments · Default
I had some big trouble with subversion today. I had upgraded to subversion 1.4 on both client and server a few days ago and today something went tits up with the repository on the server. I wont go into more detail here until I’ve reproduced and isolated the problem but suffice to say I deemed [...]
Tags:Python·subversion
WordPressTool
June 1st, 2006 · No Comments · Default
Following on from my previous post I’ve uploaded some Python code that talks directly to a WordPress server via MySQL and Sqlobject.
WordPressTool downloads all postings into plain text files (one per posting). You can then treat your postings as regular text files: grep through them, perform global search and replaces, and so on. You can [...]
Tags:Python·Sqlobject·WordPress
ExpressionEngine to WordPress
June 1st, 2006 · 5 Comments · Default
I recently migrated this blog from ExpressionEngine to WordPress. This was rather a daunting proposition due to the none existence of tools for doing this. The best I could really hope for was publishing all my content as a large RSS feed and then importing this feed. Doing this would have meant I would have [...]