Skip to content

Instantly share code, notes, and snippets.

View jerrod's full-sized avatar

Jerrod Blavos jerrod

  • Raleigh, NC
  • 15:39 (UTC -04:00)
View GitHub Profile
@jerrod
jerrod / new-mac.sh
Last active July 16, 2026 02:03
New Mac bootstrap — installs brew+gh, then hands off to private dotfiles machine-bootstrap
#!/usr/bin/env bash
# new-mac.sh — PUBLIC bootstrap stub for a brand-new Mac.
#
# curl -fsSL https://gist.githubusercontent.com/jerrod/6dcf3599587166c6de956de447314761/raw/new-mac.sh | bash
#
# The dotfiles repo is private, so this stub does only the three things that
# can't live there: install Homebrew, install gh, log in to GitHub. It then
# fetches bin/machine-bootstrap from the private repo and hands off — all the
# real setup (dotfiles, secrets, oh-my-zsh, brew bundle, gcloud, containers,
# tailscale) lives THERE, so this stub never needs to change.
@jerrod
jerrod / rails-test-suite-speedup.md
Created May 9, 2026 14:51
Rails Test Suite Speedup — investigation playbook

Rails Test Suite Speedup — Methodology

A skill / prompt for any Rails app where the test suite is too slow. Took one app from 120s → 36s wall-clock by walking this list. Use it as an investigation playbook, not a checklist — every project has a different worst offender, but the same handful of patterns produce most of the slowness.

The order matters: profile first, fix code-side, then attack infra. Throwing CPU at a slow suite buys you a 30 % discount on something you should have crushed at the source.


Step 1 — Profile, don't guess

@jerrod
jerrod / Procfile
Created July 18, 2020 15:21 — forked from 0xjmp/Procfile
How to set up a Rails and Webpack app for fun and profit
api: sh -c "cd api && bundle exec rails s -p5000"
nginx: /usr/bin/nginx -c nginx.conf
client: sh -c "cd client && npm start"