Blog

Tag Archives: Scripts

OS X service to filter selected text through a shell command

The UNIX shell provides a host of extremely useful utilities for modifying text. This Automator service makes all of them available for filtering text in all OS X applications.

Also tagged , , | 11 Comments

Browsing Core Data databases using F-Script

F-Script's new Core Data browser lets you open up and query any Core Data database, an invaluable debugging tool. Actually opening databases is a lengthy process through. No longer: This Applescript app provides an easy interface to quickly open a Core Data database in F-Script's object browser.

Also tagged , , , | Leave a comment

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 party [...]
Also tagged , | 3 Comments

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 FileMerge. [...]
Also tagged | 2 Comments

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 (Ctrl-Shift-N): [...]
Tagged | Leave a comment