Skip to content

Instantly share code, notes, and snippets.

View realmaxc's full-sized avatar
🤒
Out sick

Max Collins realmaxc

🤒
Out sick
  • Boston, MA
  • Joined Jul 8, 2026
View GitHub Profile
@realmaxc
realmaxc / vimrc-min.vim
Last active July 8, 2026 15:48
minimal vimrc I start every box with
set number relativenumber
set expandtab shiftwidth=2 tabstop=2
syntax on
set ignorecase smartcase
@realmaxc
realmaxc / json-pretty.md
Created July 8, 2026 15:39
pretty-print JSON from the shell
curl -s https://api.example.com | python3 -m json.tool
jq . file.json
@realmaxc
realmaxc / git-cleanup.sh
Created July 8, 2026 15:30
delete merged local branches
#!/usr/bin/env bash
git branch --merged main | grep -vE '^\*|main|master' | xargs -r git branch -d