Here’s a quick script I was playing around with this morning. I want to do some extensive string handling on all of the posts in my WordPress database. It made the most sense to me to pull each post’s content from the db, do the string mangling with a shell script and then replace the post_content field as I go. This script is destructive and any mistakes you introduce could kill your entire blog. Should you have a need for this script, back up first!
Wordpress, ruby, scripting
I’m pleased to report that—with minimal effort on my part—nvALT and Marked are running fine on Mountain Lion. I tested them a few pre-releases back, but got confirmation from a slew of users on Twitter (thanks everybody) that there appear to be no issues.
macos, marked, nvalt
Yes, I’ve been horrible about posting for the last week or two. I made you a podcast, though, with the help of Mike Rose (@MikeTRose). We discuss Retina displays, improv and delve into areas of psychology where neither of us should probably be delving… but it’s all for the greater good.
podcast, systematic
It was my 34th birthday yesterday. I wasn’t planning to do much for it, but I woke up to a post on Macdrifter declaring it Terpstra Day in honor of my birthday. I can’t tell you how much that meant to me. I also can’t tell you how much it meant to me that a slew of other blogs picked up on it and carried it on, nor can I truly express my gratitude for the number of Twitter, Facebook and direct email messages I received wishing me a happy birthday and thanking me for all of the…
personal
And then, because I felt like I just wasn’t being exposed enough on the interwebs today, I did an interview with Chris Enns for “Welcome to the Internet, episode 21” on SSKTN.com. I had a great time talking with Chris about some of my projects and going into depth on the origins of some of them. Thanks for having me on, Chris!
interview, podcast
Systematic–my new podcast on 5by5–launched today. The first episode (with Mike Schramm) was recorded a couple of weeks ago, but was a little delayed in making it live. It’s up now, and I’ll be putting up new episodes on Tuesdays from here on out. I’d love any feedback, ideas or angry letters. You can leave comments here or contact me directly if you have something to say!
podcast, systematic
Rounding off a very quiet week, I thought I’d throw an unusual recording of mine out there. I’ve been prepping a podcast, working on some non-blog writing, and managing (or attempting to) a large project at the day job. Thus, slow posting rate. Forgive me, the code craziness will continue after these messages.
music, personal, something precious
I write a lot of scripts. I often want to edit and tweak those scripts. I sometimes forget exactly where a script is in my path, though, so I end up using “subl $(which scriptname)” to do it (yes, I have an alias for that). I didn’t know I needed a smarter, faster way until I built this, but now I’m quite enamored with it.
ruby, scripting
I just discovered this, thus don’t know a lot about it, but is a pretty cool command line utility in OS X. I know it exists in both Lion and Mountain Lion, not sure how long it’s been around before that.
macos, quicktip, scripting, terminal
Ok, so this is the only bookmarklet I recall making that early in the morning, but it’s still useful if you have a browser setup at all similar to mine. When triggered, this bookmarklet finds all input elements on the page, sorts out the text/search types, runs them through a few regular expressions to find the first one that seems a likely candidate to be the main search field and then focuses it. It’s not perfect, but it works pretty well across the board (and without loading any…
bookmarklet, javascript, scripting
I don’t know how much use this will be to anyone (even me after a one time need for it), but for posterity: a System Service1 that takes a templated block and builds a sequential list from it. It allows you to set start and end count and include modified (+/-) integers in the template.
service
This has probably been done before, but it didn’t show up on the first page of search results and it only took 15 minutes to write. It’s an adaptation of the Safari functionality in the OmniFocus Clipper, rebuilt for Google Chrome.
chrome, omnifocus