Tag: scripts

17 posts

Setting Up a Telegram Bot for System Notifications

I use a Telegram bot to send myself notifications from scripts, cron jobs, and deploy pipelines. It's free, takes five minutes to set up, and the

Mar 28, 2026

Auto-Renaming tmux Windows for AI Coding Agents

I run multiple Droid and Claude Code instances in tmux, each in its own window. The problem: every Droid window starts named "droid" and every Claude

Feb 13, 2026

Automatically Copy macOS Screenshot Path for Claude Code

How I copy macOS screenshot file paths into Claude Code's terminal CLI automatically, first with a fish function and now with my shotpath CLI tool.

Oct 16, 2025
Automating server setup with cloud-init

Automating server setup with cloud-init

Automatically perform all the standard steps you do on new servers in under 50 lines of yaml

Aug 15, 2025

The quickest way to change your nix configuration

NixOS is great, but it is a bit tedious to always type out vim /etc/nixos/... etc to make changes to your system, nor do I want a complicated setup for my nix configuration files. So I devised a little script to speed up the progress, which I saved to configure.sh allowing me to configure NixOS by just opening my terminal and typing ./configure.sh

Mar 23, 2025
K
Kevin R. Kuhl's Blog
kevinrkuhl.com/

A Simple Flesch-Kincaid Calculator for Markdown

Mar 8, 2025

WIP Git Commit Shortcut

My tiny fish shortcut for making WIP git commits: it stages changes when needed, uses a default WIP message, and accepts a custom commit message.

Oct 6, 2024

Fixing gx for Neovim with a Ruby Script

Maybe it's my setup, but I have always had problems with gx since ever since I started using vim/MacVim/Neovim. I also wrote about streamlining

Mar 19, 2024

The git Script I Use Everyday, All the Time

My most-used git script is gs — an overloaded shell function that handles status, staging, and committing in a single command.

Mar 7, 2024

Effortlessly Switch Between Low and High Power Modes with Custom Scripts

I spend most of my time working at my desk, but occasionally I'll bring my MacBook out. It's mostly due to my habit from the older days before Apple

Mar 1, 2024

Streamline Opening Neovim from the Shell

The mvim script included with MacVim is useful for launching the MacVim app from the shell. Sure, you can run Neovim from the shell with nvim . but I

Feb 26, 2024

Finding Battery Capacity for reMarkable Tablet

Feb 26, 2024

Double Click File in macOS to Open in Neovim

I have been using Neovim in a dedicated Alacritty for exactly a year. Took me a long time to come to it, but I recently sought to fix one issue — I

Feb 17, 2024

Notes on Configuring a Keyboard Shortcut to Close Notifications on Big Sur with Phoenix

Apr 5, 2021

genie – Run commands bound to directories

As developers, we try to automate and build shortcuts to improve our workflow. Sometimes we always run the same command in a specific project

Mar 8, 2016

Script to Remove Core Data's SQLite Database File During Development Cycles

During development of applications that uses Core Data on the iPhone, I find myself often wanting to delete the SQLite database file. This is

Jan 14, 2010

Automating Internet Sharing on OS X Snow Leopard

It's been bothering me for quite a while ever since I used OmniFocus on my iPhone more that I can't easily activate Internet Sharing to sychronise

Dec 6, 2009