Close terminal window on Ctrl+D for macOS
I always forget how to set this up. It's hidden in Preferences - Profiles - Basic - Shell:
36 posts tagged “macos”.
I always forget how to set this up. It's hidden in Preferences - Profiles - Basic - Shell:
I decided to create a new desktop background for my Mac using Midjourney. My laptop has a 16:10 aspect ratio and a retina screen, so I wanted as high a resolution image as possible.
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.
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…
Atuin (via Rhet Turnbull) "replaces your existing shell history with a SQLite database". Obviously I had to try this out!
I usually use Homebrew on macOS, but I decided to try using the official Python installer based on this Twitter conversation.
I've been trying to figure this out for years. Previous notes include Using LD PRELOAD to run any version of SQLite with Python (Linux only), and Building a specific version of SQLite with pysqlite on…
I wanted to browse a backup copy of my Plex database, which is a SQLite file. I tried this: The module is an optional module for SQLite.
I wanted to get wildcard DNS running on my Mac laptop, for development purposes. I wanted to point to my localhost IP address. I figured out how to do this using , installed via Homebrew.
I save things like API keys in 1Password. Today I figured out how to access those from macOS terminal scripts.
This runs using Spotlight so it's really fast: mdfind "kMDItemDisplayName == .sqlite" -0 xargs -0 stat "-f%z %N" sort -nr head -n 20 I have a lot of files in my Dropbox so I excluded those like this…
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.
For a friend's wedding I needed to run a Google Photos slideshow on some large televisions. I had two MacBook Pro laptops. Here's how I got it to work.
I like using Postgres.app to run PostgreSQL on my macOS laptop. I use it for a bunch of different projects.
I wanted the ability to test my Python software against specific version of SQLite on macOS. I found a way to do that using pysqlite3.
I spotted an intriguing note in the release notes for osxphotos 0.51.7: Added ability to read Photos.sqlite from iPhone This lead me to osxphotos issue 745 which lead me to How to access iPhone files…