Skip to content

Instantly share code, notes, and snippets.

View jeremyronking's full-sized avatar

Jeremy King jeremyronking

View GitHub Profile
@jeremyronking
jeremyronking / daily-update.sh
Created May 24, 2026 18:00
Launchd brew and npm updates
#!/bin/zsh
#
# daily-update.sh — keep Homebrew packages and global npm packages up to date.
#
# ─── What this script does ─────────────────────────────────────────────────
# 1. brew update — refresh Homebrew's package metadata
# 2. brew upgrade — upgrade installed formulae/casks
# 3. brew cleanup — remove old versions and caches
# 4. npm update -g — update global npm packages within their semver ranges
# (does NOT bump major versions; that requires
@jeremyronking
jeremyronking / statusline.sh
Last active March 6, 2026 14:56
Claude Code Status Line - Enhanced statusline showing model, mode, context usage, token counts, session cost, API limits with reset times, and git branch
#!/bin/bash
# ==============================================================================
# Claude Code Status Line
# ==============================================================================
# This script creates a rich status line for Claude Code showing:
# - Current model being used
# - Mode (if in plan/edit mode)
# - Context window usage percentage
# - Token usage (input/output totals for the session)
# - Session cost in USD