Past fixes indexed by bottleneck pattern. Read the entry that matches your current timeout shape; skip the rest.
| # | Endpoint | Pattern |
|---|---|---|
| 1 | Redacted#orders | Post-join ILIKE → subquery short-circuit |
Past fixes indexed by bottleneck pattern. Read the entry that matches your current timeout shape; skip the rest.
| # | Endpoint | Pattern |
|---|---|---|
| 1 | Redacted#orders | Post-join ILIKE → subquery short-circuit |
| anyclaude () | |
| { | |
| ps -eo user,pid,tty,start,command | grep --color=auto -i claude | grep --color=auto -v grep | grep --color=auto -v Claude.app | grep --color=auto -v Zed | while read -r line; do | |
| pid=$(echo "$line" | awk '{print $2}'); | |
| cwd=$(lsof -d cwd -a -p "$pid" -Fn 2> /dev/null | awk '/^n/{print substr($0,2)}'); | |
| printf '%s [%s]\n' "$line" "${cwd:-?}"; | |
| done | |
| } |
These are general instructions for agentic AI usage shared across many systems
nix, but only uses nix flakes, not channels.nix shell to run it instead.| { pkgs, ... }: | |
| { | |
| cachix.enable = false; | |
| languages.python = { | |
| enable = true; | |
| venv.enable = true; | |
| venv.requirements = '' | |
| pillow |
The project uses devenv and has access to nix. If a tool is not available, check if its provided via the devenv packages or reference it using a nix shell.
When running commands, you usually will want to do so through devenv shell to ensure bundler and gems are setup properly.
If a tool is used frequently, suggest adding it to the devenv packages.
| package util | |
| import "errors" | |
| // https://christine.website/blog/gonads-2022-04-24 | |
| type Option[T any] struct { | |
| value *T | |
| } |
| // vibe coded alternative to run in dev console | |
| (async function resilientAutoClick() { | |
| const pollInterval = 100; | |
| const shortPause = 250; | |
| function sleep(ms) { | |
| return new Promise(r => setTimeout(r, ms)); | |
| } | |
| // Poll until you find the selector—never times out |
| #!/usr/bin/env ruby | |
| IN_FILE = ARGV[0] | |
| OUT_FILE = ARGV[1] | |
| def usage | |
| puts <<-EOF | |
| USAGE: fix.rb {INFILE} {OUTFILE} | |
| EOF | |
| end |
Current nix packages only supports Sonarr 3. It also downloads the release artifact instead of compiling from source.
NOTE(jpr): this version expects nix-npm-buildpackage to be accessible via its overlay.
| #!/usr/bin/env ruby | |
| require 'json' | |
| filename = 'iterm_colors.json' | |
| mappings = [ | |
| "black", | |
| "red", | |
| "green", |