Blog

Tag Archives: Scripts

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

Keeping iChat and Adium status in sync with Twitter

A script which takes the latest tweet from Twitter and sets it as the status message in iChat and/or Adium. Use crontab to run it regularly to stay in sync.

Also tagged , , | 16 Comments

Re-organising/assembling uploads for WordPress

Migrating from Serendipity, I’ve had a few hiccups in data migration. It doesn’t help that I’m extremely OCD when it comes to data, so everything’s gotta be perfect. I had a problem with the way my uploads (the resources linked into the blog) were organised from the old Serendipity days – all in one big [...]
Also tagged , , , | Leave a comment

Convert text to iTunes audio book

After reading a hint on macosxhints on how to create an audio file from text, because I wanted to keep reading my book while I was driving, and figured that holding the book in front of me probably wasn’t the best option, I figured the process could probably be streamlined a bit. So, I’ve made [...]
Also tagged , | 8 Comments

Automatically eject all disks on sleep, reconnect on wake

Using a laptop with permanent external drives can be a bit annoying when you leave the desk – you have to manually eject all your devices, otherwise you get that dreaded ‘Device Removal’ dialog. With a little bit of Terminal magic, you can automatically eject disks when you sleep the laptop, meaning you can just [...]
Also tagged | 5 Comments

TVSync syncs your TV episodes with iTunes and your iPod or iPhone

I’ve just created a glorified bash script that will intelligently (hopefully) synchronise downloaded or recorded episodes from TV shows with an iTunes library. From the website: This utility will automatically transfer video files of TV series (such as those downloaded from Bittorrent or recorded from TV) into iTunes for transfer onto an iPod/iPhone. It can [...]
Also tagged | Leave a comment

A brief shell scripting tutorial

Shell scripts are very useful things, whether they’re prepared and saved to a file for regular execution (for example, with a scheduler like cron), or just entered straight into the command line. They can perform tasks in seconds that may take days of repetitive work, like, say, resizing or touching up images, replacing text in [...]
Also tagged | Leave a comment