Tag: scripting


  • I whipped up a script this morning to simulate Finder’s “Open With…” menu from the command line. It extends the macOS open command with a command line menu selection of apps able to open the file you specify. This script uses the macOS commands mdfind and open, along with the third-party utilities duti and fzf…

  • One more na update

    ,

    This week I pushed a set of focused improvements to NA that make interactive workflows a lot smoother and the codebase a little more robust — including first‑class time tracking. If you run na update without arguments you’ll now get an interactive menu that helps you pick the file(s) and actions to operate on, and…

  • Reiki refactored

    ,

    I’ve been putting in some time on side projects every morning while building up the motivation to work on more overwhelming things. Recently the focus was on Reiki, my tool for running Rake tasks with fuzzy matching and humane argument parsing. [paywall The details] ### Multi-Shell Support Automatic Shell Detection: Reiki now automatically detects your…

  • Optimizing na and doing

    ,

    I’ve been using my na and doing command-line tools daily for years, but lately they’d started feeling sluggish. When na next was taking over a second to show me my next actions from a tiny 5KB file, I knew it was time to dig in and fix things. In case you’re unfamiliar, na is a…

  • I made a thing I think is pretty cool. It’s an indeterminate progress indicator for use in your scripts, inspired by the way Cursor indicates it’s working. In Cursor, when it’s generating or thinking, it shows some text that looks like a spotlight is panning across it. I figured it would be easy enough to…

  • I wrote a pretty basic script a long time ago that converts TaskPaper files to Markdown for nice previewing/publishing. I recently updated it with a bunch of modernizations. I originally wrote this script (*goes to check*) — jebus, fifteen years ago. I guess I’ve been doing this stuff for a while now. Anyway, the original…

  • I’ve published a repo of my own Git commands and aliases. Most of these commands started as aliases and then got more complex. All of the commands are described in the README. They’re nothing terribly complex, but I find them all useful almost every time I use Git. I’ve also included my collection of aliases.…

  • This morning I pushed a pretty large update to the Readwise to DEVONthink script I published yesterday. It adds some important features, so if you’ve already downloaded the script, you might want to update. The previous version worked fine, but there were a couple of things it needed to do better. First, it was failing…

  • Readwise is an awesome power-user tool for reading web articles, newsletters, and even e-books. DEVONthink is an amazing tool for building connected knowledge bases. Today I’m releasing a script that saves Readwise highlights to DEVONthink as annotated Markdown files, bringing the two together. It’s pretty handy. I started trying out Readwise shortly after I started…

  • I recently posted a script I was using to archive my linkding bookmarks to Markdown files in nvUltra. I’ve since started digging into DEVONthink and have updated the script to archive my bookmarks there. I still use my bookmarks with nvUltra by indexing a notebook in DEVONthink and saving the bookmarks there. Most of my…