Escaping HTML Entities Before User Text Hits a Page
TL;DR / Summary: Entity escaping is an output decision, not an input cleanup step. Escape the five characters that can change markup at the moment you render, keep the raw…
TL;DR / Summary: Entity escaping is an output decision, not an input cleanup step. Escape the five characters that can change markup at the moment you render, keep the raw…
TL;DR / Summary: A config diff full of duplicated lines is usually a merge artefact, not a real change. Sort and deduplicate each file into a working copy, compare the…
TL;DR / Summary: A hex colour that looks fine on your calibrated monitor can fail contrast on a cheap laptop. Convert pairs of hex values into relative luminance, check the…
TL;DR / Summary: Most YAML deploy failures are indentation mistakes that look valid until the parser nests a key under the wrong parent. Validate structure before you push, compare against…
TL;DR / Summary: Line endings look invisible and cause real breakage: shell scripts fail with a carriage return, git shows every line as changed, and Windows tools double-space output. Convert…
TL;DR / Summary: Minifying JSON before a deploy saves bandwidth and hides the one thing you need when a config breaks. Minify the artifact, keep the readable source, and always…
TL;DR + Summary: Test fixtures with random values are hard to debug, and fixtures with hard-coded dates become stale. Generate stable, readable values that look real, and make them deterministic…
TL;DR / Summary: A CSV export that opens with one column containing everything is a delimiter problem, and a CSV that turns phone numbers into scientific notation is a formatting…
TL;DR: Before you run an installer from a mirror, hash the file and compare it to the vendor’s published digest—character by character. Normalize hex case and algorithm names, and use…
TL;DR: Decoding a JWT in the browser shows claims; it does not prove they are authentic. Use a debugger to read header and payload while troubleshooting, then verify signatures and…