freebsd-update and custom kernels

Saturday, 03. 16. 2013  –  Category: stash, sw

This post is search fodder, mostly. If you’re using freebsd-update to upgrade FreeBSD and you run a custom kernel and temporarily using the generic kernel isn’t an option and it’s been ages since you’ve done this, then welcome! $ sudo freebsd-update upgrade -r 9.1-RELEASE [ warnings about custom kernel ] $ sudo freebsd-update install [ […]

Extracting voicememo name and file location from iTunes

Saturday, 03. 2. 2013  –  Category: sw

iTunes helpfully copies voicememos from the phone to a handy local directory, but the filenames are just timestamps, which isn’t so great if you’ve diligently named them. The voicememo’s title is visible in iTunes, but it’s coy about revealing which file it corresponds to. So into the iTunes database we go… with xmlstarlet. Because every […]

URL handlers on OS X

Friday, 04. 20. 2012  –  Category: sw

Update 2012-04-25 Corrected the plist key to CFBundleIdentifier. I’ve often wondered about how to do this without monkeying in Objective C. It’s doable in (ugh) Applescript with some property list editing. Whimsical XKCD handler such that xkcd://627 behaves like http://xckd.com/627: on open location uri   set delimiter to AppleScript's text item delimiters   set AppleScript's text item […]