Developer Tools guides

How-to guides for developer tools. A fast toolbox for programmers and web developers. Format and validate JSON, convert between CSV, YAML and XML, decode JWTs, test regular expressions, minify or beautify code and generate CSS snippets. Everything runs client-side, so API keys and private data never leave your machine.

DeveloperAnatomy of a URL: Protocol, Host, Path, Query and FragmentA practical guide to the parts of a URL, how browsers normalise and encode them, how to strip tracking parameters, and how to parse URLs safely in code. 6 min readDeveloperCommon YAML Errors and How to Fix Them (Tabs, Colons, Types)Fix "bad indentation", tab and "mapping values not allowed" errors, understand YAML's implicit types such as NO and 1.10, and format YAML files consistently. 6 min readDeveloperCSS Grid Layout Explained: fr Units, minmax(), Lines and AreasLearn how CSS Grid tracks, fr units, minmax(), grid lines and template areas work, build responsive layouts without media queries, and pick grid or flexbox. 6 min readDeveloperCSS Keyframe Animations Explained: Timing, Fill Mode and PerformanceHow @keyframes and the animation shorthand work, transitions vs animations, easing and fill-mode explained, smooth performance and respecting reduced motion. 6 min readDeveloperCSS text-shadow Explained: Neon, 3D, Outline and Readable TextHow the CSS text-shadow syntax works, how stacking layers creates neon, 3D, outline and letterpress effects, and how to use shadows to improve readability. 5 min readDeveloperDataclass vs TypedDict vs Pydantic: Typing JSON Data in PythonCompare three ways to model JSON in Python: TypedDict, dataclasses and Pydantic. See how each handles validation, nested data, optional keys and camelCase. 6 min readDeveloperDocker Run vs Docker Compose: When and How to Switch to YAMLCompare docker run and Docker Compose, see how each run flag maps to compose.yaml, and move a container setup into a file without leaking passwords into Git. 6 min readDeveloperevent.key vs event.code vs keyCode: Handling Keyboard Events in JSLearn the difference between event.key, event.code and the deprecated keyCode, which to use for shortcuts, games and text, and how to avoid layout bugs. 6 min readDeveloperHEX, RGB, HSL and CMYK Colour Codes Explained (and Converted)Learn what HEX, RGB, HSL, HSV and CMYK colour codes mean, how to convert between them, why screen and print colours differ, and how to check text contrast. 6 min readDeveloperHow AES-GCM Encryption Works: Keys, IVs, Tags and PassphrasesUnderstand AES-256-GCM in plain terms: keys vs passphrases, why every message needs a fresh IV, what the auth tag does, and how to decrypt it in Node.js. 7 min readDeveloperHow Bcrypt Password Hashing Works and Which Cost Factor to UseUnderstand bcrypt's salt, cost factor and hash format, why SHA-256 is wrong for passwords, the 72-byte limit, and how to hash and verify in code. 7 min readDeveloperHow CSS Box Shadow Works: Offsets, Blur, Spread and LayersUnderstand every value in the CSS box-shadow property, how layered and inset shadows work, and how to design realistic, accessible shadows that perform well. 5 min readDeveloperHow JavaScript Minification Works, and Why Line Breaks MatterUnderstand minifying vs mangling JavaScript, how automatic semicolon insertion can break naive minifiers, and when to use a browser tool, Terser or esbuild. 5 min readDeveloperHow JSON Maps to XML - Root Elements, Arrays and AttributesLearn how JSON objects, arrays, nulls and invalid key names become XML elements and attributes, and how to get the exact XML shape a legacy system expects. 5 min readDeveloperHow Query Strings Encode Arrays and Nested Objects (No Standard)There is no standard for arrays in URLs. Compare a[]=1, repeated keys, indices and commas, see how PHP, Node.js and browsers parse them, and convert to JSON. 5 min readDeveloperHow String Escaping Works in JSON, JavaScript, HTML, SQL and RegexWhy quotes, backslashes and newlines need escaping, the rules for each format from JSON to CSV, and how to avoid double escaping and injection bugs. 6 min readDeveloperHow Subnetting Works: CIDR, Subnet Masks and Usable Host RangesLearn to read CIDR notation, work out network and broadcast addresses by hand, count usable hosts and split an IPv4 network into smaller subnets. 6 min readDeveloperHow Text Is Stored as Binary: ASCII, Unicode and UTF-8 ExplainedUnderstand how letters become ones and zeros, why ASCII uses 7 bits, how UTF-8 encodes accents, scripts and emoji in 1 to 4 bytes, and how to decode binary back. 5 min readDeveloperHow the Luhn Algorithm Validates Credit Card Numbers (With Code)A worked example of the Luhn mod-10 check, how card prefixes and lengths identify networks, reusable JavaScript, and why a valid number is not a real card. 6 min readDeveloperHow to Add Custom Brand Colors to Tailwind CSS (v3 and v4)Turn one brand colour into a full Tailwind 50-950 scale, learn why OKLCH gives even steps, and add it with @theme in v4 or tailwind.config.js in v3. 6 min readDeveloperHow to Beautify or Minify HTML Without Breaking the LayoutLearn how to indent messy or minified HTML, why whitespace between inline elements matters, what HTML minification really saves, and how to do both safely. 5 min readDeveloperHow to Calculate Aspect Ratio and Resize Without DistortionLearn how aspect ratios work, how to simplify any resolution, solve a missing width or height, and use the CSS aspect-ratio property to stop layout shift. 6 min readDeveloperHow to Combine Multiple CSV Files Into One When Columns DifferStack monthly exports into one CSV even when headers are in a different order, spelled differently or missing. Includes PowerShell, csvkit and pandas. 6 min readDeveloperHow to Compare Two JSON Files and Spot Real DifferencesWhy a line-by-line diff misleads for JSON, how a semantic JSON diff works, when to ignore array order, and how to compare JSON with jq, Node.js or a browser. 6 min read