Xerobit

Guides · page 3 of 14

Browsing 320 guides, newest first.

Encoding & Crypto

JWT Refresh Token: Implement Sliding Sessions with Refresh Tokens

Refresh tokens extend JWT sessions without requiring re-login. Learn how to implement a refresh token flow with short-lived access tokens, secure httpOnly refresh token...

5 min read
Encoding & Crypto

JWT vs Session Authentication: When to Use Each

JWT and session authentication have different tradeoffs. Sessions store state server-side; JWTs are stateless. Learn when stateless JWTs are genuinely useful, when sessions are...

5 min read
Dev Productivity

Kubernetes CronJob: Schedule Recurring Tasks in Kubernetes

Kubernetes CronJob runs containers on a cron schedule inside your cluster. Learn the CronJob spec, concurrency policy, job history limits, timezone support, and debugging...

5 min read
Dev Productivity

Lorem Ipsum Alternatives: Themed Placeholder Text for Every Project

Beyond Lorem Ipsum: discover Bacon Ipsum, Hipster Ipsum, Corporate Ipsum, Cupcake Ipsum, and developer-focused alternatives. Choose the right placeholder text generator for...

4 min read
Dev Productivity

Using Lorem Ipsum to Test CSS Layouts: Typography, Overflow, and Responsive Design

Lorem Ipsum placeholder text exposes CSS bugs that real content hides. Learn how to use varying text lengths to test word-wrap, overflow, line-height, responsive breakpoints,...

4 min read
Dev Productivity

Lorem Ipsum History: Where Did the Placeholder Text Come From?

Lorem Ipsum comes from Cicero's 'de Finibus Bonorum et Malorum' written in 45 BC. Learn the origin of this 500-year-old design staple, how it became standard in typesetting,...

4 min read
Dev Productivity

Lorem Ipsum HTML Templates: Placeholder Content for Common Components

Ready-to-use HTML templates with Lorem Ipsum placeholder content for cards, blog posts, navigation, forms, and e-commerce listings. Copy-paste these into your prototypes and...

5 min read
Dev Productivity

Generate Lorem Ipsum in JavaScript: Libraries and Custom Generators

Generate Lorem Ipsum placeholder text in JavaScript using faker.js, lorem-ipsum npm package, or a custom word-bank generator. Includes React hooks, Node.js scripts, and...

5 min read
Dev Productivity

Lorem Ipsum Meaning: Full Translation and What It Actually Says

Lorem ipsum isn't random nonsense, it's scrambled Cicero. Here's the full English translation, what each word means, and why it was deliberately made unreadable.

6 min read
Dev Productivity

Generate Lorem Ipsum in Python: faker, lorem, and Custom Generators

Generate Lorem Ipsum placeholder text in Python using the faker library, the lorem package, or a custom word-pool generator. Includes scripts for seeding test databases,...

5 min read
Encoding & Crypto

MD5 vs SHA-256: When to Use Each and When Not to Use MD5

MD5 is broken for security use cases but still useful for checksums and non-security hashing. SHA-256 is the modern standard for cryptographic integrity. Learn the differences,...

4 min read
Dev Productivity

Moment.js Alternatives: date-fns, Day.js, Luxon, and Temporal

Moment.js is deprecated. Compare modern alternatives: date-fns (tree-shakable functions), Day.js (2KB Moment drop-in), Luxon (immutable API), and the TC39 Temporal proposal....

5 min read
Frontend & Design

Multiple Box Shadows in CSS: Layer Shadows for Depth Effects

Layer multiple box-shadow values to create realistic depth, glow effects, and material design elevation. Learn CSS box-shadow syntax, neumorphism, neon glow, and performance tips.

4 min read
Dev Productivity

Next.js Image Optimization: next/image Component Guide

The Next.js Image component automatically optimizes images: serving WebP/AVIF, lazy loading, preventing layout shift with explicit dimensions, and resizing for responsive...

5 min read
Frontend & Design

OKLCH Color Space: Perceptually Uniform Colors for CSS

OKLCH is a perceptually uniform color space that makes predictable color palettes, consistent lightness, and accessible contrast easy. Learn the oklch() CSS function, how to...

4 min read
Data & Format

Parse CSV in JavaScript: PapaParse, csv-parse, and Manual Parsing

Parse CSV files in JavaScript with PapaParse (browser), csv-parse (Node.js), or the native streaming API. Covers headers, quoted fields, custom delimiters, and async streaming...

5 min read
Dev Productivity

Placeholder Text in Web Design: Why Lorem Ipsum Still Works

Placeholder text like Lorem Ipsum lets designers focus on layout without real copy. Learn when to use it, when to use realistic content instead, and how to generate placeholder...

4 min read
Frontend & Design

PWA Icons: Web App Manifest Icons, Maskable Icons, and Apple Touch Icons

Progressive Web Apps need icons in multiple sizes for home screens, app switchers, and splash screens. Learn how to configure web manifest icons, create maskable icons, and set...

4 min read
Dev Productivity

QR Code Size Guide: Minimum Size, Print Dimensions, and Scan Distance

QR code size determines scan reliability. Learn the minimum QR code size for print vs digital, how quiet zone affects scanning, optimal resolution for different use cases, and...

4 min read
Dev Productivity

JavaScript Regex Flags: g, i, m, s, u, and v Explained

JavaScript regex flags change how patterns match. Learn when to use global /g, case-insensitive /i, multiline /m, dotAll /s, unicode /u and the new /v flag, plus how the...

4 min read
Dev Productivity

Regex Replace in JavaScript: String.replace() and replaceAll() with Patterns

Master JavaScript regex replace: String.replace() with capture groups, replaceAll() vs global flag, using functions as replace values, and common patterns for sanitizing...

4 min read
Dev Productivity

Extract URLs from Text with Regex: Email and URL Extraction Patterns

Extract URLs and email addresses from plain text using regex. Learn battle-tested patterns for finding HTTP/HTTPS URLs, bare domains, and emails in log files, HTML, and user...

4 min read
Encoding & Crypto

ROT13 in Python: Encode, Decode, and Extend to ROT47

Implement ROT13 encoding in Python using codecs, str.translate, or a manual lookup table. Extends to ROT47 (all printable ASCII), ROT5 (digits), and ROT18 (combined). Includes...

4 min read
Encoding & Crypto

SHA-3 and Keccak Hash: The Next Generation Cryptographic Hash

SHA-3 (Keccak) is NIST's latest hash function, designed independently from SHA-2 to provide an alternative if SHA-2 is ever broken. Learn SHA-3 variants (224, 256, 384, 512,...

4 min read