Jq cookbook for API JSON - select, map, group_by, null-safe access with //, CSV output,…
Jq cookbook for API JSON - select, map, group_by, null-safe access with //, CSV output, --arg for shell variables, JSON Lines and common errors
Jq cookbook for API JSON - select, map, group_by, null-safe access with //, CSV output, --arg for shell variables, JSON Lines and common errors
Fix Python JSONDecodeError Expecting value - print status and body, HTML and empty responses, BOM, NDJSON, truncated bodies, retry rules
Fix Node ESM and CommonJS errors - import outside module, require not defined, __dirname, ERR_REQUIRE_ESM, extensions, JSON imports, nodenext
Fix Pydantic v2 ValidationError - read loc and type, Optional needs default, strict vs lax, v1 to v2 renames, validators, BaseSettings move
Find the breaking commit with git bisect - good/bad marking, git bisect run, exit code 125 skip, first-parent, reset, bug report evidence
Fix CSV problems - csv module not split, newline and BOM handling, cp1252, delimiter sniffing, keep leading zeros, Excel export, formula injection
Curl debugging recipes - status and timing breakdown, follow redirects, --resolve to test an origin, TLS details, JSON POST, retries, exit codes
Fix Python shared-state bugs - mutable default arguments, dataclass default_factory, class attribute sharing, shallow vs deep copy
SQL NULL pitfalls - = NULL never matches, NOT IN with NULL returns nothing, aggregates skip NULL, joins, sort order and UNIQUE behaviour
Fix JavaScript async bugs - missing await, forEach with async, serial vs parallel awaits, Promise.all vs allSettled, unhandled rejections
Fix Python datetime bugs - naive vs aware, UTC storage, DST gaps and folds, fromisoformat with Z, timestamps
Run commands safely in Python - list args vs shell=True injection, check, timeouts, pipe exit codes, output
SQL window functions cookbook - running totals, top-N per group, rank vs row_number, LAG, moving average, frame traps
Undo Git mistakes - reflog after reset --hard, soft reset, revert pushed commits, restore, recover deleted branches
Resolve Git merge and rebase conflicts - markers, checkout --theirs, abort, continue, ours/theirs swap in rebase
Fix Node fetch failed - read error.cause, AbortSignal.timeout, fetch not throwing on 500, Retry-After retry loop
Fix Python asyncio - never awaited coroutine, blocking the loop, gather return_exceptions, wait_for, Semaphore, cancel
Fix Python logging - basicConfig no-op, duplicate lines from propagation, lazy formatting, logger.exception, JSON logs
Validate JSON with Python jsonschema - iter_errors paths, required, additionalProperties, format checker, bool vs integer
Retry HTTP calls safely in Python - exponential backoff, full jitter, urllib3 Retry, Retry-After, POST and idempotency keys
Python regex cookbook - findall group surprises, named groups, sub callables, lookarounds, greedy vs lazy, $ vs end anchors
Fix Python ImportError - circular imports, local file shadowing stdlib, ModuleNotFoundError, python -m for packages
Text processing from the shell - awk column sums and filters, dedupe with seen[$0]++, sed substitution and -i.bak edits, CSV traps
Find files and act on them safely - find -print0 | xargs -0, -exec + vs ;, -delete ordering, name filters, grep -F/-E/-P choices