Xerobit

Guides · page 10 of 14

Browsing 320 guides, newest first.

Dev Productivity

Password Policy Guide: NIST 2024 Guidelines and Modern Best Practices

NIST SP 800-63B 2024 updated password guidelines: no mandatory rotation, no complexity rules, require minimum 15 characters, check against breached passwords. Learn modern...

5 min read
Encoding & Crypto

What Makes a Password Strong? Entropy, Meters and Real Attacks

Password strength is measured in entropy bits, the log₂ of possible combinations. Here's how strength checkers work, what scores mean, and why some 'strong' passwords fail...

6 min read
Dev Productivity

Patch File Format: How .patch Files Work and How to Apply Them

Patch files contain diff output you can apply to source files. Here's how the unified diff format used in .patch files works, how to create patch files with git and diff, and...

4 min read
Dev Productivity

Phone Number Regex: Validate and Extract Phone Numbers

Phone number regex patterns for validation and extraction. Covers US phone numbers, international E.164 format, extraction from text, and why regex alone isn't enough for...

4 min read
Frontend & Design

PNG Compressor Online: Reduce PNG File Size Without Losing Quality

PNG compression reduces file size without losing image quality through lossless compression. Here's how PNG compression works, when to use PNG vs JPEG, and how to compress PNG...

5 min read
Frontend & Design

PNG to ICO: Convert Images to Favicon Format

PNG to ICO conversion creates the favicon.ico file browsers look for by default. Here's what ICO format is, why you still need it in 2026, and how to convert PNG correctly.

5 min read
Dev Productivity

Programming Naming Conventions: camelCase, PascalCase, snake_case by Language

Different programming languages have different naming convention standards. Here's the official naming convention for variables, functions, classes, and files in JavaScript,...

6 min read
Frontend & Design

PX to REM Conversion: Formula, Table, and CSS Custom Properties

Convert pixel values to rem using the formula rem = px / base-font-size. Includes a quick reference table for common values, the 62.5% root font-size trick, and how to use CSS...

4 min read
Encoding & Crypto

QR Code Creator: Generate Custom QR Codes for Business Use

A QR code creator generates QR codes for business cards, menus, marketing materials, and product packaging. Here's how to create QR codes for specific business use cases with...

5 min read
Dev Productivity

QR Code Error Correction: L, M, Q, H Levels Explained

QR codes have four error correction levels: L (7%), M (15%), Q (25%), H (30%). Higher levels allow more damage tolerance but create larger/denser codes. Learn which level to...

4 min read
Dev Productivity

QR Code for Website: Generate a QR Code That Links to Your URL

A QR code for a website encodes the URL directly. Here's how to create one, what format to use for print vs digital, how to customize it, and best practices for placement.

5 min read
Frontend & Design

Reduce Image File Size: Compress Images Without Losing Quality

Reducing image file size for the web involves choosing the right format, compression level, and dimensions. Here's a systematic approach to getting images small without visible...

6 min read
Dev Productivity

Regex Email Validation: Patterns, Edge Cases, and Best Practices

Email validation regex needs to balance strictness with real-world email formats. Learn why the perfect email regex is impossible, pragmatic patterns that work, RFC 5322...

4 min read
Dev Productivity

Regex Lookahead and Lookbehind: Zero-Width Assertions Explained

Regex lookaheads and lookbehinds match positions without consuming characters. Here's how positive and negative lookahead/lookbehind work, with practical examples for password...

5 min read
Dev Productivity

Regex Named Capture Groups: ?<name> Syntax and Use Cases

Named capture groups in regex use (?<name>...) syntax to give match groups readable names instead of positional indexes. Learn named groups in JavaScript, Python, and practical...

4 min read
Dev Productivity

Regex Patterns: Ready-to-Use Patterns for Email, Phone, URL, and More

Ready-to-use regular expression patterns for validating emails, phone numbers, URLs, dates, credit cards, IP addresses, and more. Copy and adapt these patterns for your...

7 min read
Dev Productivity

Regex Quantifiers: *, +?, {n}, and Greedy vs Lazy Matching

Regex quantifiers control how many times a pattern matches: * (zero or more), + (one or more), ? (zero or one), {n,m} (specific range). Here's how each quantifier works and...

4 min read
Frontend & Design

REM-Based Typography: Scalable Font Sizes with rem Units

Using rem for font sizes creates accessible, scalable typography. Text inherits from the user's browser setting instead of a fixed pixel size. Here's how to set up rem-based...

5 min read
Frontend & Design

REM, PX, EM Units Explained: CSS Length Units Comparison

CSS has absolute units (px) and relative units (rem, em, %). Here's how rem, px, and em differ, when to use each, and how rem helps build accessible, scalable typography and...

5 min read
Frontend & Design

REM to PX Converter: Convert REM Units to Pixels

REM units scale relative to the root font size (usually 16px). Converting between REM and pixels requires knowing the base font size. Here's the math, use cases, and why REM is...

5 min read
Frontend & Design

Responsive Grid Layout: Build Grids That Work on Any Screen

Responsive CSS grids adjust column counts based on available space using auto-fill, minmax(), and media queries. Here's how to build grid layouts that work from mobile to desktop.

6 min read
Frontend & Design

Responsive Images with Correct Aspect Ratios: Prevent Layout Shifts

Images without explicit dimensions cause layout shifts (CLS). Here's how to prevent reflow using aspect-ratio, width/height attributes, and modern responsive image techniques...

5 min read
Dev Productivity

REST API Error Handling: HTTP Status Codes and Error Response Design

Design consistent REST API error responses using the right HTTP status codes. Learn the difference between 400 Bad Request, 404 Not Found, 409 Conflict, and 422 Unprocessable...

5 min read
Encoding & Crypto

ROT13 Uses: When and Why ROT13 Encoding Is Used

ROT13 rotates each letter by 13 positions in the alphabet. It's not encryption but is used for spoiler text, basic obfuscation, and email spam avoidance. Here's where ROT13 is...

4 min read