Blog

Tag Archives: Scripts

Searching through Subversion history

Occasionally I need to search back through old versions of projects to find a piece of code I want to resurrect or just use as reference — I haven’t found any easy built-in way to do this, so I adapted this useful script to allow me to grep through all history from within a Subversion [...]
Also tagged | Leave a comment

Using custom DNS servers from the iPhone and over Internet Tethering

For those of us the roam around on network connections, OpenDNS and Google Public DNS provide public DNS servers which offer better security than using arbitrary DNS that’s assigned to us when we connect to a network. This means that rather than trusting the assigned DNS server — which could be a malicious third [...]
Also tagged , | Leave a comment

Textmate: ‘git diff’ in FileMerge

I found myself wanting to pick through some changes I made under a git repository recently, discarding some and adapting others. The FileMerge utility that comes with the Mac OS X Developer Tools is great for this purpose, but in TextMate, there’s currently no way to compare uncommitted changes in a git repository using [...]
Also tagged | 1 Comment

Align comments in Textmate

A Textmate command script to align comments in a block

Also tagged , | 1 Comment

Facebook News Feed RSS

A PHP script to crawl the Facebook news items and create an RSS feed from them

Also tagged | 8 Comments

Counting words in LaTeX documents with TextMate

When working on LaTeX documents in TextMate, the default word count feature isn’t too helpful, as it also includes all of the LaTeX control sequences in the count. There are plenty of suggestions out there, but this is one I came up with, which works the same way as the default word count facility [...]
Tagged | Leave a comment

Apple iTunes Connect Trend/Transaction Report Processor

A droplet for Mac OS X to calculate a single total earnings figure from a Trend/Transaction Report from Apple's iTunes Connect.

Also tagged , , , | 1 Comment

A OS X service to encode HTML characters

I find myself frequently writing HTML code in comment forms which support use of HTML formatting, which means that I have to encode the html entities if I want them to show up (as in representing '>' with '>', for example). ... I used the always-useful ThisService app with a short PHP script which does a htmlspecialchars() on whatever's passed to it, to create a OS X service called 'Encode HTML'.

Also tagged , , | Leave a comment