Learn
Clear explanations of core developer concepts. Read the theory, then try it in a hands-on tool.
JWT Explained
A JWT is a compact, URL-safe token for securely passing claims between parties. It consists of a Base64URL-encoded header, payload, and cryptographic signature. This guide explains what each part contains, how signing works, and the difference between HS256, RS256, and ES256.
Try with:
HTTP Caching Guide
HTTP caching lets browsers and CDNs re-use responses without hitting the origin server. Cache-Control, Expires, ETag/If-None-Match, and Vary together form the caching contract. This guide explains each piece and when to use which strategy.
Try with:
HTTP Redirect Guide
HTTP 301, 302, 303, 307, and 308 all redirect the browser, but they differ in permanence and whether the HTTP method (POST/GET) is preserved. This guide explains when each code applies, the link-equity impact on SEO, and common missteps.
Try with:
Asymmetric Crypto Guide
Asymmetric cryptography uses a public/private key pair: one key to encrypt/sign, the other to decrypt/verify. RSA and ECDSA are the two major families used in JWTs, TLS, SSH, and WebAuthn. This guide compares their key sizes, speed, and use cases.
Try with:
What is Base64
Base64 converts binary data (images, files, cryptographic keys) into 64 ASCII-safe characters — making it safe for email, JSON, URLs, and HTML data URIs. This guide explains encoding, decoding, variants (standard/URL-safe/MIME), and common pitfalls.
Try with:
What is a MIME Type
A MIME type (media type) tells browsers and HTTP clients how to interpret a file — whether to render it as HTML, parse it as JSON, display it as a PNG, or download it. This guide covers the Content-Type header, common types, and the pitfalls that break rendering.
Try with:
How Hex Encoding Works
Hexadecimal (hex) turns every byte into 2 readable characters — A→41, 中→e4b8ad, 😀→f09f9880. Learn how string-to-hex conversion works under the hood, why developers use it for debugging, crypto hashes, and memory dumps.
Try with:
How Content-Disposition Works
The Content-Disposition HTTP header controls whether a file downloads or opens inline, and specifies the filename to save. Learn how attachment, inline, and filename* (RFC 5987) work, and why non-ASCII filenames break in older browsers.
Try with:
How SHA-256 Works
SHA-256 produces a fixed 256-bit fingerprint for any input, from a single word to a 10 GB file. It's the hash behind TLS certificates, Bitcoin mining, and Git object-IDs. Learn how it works at a conceptual level and why collision resistance matters.
Try with:
HTTP 4xx Client Errors
HTTP 4xx status codes mean 'the client sent something wrong.' 400 Bad Request, 403 Forbidden, 404 Not Found, 413 Payload Too Large, and 414 URI Too Long are the most common. This guide explains what triggers each, and what to check first.
Try with:
How CSS Gradients Work
CSS gradients generate smooth color transitions without any image files. Learn how linear-gradient, radial-gradient, and conic-gradient syntax works — angles, color stops, hard stops, repeating patterns, and Tailwind equivalents.
Try with:
How Duplicate Detection Works
Learn how duplicate-finding works — case-insensitive matching, whitespace trimming, frequency counting, and the difference between finding duplicates vs removing them. Covers the common real-world scenarios where duplicates cause data bugs.
Try with:
How to Convert CSV to JSON
Learn how to convert CSV (comma-separated values) to JSON in the browser, Python, Node.js, and Go. Covers header-mapping, nested-object flattening, and handling CSV quirks like embedded commas and quotes.
Try with:
How to Compress Images
Learn how image compression works — lossy vs lossless, how JPG/PNG/WebP compression differs, what quality setting to choose, and how to batch-compress images without losing visible quality.
Try with:
How to Merge PDFs
Learn how to merge multiple PDFs into a single document — online, free, and without uploading files. Covers page ordering, selective page ranges, and why client-side PDF tools are safer than upload-based services.
Try with:
How to Create a QR Code
Learn how to generate QR codes for URLs, text, WiFi credentials, vCard contacts, and more — with custom colors, error correction, and logo embedding. Everything runs client-side, no server needed.
Try with:
How to Extract Text from PDF
Learn how to extract plain text from PDF files — online, free, no upload. Covers the types of PDF (text-based vs scanned/image-based), why copy-paste fails on some PDFs, and how to automate extraction for hundreds of documents.
Try with:
How to Convert JSON to Excel
Learn how to convert JSON arrays to CSV/Excel spreadsheets — flatten nested objects, pick columns to keep, handle date formatting, and download CSV files that open correctly in Excel and Google Sheets.
Try with:
HTTP Expires Header Explained
The Expires response header tells browsers and CDNs a wall-clock deadline after which a resource is stale. Learn the exact HTTP-date format, four production-ready configurations (Apache, Nginx, Express, CDN), how Expires interacts with Cache-Control, and why max-age replaced it as the preferred caching directive.
Try with:
Encoding vs Encryption
Encoding and encryption both transform data, but they serve completely different purposes. Encoding (Base64, Hex, URL encode) is a reversible representation with no security — anyone can decode it. Encryption (AES, RSA) requires a key and is designed to keep data secret from unauthorised parties. Learn the key differences and which one to use for your use case.
Try with:
What is a Token
A token is the basic unit of text a large language model reads and generates — roughly 3–4 characters or about ¾ of a word in English. Models don't see words or letters; they see a sequence of token IDs produced by a tokenizer. Tokens drive both pricing (you pay per token) and limits (the context window is measured in tokens). This guide explains what a token is, how tokenization works, and why the same text costs different amounts across GPT, Claude, and Gemini.
Try with:
temperature vs top_p
temperature and top_p both control how random an LLM's output is, but they work differently and you should tune only one at a time. temperature rescales the whole probability distribution — higher means more surprising tokens. top_p (nucleus sampling) instead keeps only the most probable tokens whose cumulative probability reaches p, then samples among them. This guide explains the mechanics, when to use each, and why combining them causes unpredictable results.
Try with:
How Embeddings Work
An embedding turns a piece of text into a list of numbers (a vector) that captures its meaning, so that semantically similar texts end up close together in vector space. Embeddings are the foundation of semantic search, recommendation, clustering, and retrieval-augmented generation (RAG). This guide explains what an embedding is, how similarity is measured (cosine, dot product, Euclidean), and how vector databases use them.
Try with:
Context Window Explained
A context window is the maximum number of tokens an LLM can consider at once — your entire prompt plus the response it generates must fit inside it. Modern models range from 8k to 1M+ tokens. This guide explains what the context window is, how it differs from the max output limit, what happens when you exceed it, and practical strategies (chunking, summarization, RAG) to stay within it.
Try with:
What is RAG
RAG (Retrieval-Augmented Generation) is a technique that grounds an LLM in your own data: instead of relying only on what the model learned in training, you retrieve relevant documents at query time and feed them into the prompt as context. This reduces hallucination, lets the model cite fresh or private information, and avoids expensive fine-tuning. This guide explains how the RAG pipeline works and when to use it over fine-tuning.
Try with:
How bcrypt Works
bcrypt is a password-hashing function designed to be deliberately slow so that stolen password hashes are expensive to crack. It builds in a per-password salt (stopping rainbow tables) and a tunable cost factor you raise as hardware gets faster. This guide explains the anatomy of a bcrypt hash, why slowness is a feature, and how to choose a cost factor.
Try with:
What is HMAC
HMAC (Hash-based Message Authentication Code) proves both the integrity and authenticity of a message using a shared secret key and a hash function like SHA-256. It's what signs webhooks, AWS requests, and API payloads. This guide explains how HMAC works, why it's not encryption, and how it differs from a plain hash.
Try with:
What is a System Prompt
A system prompt is the instruction you give an LLM before the conversation starts — it sets the model's role, rules, tone, and output format for every reply that follows. This guide explains what a system prompt is, how it differs from a user prompt, and how to write one that makes the model behave consistently.
Try with:
Few-Shot vs Zero-Shot
Zero-shot prompting asks an LLM to do a task with no examples; few-shot prompting includes a handful of input→output examples to show the pattern. This guide explains the difference, when examples are worth the extra tokens, and how to choose and format them.
Try with:
What is Prompt Caching
Prompt caching lets you reuse a long, repeated prompt prefix — a system prompt, few-shot examples, or a fixed document — so later requests bill those tokens at a steep discount instead of full price. This guide explains how it works across OpenAI, Anthropic, and DeepSeek, and when it saves real money.
Try with:
How CORS Works
CORS (Cross-Origin Resource Sharing) is the browser mechanism that controls whether JavaScript on one origin may read a response from another. This guide explains the same-origin policy, preflight requests, the Access-Control-* headers, and how to fix the CORS errors that block your fetch calls.
Try with:
What is CSP
A Content-Security-Policy (CSP) is an HTTP response header that whitelists where a page may load scripts, styles, and other resources from — the single most effective defense against cross-site scripting (XSS). This guide explains how CSP works, the key directives, nonces vs hashes, and how to roll one out safely.
Try with:
MCP Explained
The Model Context Protocol (MCP) is an open standard that lets AI apps connect to external tools and data through one consistent interface. This guide explains what an MCP server is, how tools and resources work, the difference between stdio and HTTP/SSE transports, and how hosts like Claude Desktop and Cursor load a server.
Try with:
Structured Outputs Explained
Structured Outputs make an LLM return JSON that provably matches a schema you supply. This guide explains how strict mode works, why it beats plain JSON mode, the schema rules you must follow (object root, additionalProperties:false, all-required), and how it relates to function calling.
Try with:
PDF Metadata Explained
PDF metadata is the hidden information a PDF stores about itself — title, author, the application that created it, the library that produced it, and creation/modification dates. This guide lists every standard field, explains where it is stored (the Info dictionary and XMP), and answers the common questions: Creator vs Producer, how to view it, and how to remove it.
Try with: