Developer Tools guides - page 4
How-to guides for developer tools.
DeveloperHow to Write a .gitignore File: Patterns, Negation and FixesLearn .gitignore pattern syntax, why negation sometimes fails, how to stop tracking files already committed, and how to build a good .gitignore for your stack. 5 min readDeveloperHow to Write a Robots.txt File (and What It Can't Do)Learn robots.txt syntax, how user-agent groups and Allow and Disallow rules are matched, how to handle AI crawlers, and why robots.txt does not hide pages. 5 min readDeveloperHow TOTP Two-Factor Codes Work, and Why They Sometimes FailUnderstand how authenticator apps turn a shared secret and the current time into a six-digit code, what otpauth links contain, and how to fix rejected codes. 6 min readDeveloperHTTP Status Codes Explained: 301 vs 302, 401 vs 403, 502 vs 504A practical guide to HTTP status code classes, the confusing pairs people mix up, and how to diagnose 4xx and 5xx errors from the client or the server. 6 min readDeveloperIBAN Structure and Check Digits Explained: How to Validate an IBANHow an IBAN is built, how the mod-97 check digits catch typos, lengths by country, JavaScript validation code, and why a valid IBAN does not prove who owns it. 7 min readDeveloperJSONPath Syntax Explained With Practical Filter ExamplesLearn JSONPath from the root $ to wildcards, slices, recursive descent and filters, with worked examples, RFC 9535 notes and how it compares with jq. 6 min readDeveloperLinux File Permissions Explained: What chmod 755 and 644 MeanUnderstand rwx permissions, octal numbers like 755 and 644, setuid, setgid and the sticky bit, and how to pick safe chmod values for files and folders. 7 min readDeveloperMIT vs Apache 2.0 vs GPL: How to Choose an Open Source LicenseCompare MIT, Apache 2.0, GPL, BSD, MPL and the Unlicense in plain English, learn what each one asks of users, and add a LICENSE file to your repository. 7 min readDeveloperREM vs EM vs PX in CSS: Which Unit to Use and How to ConvertHow rem, em and px differ, why rem respects user font settings, the px to rem formula, the 62.5% trick and when pixels are still the right choice. 6 min readDeveloperRSA Key Formats Explained: PKCS#1 vs PKCS#8 vs JWK and ConversionLearn what BEGIN RSA PRIVATE KEY, BEGIN PRIVATE KEY and JWK mean, which RSA key size to pick, and how to convert between formats with OpenSSL and Node.js. 7 min readDeveloperTints, Shades and Tones Explained: How to Mix Colour VariationsLearn the difference between tints, shades and tones, how mixing with white, black or grey works in code, and how to use each variation in a UI. 6 min readDeveloperTOML Syntax Explained: Tables, Arrays of Tables and JSON OutputSee how TOML tables, dotted keys, arrays of tables and dates turn into JSON, why a TOML file fails to parse, and how to convert TOML in code or a browser. 6 min readDeveloperURL Encoding Explained - Percent-Encoding, %20 vs + and Common BugsLearn what percent-encoding is, which characters must be escaped in a URL, when %20 or + means a space, and how to avoid double-encoding bugs in links. 6 min readDeveloperWCAG Color Contrast Explained: AA vs AAA and How the Ratio WorksWhat the WCAG contrast ratio measures, the 4.5:1, 3:1 and 7:1 thresholds, what counts as large text, and how to fix failing colours without losing your brand. 6 min readDeveloperWhat Is a CRC32 Checksum and How Do You Check One on a File?Learn how CRC-32 detects corrupted files, where it is used, how it differs from Adler-32, MD5 and SHA-256, and how to calculate it in a browser or code. 6 min readDeveloperWhat Is a JWT? How to Decode, Read and Verify a JSON Web TokenLearn how a JSON Web Token is built, what the exp, iat and sub claims mean, why decoding is not verifying, and how to debug expired or rejected tokens safely. 6 min readDeveloperWhat Is a MIME Type? Content-Type Headers and Fixing Wrong TypesLearn what MIME types are, how browsers and servers use the Content-Type header, why files download instead of opening, and how to set the right type. 6 min readDeveloperWhat Is a SHA-256 Hash and How Do You Generate or Check One?Learn what a cryptographic hash is, how SHA-1, SHA-256 and SHA-512 differ, how to verify a download checksum, and why plain hashes are wrong for passwords. 5 min readDeveloperWhat Is a User Agent String and How Do You Read One?Learn what a browser user agent string contains, why every browser claims to be Mozilla, how to decode one piece by piece, and why feature detection beats sniffing. 5 min readDeveloperWhat Is a UUID? Versions, Collision Odds and When to Use v4Learn how UUIDs and GUIDs are structured, what the version digit means, how unlikely a v4 collision really is, and when v7 or plain integers are a better key. 6 min readDeveloperWhat Is ASCII? Character Codes, Extended ASCII and UTF-8 ExplainedHow the 128 ASCII codes are organised, what control characters do, why extended ASCII is not one standard, and how ASCII fits inside Unicode and UTF-8. 6 min readDeveloperWhat Is Base64 Encoding and How Does It Work? A Practical GuideUnderstand how Base64 turns bytes into text, why output grows by a third, how Base64URL differs, and how to encode or decode text safely with UTF-8. 6 min readDeveloperWhat Is Neumorphism? How Soft UI Shadows Work in CSSHow neumorphic soft UI is built from two opposing box shadows, what flat, concave, convex and pressed mean, and how to keep soft buttons usable and accessible. 6 min readDeveloperWhat Is Prettier? How Opinionated Code Formatting WorksLearn what Prettier does, how print width and its few options shape your code, how it differs from a linter, and how to set it up in an editor, a repo and CI. 5 min read