I save things like API keys in 1Password. Today I figured out how to access those from macOS terminal scripts. …
I asked on Twitter for tips about running Whisper transcriptions in the CLI on my Mac. Werner Robitza pointed me to Homebrew's whisper-cpp formula, and when I complained that it didn't have quite enough documentation for me to know how to use it Werner got a PR accepted adding the missing details. …
I was putting together some notes for a talk I gave, and I wanted an efficient way to create screenshots of specific moments in a video of that talk. …
I wanted the ability to paste the image on my clipboard into a command in the macOS terminal. …
My iPhone has a weird bug: I can no longer re-arrange the app icons on the home screen (or in the dock) by dragging them around on my phone. It lets me get into edit mode (where the icons wiggle) and drag them around, but when I release they go back to where they came from. …
I grabbed a quote from a transcript of a snippet of a YouTube video today for my blog. …
I spoke at WordCamp US 2023, and wanted to grab a copy of the video of my talk. I always try to keep my own copies of these because I've seen some conferences eventually take these offline in the past. …
I wanted to get wildcard DNS running on my Mac laptop, for development purposes. I wanted http://anything.mysite.lan/
to point to my localhost IP address. …
I found an MP3 recording of an old talk I gave and decided to use the slides from that talk to create a video using iMovie. …
Today I wanted to figure out where the vercel
CLI tool on my Mac kept its authentication tokens. …
I wanted to convert some .webp
images to .png
on my Mac. I asked ChatGPT: …
I spotted an intriguing note in the release notes for osxphotos 0.51.7: …
For a friend's wedding I needed to run a Google Photos slideshow on some large televisions. …
Atuin (via Rhet Turnbull) "replaces your existing shell history with a SQLite database". Obviously I had to try this out! …
I decided to try out atuin, a shell extension that writes your history to a SQLite database. …
I had an 11GB movie in Apple Photos (sync'd from my iPhone) and I wanted to upload it to YouTube (actually via AirDrop to another laptop first). …
I usually use Homebrew on macOS, but I decided to try using the official Python installer based on this Twitter conversation. …
lsof
stands for "list open files". Here are some very basic usage notes for the version that ships with macOS. …
TLDR: Use platform: linux/amd64
in docker-compose.yml
and your containers will probably work! …
I usually use Squoosh.app to reduce the size of my PNGs, but in this case I had a folder with nearly 50 images in it so I wanted to do it using the command-line. …
This runs using Spotlight so it's really fast: …
Every time I opened a terminal on my new Mac running Catalina with zsh I got the following annoying error: …
I always forget how to set this up. It's hidden in Preferences -> Profiles -> Basic -> Shell: …
I really like Skitch for taking screeshots, mainly because I like to snap a quick shot and then drag the icon onto a Google Doc or similar without saving the file anywhere. …
macOS Catalina uses zsh
rather than bash
as the default shell (apparently because Apple don't like GPL 3). …