My Scripts
Utilities I keep reaching for — automation, file wrangling, and little quality-of-life hacks. Browse by language, peek at the source, and grab whatever's useful.
v1.2
quick-note.applescript
Pops a dialog, then drops whatever you type into a new note in Notes.app.
May 18, 2026212 B6 lines
PreviewDownload
v1.0
empty-trash.applescript
Empties the Trash with no confirmation prompt. Use with care.
Feb 10, 202647 B3 lines
PreviewDownload
v1.1
set-volume.applescript
Prompts for a 0–100 value and sets the system output volume to it.
Apr 19, 2026118 B2 lines
PreviewDownload
v1.5
git-cleanup.sh
Deletes local branches already merged into main. Skips main and develop.
May 22, 2026168 B5 lines
PreviewDownload
v1.2
resize-images.sh
Resizes every JPG/PNG in a folder to max 1600px wide using sips.
Apr 9, 2026145 B6 lines
PreviewDownload
v1.3
new-project.sh
Scaffolds a project folder with git, README, and .gitignore.
Jun 3, 2026169 B7 lines
PreviewDownload
v1.0
weather.sh
Prints a compact terminal weather report for any city via wttr.in.
Mar 14, 202666 B3 lines
PreviewDownload
v2.4
organize_downloads.py
Sorts your Downloads folder into subfolders by file type.
Jun 5, 2026397 B11 lines
PreviewDownload
v1.0
pomodoro.py
A no-dependency 25/5 focus timer that notifies you in the terminal.
Mar 30, 2026193 B10 lines
PreviewDownload
v1.0
password_gen.py
Generates a cryptographically secure password of a chosen length.
Feb 28, 2026198 B5 lines
PreviewDownload
v1.2
rss_digest.py
Fetches a feed and prints the latest headlines with links.
Jun 2, 2026258 B8 lines
PreviewDownload
AppleScript
v1.0
toggle-dark-mode.applescript
Flips the system appearance between light and dark in one keystroke.
Apr 2, 2026113 B5 lines
PreviewDownload
v2.1
batch-rename.applescript
Renames every file selected in Finder with a sequential prefix you choose.
Mar 21, 2026268 B9 lines
PreviewDownload
AppleScript
AppleScript
AppleScript
v1.0
sleep-displays.applescript
Turns off the displays without locking or sleeping the whole machine.
Jan 15, 202639 B1 lines
PreviewDownload
AppleScript
v1.3
collect-safari-tabs.applescript
Copies the URLs of every open Safari tab to the clipboard as a list.
May 30, 2026165 B7 lines
PreviewDownload
AppleScript
Bash
v3.0
backup-home.sh
Incremental rsync of your home folder to an external drive, excluding caches.
Jun 1, 2026215 B8 lines
PreviewDownload
Bash
v1.4
dated-screenshot.applescript
Captures the screen to ~/Screenshots with an ISO timestamp filename.
May 4, 2026141 B2 lines
PreviewDownload
Bash
Bash
v1.1
find-large-files.sh
Lists the 20 biggest files under a directory, sorted by size.
Mar 28, 2026104 B3 lines
PreviewDownload
Bash
v2.0
brew-maintenance.sh
Updates, upgrades, cleans, and runs doctor on Homebrew in one pass.
May 12, 202680 B5 lines
PreviewDownload
Bash
Bash
v2.2
extract.sh
One command to unpack zip, tar, gz, bz2, rar, or 7z archives.
May 8, 2026237 B9 lines
PreviewDownload
Bash
v1.0
serve-here.sh
Starts a static file server in the current directory and opens it.
Feb 26, 202698 B4 lines
PreviewDownload
Bash
Bash
v1.0
kill-port.sh
Finds and kills whatever process is holding a given TCP port.
Apr 30, 2026149 B4 lines
PreviewDownload
Bash
v1.1
dotfiles-sync.sh
Commits and pushes any changes in your dotfiles repo with a dated message.
May 27, 2026114 B5 lines
PreviewDownload
Bash
Bash
v1.0
battery-log.sh
Appends current battery percentage and charge state to a daily log.
May 19, 2026123 B3 lines
PreviewDownload
Python
v1.2
ssh-tunnel.sh
Opens a local port-forward to a remote host for database access.
Feb 18, 2026131 B5 lines
PreviewDownload
Python
Python
v1.3
bulk_rename.py
Regex find-and-replace across filenames in a directory, with dry-run.
Apr 22, 2026231 B9 lines
PreviewDownload
Python
v1.1
csv_to_json.py
Converts a CSV file into a pretty-printed JSON array of objects.
May 25, 2026169 B5 lines
PreviewDownload
Python
Python
v1.1
pdf_merge.py
Merges any number of PDF files into one, in the order given.
Apr 15, 2026185 B8 lines
PreviewDownload
Python
v1.2
http_status_check.py
Reads a list of URLs and reports their HTTP status codes concurrently.
May 29, 2026393 B13 lines
PreviewDownload
Python
Python
v1.0
clipboard_history.py
Polls the clipboard and logs unique entries to a timestamped file.
Apr 26, 2026288 B10 lines
PreviewDownload
Python
v1.4
image_to_ascii.py
Renders an image as monochrome ASCII art scaled to the terminal width.
May 16, 2026276 B10 lines
PreviewDownload
AppleScript