~/scripts

snippets, one-liners, and things I keep forgetting

platform:
shell:
json windows
❯ Windows Terminal Rainbow Tabs

Auto-open eight color-coded Windows Terminal tabs on launch, one per project, arranged as a ROYGBIV rainbow with matching tab and terminal-background colors.

bash linux
❯ SCP Through a Jump Host

Copy a file from a server that's only reachable through a bastion/jump host down to your local machine using scp with ProxyJump.

bash linux
❯ Fetch CouchDB User Document

Fetch a user document directly from the CouchDB content database by document ID.

bash linux
❯ Redis Session Scanner

Scan Redis sessions by emplid or find stale sessions (TTL > 8 hours), with an optional delete mode.

autohotkey windows
❯ AutoHotkey Utility Macros

Key remapping with randomized delays and a rapid-click macro using AutoHotkey v2.

bash linux
❯ Run ComfyUI

Launch ComfyUI from the local scripts directory.

bash linux
❯ Run Silly Tavern

Launch SillyTavern from the local scripts directory.

bash linux
❯ Run Bujo Daily Page

Dump recent conversations and create/update today's bullet journal page in trevorbennett.us.

powershell (admin) windows
❯ Restart Windows Camera FrameServer

Restart the Windows Camera Frame Server service. Must be run in an Administrator PowerShell session.

powershell windows
❯ Signal Desktop (No GPU)

Launch Signal Desktop with GPU disabled to fix rendering issues on certain machines