Does Not Contain

I occassioanlly need to scan a folder and all of its subdirectories to see if any of them DO NOT contain files of a certain type.

I'm fully aware you can do this with some combination of shell commands, but I always spent 20 minutes googling for how to do it again every time I needed to. It was faster just to write this small utility myself.

I call it dnc, which stands for "does not contain". You can download the source or a pre-built binary on GitHub. The builds aren't notarized. So be sure to ask Apple if it's OK to run this on your Mac.

Read the full post for an example of why I need this script.

Read More »


Shelley

I've written previously about using Hazel on macOS to react to a new file appearing in a synced iCloud Drive folder and running commands. But I wanted a faster solution that I could trigger from almost anywhere - including an iOS Shortcut. A way to send a command directly from my phone (or maybe any other device?) to my Mac.

What I came up with is a tiny, macOS menu bar app I call Shelley - because as a friend told me, it's a Frankenstein of a hack.

Read More »


DIY Video Hosting

I've been a paying customer of Vimeo since 2014 - specifically, their Pro plan. But when my renewal email arrived in April, myself and other small developers were seeing sales slow down as the pandemic worsened. Another $240/year was a tough sell for the small amount of video content I was hosting with them, and I wondered if there might be a cheaper alternative - either another service or by hosting videos myself.

So this is how I moved off Vimeo and started hosting my own video content.

On average, my bandwidth bill has dropped to $11/month - and that includes videos, static assets, and ALSO binary downloads for all of my Mac apps. Previously, I was paying $20/month just for video hosting on top of the rest of my bandwidth.

It's definitely a geekier solution that requires more work up front to setup, and I'm not sure I would recommend it for a "real" business, but for my needs it was a fun project and I'm happy to save $200 a year.

Read More »


A Quick Shell Script to Keep a LAN File Server Mounted All the Time

Now that we're all stuck at home practicing social distancing, my children's mood depends on their favorite TV shows and movies always being available during their iPad free time. And my sanity depends on not hearing the awful clicking noise of the external drive our video library is stored on while I'm working at my desk. Moving it to a networked file server running off a Raspberry Pi was simple enough and solved the problem. But after trying a few 3rd party apps to keep the network share always mounted, here's the simple shell script I wrote instead.

Read More »


A ridiculously dumb brute-force approach to getting around macOS's security UI and making my software a better experience for my customers

Until Apple gives 3rd party developers a way to properly request the permissions we need to build the apps our customers want, hacks like these are going to be the norm.

Read More »


A Stupid-Simple Automated iOS Build Script

I've worked with a bunch of different automated iOS build systems over the years at the various companies I've worked for and with my own apps. In the early days of the App Store, many of these were completely home grown. As the toolchain matured, I've dealt with Xcode bots...

Read More »