Developer Tools guides - page 3
How-to guides for developer tools.
DeveloperHow to Minify HTML Safely and Measure What You Actually SaveLearn what HTML minification removes, which whitespace is safe to strip, how it compares with gzip, and how to minify a page without breaking layout. 6 min readDeveloperHow to Minify JSON to One Line and Why Sorted Keys HelpWhen compact single-line JSON is useful, how to minify it with JavaScript, jq or Python, why sorted keys give stable output, and number-precision traps. 5 min readDeveloperHow to Open JSON Data in Excel as a Proper TableLearn how JSON records map to spreadsheet rows and columns, how nested objects are flattened, and the easiest ways to get JSON into an Excel workbook. 6 min readDeveloperHow to Password Protect a Site or Folder With .htpasswdSet up HTTP Basic Authentication on Apache or Nginx with an .htpasswd file, choose bcrypt over legacy hashes, and keep staging sites from being exposed. 6 min readDeveloperHow to Read a cURL Command and Turn It Into Fetch or Python CodeUnderstand the curl flags in API docs and DevTools (-X, -H, -d, -F, -u), how each maps to fetch, axios or Python requests, and what gets lost in translation. 6 min readDeveloperHow to Read an SSL Certificate: Fields, Expiry and Chain OrderSee what each field in an X.509 SSL certificate means, how to check hostnames, expiry and fingerprints, and how to fix a certificate chain in the wrong order. 6 min readDeveloperHow to Read and Edit Minified CSS (and Minify It Again)Turn compressed CSS into readable rules, find the style you need with DevTools and source maps, edit it safely, and minify stylesheets again for production. 5 min readDeveloperHow to Read and Write Cron Expressions (With Real Examples)Learn what each of the five cron fields means, how lists, ranges and steps work, and how to avoid the time zone and day-matching traps that break jobs. 7 min readDeveloperHow to Save Excel as CSV With UTF-8, Semicolons or TabsLearn what really happens when you save Excel as CSV: which sheet is exported, delimiters, encodings, the UTF-8 BOM, line endings and displayed vs raw values. 5 min readDeveloperHow to Set Up 301 Redirects With .htaccess (and Nginx)Learn when to use 301 or 302 redirects, how .htaccess rewrite rules work, and how to force HTTPS, pick www or non-www and move domains without losing traffic. 5 min readDeveloperHow to Set Up SSH Key Authentication for a Server and GitHubCreate an Ed25519 SSH key pair, add the public key to a Linux server and GitHub, protect the private key with a passphrase, and fix common login errors. 6 min readDeveloperHow to Split a Large CSV File Into Smaller Files (With Headers)Break a big CSV into parts that fit upload limits or Excel's row cap: by row count, number of files or column value, with the header kept in every part. 6 min readDeveloperHow to Style CSS Buttons: Hover, Focus, Active States and AccessibilityBuild buttons that look good and work for everyone: the right element, padding and target size, hover and focus states, transitions and colour contrast. 6 min readDeveloperHow to Test and Debug Regular Expressions Without GuessworkLearn to build a regex in small steps, use flags, capture groups and lazy quantifiers correctly, avoid catastrophic backtracking, and test replacements safely. 6 min readDeveloperHow to Turn a CSV File Into JSON (Quotes, Delimiters and Types)Learn how CSV is parsed into JSON, why commas inside quotes and line breaks break naive scripts, and how to keep ZIP codes and IDs from turning into numbers. 5 min readDeveloperHow to Turn a Spreadsheet Into JSON Data for Apps and APIsUse Excel as the editing tool and JSON as the output. Learn header rows, number and date types, empty cells and multi-sheet workbooks, with code examples. 6 min readDeveloperHow to Turn JSON Into a TOML Config File (Nulls, Tables, Arrays)Learn how JSON objects and arrays become TOML tables and arrays of tables, what to do with null and root arrays, and how to write valid TOML config from data. 6 min readDeveloperHow to Unmarshal JSON Into Go Structs: Tags, omitempty, PointersMap JSON to Go structs the right way: exported fields, json tags, omitempty, pointers for null, int64 vs float64 and time.Time, with working examples. 6 min readDeveloperHow to Unminify JavaScript and Make Sense of Compressed CodeLearn what JavaScript minifiers change, what beautifying can and cannot recover, how source maps and DevTools help, and how to format JS code consistently. 5 min readDeveloperHow to Use CSS clip-path: Polygons, Circles, Insets and AnimationA practical guide to CSS clip-path shapes, how polygon coordinates work, animating between shapes, and fixing clipped shadows, borders and click areas. 6 min readDeveloperHow to Validate API Responses in TypeScript With Zod SchemasTypeScript types disappear at runtime. Learn how Zod schemas check real API data, how parse and safeParse differ, and how to build a schema from sample JSON. 6 min readDeveloperHow to Validate JSON and Read Parser Error Messages CorrectlyLearn what JSON validation checks, how to decode "unexpected token at position" errors, why the reported line can mislead, and how to validate in scripts or CI. 6 min readDeveloperHow to Verify a Webhook HMAC Signature (and Why It Fails)Learn what an HMAC is, how webhook providers sign payloads, how to verify signatures safely in Node.js, and the raw-body and encoding mistakes that break them. 6 min readDeveloperHow to Verify File Integrity With Checksums on Any Operating SystemUse checksums to confirm downloads, backups and file copies are intact: commands for Windows, macOS and Linux, SHA256SUMS files, and what they can't prove. 6 min read