GrepBoard — Step-by-step manuals for AI tools, Linux, logs and storage — each one with the exact commands, prompts and output.
Latest 51
- Retry Gemini API 429 and 503 Errors with Backoff
429 RESOURCE_EXHAUSTED and 503 UNAVAILABLE need different handling. A Python retry function with backoff and jitter, tested on a fake server.
Ubuntu 24.04 · Python 3.12.3 (stdlib) · tested against a local fake server · error classes per Gemini API docs, 2026-10 - Run codex exec non-interactively in CI
Defaults and flags for codex exec in CI: sandbox and approval, --json, -o, --output-schema, stdin waits, CI auth, and the MCP tool-call cancellation limit.
Codex CLI 0.163.0 · Ubuntu 24.04 · Node 24 · only the parts that work without login were tested · 2026-10 - See which process is listening on a port
List listening TCP sockets with their processes, narrow to one port, and check that firewalld lets that port through.
ss (iproute2) · Ubuntu 24.04 output · firewalld per RHEL 9 and firewalld docs (same family as Rocky 9) - Show the model and context usage in the Claude Code status line
Build a status line that shows the model name and context usage below the prompt: stdin JSON, the settings.json entry, null handling and re-run triggers.
Claude Code 2.1.302 · Ubuntu 24.04 · bash 5.2 · jq 1.7 · script run directly, on-screen behavior per the official docs - Split ChatGPT custom instructions, memory and projects
Compare the scope of ChatGPT custom instructions, memory and projects in one table, then see what to put in each, with example text and how to delete memory.
ChatGPT · per OpenAI Help Center · 2026-10 - Summarize a Too-Long Claude Chat and Hand It to a New One
When a chat hits its length limit, ask for a handoff note, check its numbers against the original with grep, then paste it into a new chat and keep going.
claude-sonnet-5-5 · Claude Code 2.1.302 (claude -p) · Ubuntu 24.04 · 2026-10-19 · claude.ai UI per official help pages - Tell a stray print() from "MCP error -32000: Connection closed"
Reproduce three ways a print() in a Python stdio MCP server behaves, see what actually causes MCP error -32000, and move the logging to stderr.
Claude Code 2.1.302 · Python 3.12.3 · mcp 2.3.0 · @modelcontextprotocol/sdk 1.32.1 · Node.js 24 · Ubuntu 24.04 - Tell the cause of an Nginx 502 Bad Gateway from error.log
The access log only says 502. Match four error.log messages to their causes and the command that confirms each, and tell them apart from a 504.
Ubuntu 24.04.5 · Nginx 1.24.0 · Python 3.12 (test backends) - Verify an AI answer's citations with Crossref and PubMed
Check the DOIs in an AI answer on Crossref for existence, title, author and year, then read the PubMed abstract to confirm the paper supports the claim.
Claude Code 2.1.302 · claude-sonnet-5-5 · curl · Python 3 (2026-10-19) - Where Gemini CLI reads settings.json and which file wins
Find where Gemini CLI reads settings.json, which of the user, project and system files overrides which, and why a project's settings can be ignored entirely.
Gemini CLI 0.64.0 · Ubuntu 24.04 · Node 24 - Write a logrotate config and test it before using it
Write a logrotate config for an app log, preview it with -d, force a run with -f and a state file, and check the result. Covers copytruncate versus postrotate.
logrotate 3.21.0 · Ubuntu 24.04 · systemd 255