Cloud Explainers

How API Webhooks Work

APIs10 min video

How API webhooks work, for beginners, with a real GitHub webhook calling a small Flask app on a laptop: polling vs webhooks measured, what GitHub sends (headers, body, signature), why anyone can call your URL and how an HMAC signature stops them, why you must answer within 10 seconds, and what to do about missed and repeated deliveries.

How API Webhooks Work, the full picture: diagram of GitHub, Cloudflare tunnel, Flask receiver, your site, the secret, your laptop
The whole picture, from the video's recap.

Polling vs a webhook

Your app needs to know when new code lands on GitHub. So every five seconds, it asks: anything new? Eight checks. Seven said no.

laptop: ~/work
poll.sh19:34:07 check 1: nothing new
19:34:12 check 2: nothing new
19:34:18 check 3: nothing new
19:34:23 check 4: nothing new
19:34:28 check 5: nothing new
19:34:34 check 6: nothing new
19:34:39 check 7: nothing new
19:34:45 check 8: new commit 9ac4f38

It's the API version of: are we there yet? A webhook flips it around: GitHub calls your app, the moment it happens.

We built both, for real, and timed them. The webhook took one request, and 1.8 seconds after the push, the site was already updated.

The same kind of push, two ways: comparison table of Polling vs Webhook, Who asks, Requests, After the push

Along the way, a fake request will deploy your site, meaning put new code live. And a deploy that worked will get counted as a failure.

Polling every five seconds, all day, is seventeen thousand two hundred and eighty requests, nearly all of them to hear: nothing new. And you can still hear about a push five seconds late, unless you ask even more often.

Polling vs a webhook: figure of 17,280 requests a day, polling every 5 seconds

Picture waiting for a parcel. Polling is walking to the mailbox every five minutes. A webhook is the doorbell: the courier rings it when the parcel is there. You only need two things: give them your address, and answer the door.

Your first webhook

So what is a webhook, exactly? It's an ordinary web request that a service sends to a URL you gave it, when an event happens. You set it up once, with three things: the URL, the events you want, and a secret: a shared password. We'll see what it's for soon. On your side, you run a small web app that listens at one address for these requests. We'll call it the receiver.

You've likely met webhooks already: Stripe telling a shop a payment went through, or a form service sending each new signup.

Webhooks you've already met: diagram of Stripe, a form service, your app

Two web words before we build one. GET asks for something; POST sends something, and a webhook is a delivery, so it's a POST. And every answer starts with a three-digit status code. 200 means OK: got it. We'll meet a few others along the way.

Two words: POST, and a status code: comparison table of What it means vs In a webhook, GET, POST, Status code, 200

Here's a receiver, in Python with Flask. One route: slash webhook, for POST requests. It reads two headers, short labels that come with the request: which event this is, and a delivery id, a label GitHub puts on each message it sends. On a push, it deploys: it pulls the new code into your site. Then it answers 200, which means: got it.

GitHub can't reach a laptop at home. So for testing, we run a free Cloudflare quick tunnel. It gives us a random public web address. We save that address in a variable called URL, for the next command. Anything sent to it gets passed through to the receiver on the laptop. No account needed. On a real server, you'd skip this step. And the receiver itself runs in a second window.

laptop: ~/work
cloudflared tunnel --url localhost:5000 > ~/tunnel.log 2>&1 &[1] 398
laptop: ~/work
URL=$(grep -o 'https://[a-z0-9-]*\.trycloudflare\.com' ~/tunnel.log); echo $URLhttps://sept-vehicles-trembl-makeup.trycloudflare.com
laptop: ~/work
python3 hook.pylistening on port 5000
19:35:14  ping  a8e56dc6  200
19:35:18  push  aae138bc  200  deployed 0d49431
19:35:20  push  ?  200  deployed 0d49431

Now give GitHub the three things, with its API: the URL, the push event, and the secret. The secret is just a long random password, saved in a file. Only we and GitHub know it. GitHub answers with the new webhook's id. And straight away, it sends a first test event, called a ping. The receiver got it: 200.

laptop: ~/work
export HOOK=$(gh api repos/$REPO/hooks --jq .id \
  -f config[url]=$URL/webhook -f config[content_type]=json \
  -f config[secret]=$(cat ~/.hook-secret) -f events[]=push); echo $HOOK720245752
laptop: ~/work
19:35:14  ping  a8e56dc6  200
laptop: ~/work
jq '.body | {zen, hook_id}' ~/app/last.json{
  "zen": "Practicality beats purity.",
  "hook_id": 720245752
}

Now a real push, which uploads a new commit to GitHub. Commit, push, and 1.8 seconds later, the receiver logs it: a push event, and it deployed the new commit. Nobody asked. GitHub called.

laptop: ~/work
echo '<p>New: gift cards</p>' >> index.html
laptop: ~/work
git commit -qam "Add gift cards" && git push -q
laptop: ~/work
19:35:18  push  aae138bc  200  deployed 0d49431

What did GitHub actually send? First, the headers, all the labels this time. The event's name: push. A delivery id, unique to this delivery. And a signature. Keep that one in mind.

laptop: ~/work
jq '.headers | with_entries(select(.key | test("^X-(Github|Hub)"; "i")))' ~/app/last.json{
  "X-Github-Delivery": "aae138bc-ef50-11f1-8673-1a4d99527225",
  "X-Github-Event": "push",
  "X-Github-Hook-Id": "720245752",
  "X-Github-Hook-Installation-Target-Id": "1482585101",
  "X-Github-Hook-Installation-Target-Type": "repository",
  "X-Hub-Signature": "sha1=831f0feee84096fa30d7f9259244d294e26ebe8c",
  "X-Hub-Signature-256": "sha256=27384a150dea2ce28cce35932343a7011fe6382ce8dcd64037e23b888e744e9c"
}

Then the body, in JSON: which branch, the new commit, and its message. A push sends much more than this. Your app reads what it needs and ignores the rest. And GitHub keeps its own record of every delivery. A small helper script we wrote, called deliveries, shows it: two deliveries, the ping and the push, both answered 200. For the push, GitHub timed under a second from sending to getting our 200, deploy included.

laptop: ~/work
jq '.body | {ref, after, message: .head_commit.message}' ~/app/last.json{
  "ref": "refs/heads/main",
  "after": "0d49431ea63dd1f10abca28a836ae960c9c61e60",
  "message": "Add gift cards"
}
laptop: ~/work
deliveries 219:35:18  push  200  0.96  aae138bc
19:35:14  ping  200  0.21  a8e56dc6

Anyone can call your URL

Here's the catch. Your URL is just an address, and anyone who finds it can send a request. This push doesn't come from GitHub. We send it ourselves, with curl, a command-line tool for web requests. Guess first: does the receiver deploy? It does. 200, deployed. Your app can't tell who called.

laptop: ~/work
cat fake.json{"ref": "refs/heads/main", "after": "0000000000000000000000000000000000000000", "head_commit": {"message": "not from GitHub"}}
laptop: ~/work
curl -X POST $URL/webhook -H 'X-GitHub-Event: push' --json @fake.json -w ' %{http_code}\n'ok 200
laptop: ~/work
19:35:20  push  ?  200  deployed 0d49431

That's what the secret is for. GitHub mixes the secret and the exact bytes of the body into a short signature, like a fingerprint. Only someone with the secret can make that same signature. The method is called HMAC-SHA256. GitHub sends it in the signature header. Your receiver makes its own signature from the body it got, and compares. Change one byte, and they don't match.

The signature: HMAC-SHA256 of the body: diagram of the body, the secret, HMAC-SHA256, the signature, compare

In Python, it's a few lines. Make the signature from the raw body and the secret. Then compare it with the header, using Python's compare digest. It's a safe compare: it takes the same time whether the first character differs or the last, so an attacker can't guess the signature by timing your answers. If they don't match, answer 401, unauthorized, and stop.

Restart the receiver with the check in place, and send the fake again: 401, bad signature. Now a real push: signature OK, deployed.

laptop: ~/work
curl -X POST $URL/webhook -H 'X-GitHub-Event: push' --json @fake.json -w ' %{http_code}\n'bad signature 401
laptop: ~/work
19:35:22  push  ?  401  bad signature

One mistake catches a lot of people. Flask hands you the body already unpacked into Python data, and it's tempting to turn that back into JSON and check the signature on that. Let's try it, and push a real commit. 401: GitHub's real push fails, in its own record too. Python writes JSON its own way, the spacing can differ, and those aren't the bytes GitHub signed. Always check the signature on the raw bytes, exactly as they arrived.

laptop: ~/work
git commit -qam "Holiday hours" && git push -q
laptop: ~/work
19:35:30  push  b2b4ae0c  401  bad signature
laptop: ~/work
deliveries 119:35:30  push  401  0.26  b2b4ae0c

Answer within 10 seconds

What if the work takes a while? Say your deploy also builds the site, and the build takes twelve seconds. To fake that build, we add one line: wait twelve seconds, before the receiver answers.

Push. The receiver pulls the new code and builds it: 12.5 seconds in all. Everything worked. Guess first: what does GitHub record for this delivery? Failed. It waited ten seconds for an answer, then hung up: timed out.

laptop: the receiver
19:35:51  push  b763d126  200  signature OK, deployed 78d3efb in 12.5 s
laptop: the receiver
deliveries 119:35:48  push  500  10  b763d126
laptop: the receiver
gh api repos/$REPO/hooks/$HOOK/deliveries --jq '.[0].status'POST https://sept-vehicles-trembl-makeup.trycloudflare.com/webhook giving up after 1 attempt(s): Post "https://sept-vehicles-trembl-makeup.trycloudflare.com/webhook": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

GitHub's docs say so: answer within ten seconds, or the delivery counts as a failure.

The fix: answer first, do the work after. The receiver checks the signature, then hands the deploy to a background thread: a separate piece of work that runs on its own. So it can answer 202 straight away, which means: accepted, I'll get to it. In a bigger app, you'd put the job on a queue, for another program to pick up.

Push again. 202, in 0.09 seconds, and GitHub records a success. The build still takes 12.6 seconds, but now nobody is waiting on it.

laptop: the receiver
19:35:59  push  c3b04676  202  signature OK, queued
laptop: the receiver
deliveries 119:35:59  push  202  0.09  c3b04676

Missed and repeated deliveries

What if your server is down at the exact moment GitHub calls? Stop the receiver, and push. GitHub gets an error from the tunnel: 502, bad gateway, meaning nobody answered behind it. We wait five minutes. Still just one attempt. That push is simply missed.

laptop: ~/work
git commit -qam "Phone number" && git push -q
laptop: ~/work
deliveries 119:36:14  push  502  0.28  cd042792
laptop: ~/work
deliveries 319:36:14  push  502  0.28  cd042792
19:35:59  push  202  0.09  c3b04676
19:35:48  push  500  10    b763d126

That's by design. GitHub's docs: it does not redeliver failed deliveries automatically.

So once the receiver is back, you ask for it again, with GitHub's command-line tool, gh: one API call with the delivery's number. The missed push arrives, and deploys.

laptop: ~/work
ID=$(gh api repos/$REPO/hooks/$HOOK/deliveries --jq '.[0].id'); echo $ID3857581946076921856
laptop: ~/work
gh api -X POST repos/$REPO/hooks/$HOOK/deliveries/$ID/attempts{}
laptop: ~/work
19:41:32  push  cd042792  202  signature OK, queued

But a redelivery, or a service's automatic retry, can bring the same event twice. Stripe, for one, retries failed deliveries for up to three days, and says an event can arrive more than once. You don't want two deploys. So our receiver writes down every delivery id it handles, and skips any it has already seen.

Send that same request once more, as a retry would. Same delivery id, and the receiver skips it: already handled. GitHub's record shows one id sent three times: the attempt that failed, the redelivery that deployed, and this repeat, which was skipped. One deploy.

laptop: ~/work
gh api -X POST repos/$REPO/hooks/$HOOK/deliveries/$ID/attempts{}
laptop: ~/work
19:41:46  push  cd042792  200  already handled, skipped
laptop: ~/work
deliveries 319:41:46  push  200  0.33  cd042792
19:41:32  push  202  0.32  cd042792
19:36:14  push  502  0.28  cd042792

And since a delivery can be missed, many apps do both: webhooks for speed, plus a slow poll, maybe once an hour, to catch anything that never arrived. Or, like GitHub's docs suggest, a small script on a schedule that lists failed deliveries and redelivers them.

The four rules

So: a webhook is a POST to your URL when something happens. Check the signature on the raw body. Answer within ten seconds, and do the work later. And expect deliveries to go wrong: skip ids you've already handled, and redeliver the ones that never arrived.

Webhooks: four rules: cards of 1. A POST to your URL, 2. Check the signature, 3. Answer in 10 s, 4. Expect repeats and misses

If your app can hear a push now, instead of asking for one, subscribe for more of how the web really works. And a like helps YouTube show this to more beginners.

The receiver code, the helper scripts, and every command are linked in the description, so you can wire up a webhook of your own. Thanks for watching Cloud Explainers.

Sources

Demos: a laptop container, a private GitHub repository made for this video, and a free Cloudflare quick tunnel. The site is made up; every command, output and number was real. Watch the full video on YouTube.

More videos

Kubernetes10 min

Docker vs Kubernetes: What's the Difference?

HTTP & HTTPS11 min

Every HTTP Status Code You Need to Know

PostgreSQL8 min

How to Fix PostgreSQL 'Relation Does Not Exist' Errors

Git9 min

Git Merge vs Rebase: Which One Should You Use?

LLM infrastructure9 min

How LLM Tokens Work

Docker9 min

Docker Containers vs Virtual Machines: What's the Difference?

PostgreSQL9 min

MySQL vs PostgreSQL: Which One Should You Use?

Local LLMs (Ollama)15 min

Ollama: Full Tutorial for Beginners

GitHub Actions15 min

GitHub Actions: Full Tutorial for Beginners

Certificates & PKI (ADCS)8 min

How to Fix Certificate Errors: 'Your Connection Is Not Private'

AWS9 min

How the Amazon Ergo AI Model Works

LLM infrastructure9 min

How to Fix LLM API Rate Limit Errors (429)

LLM infrastructure9 min

RAG vs Fine-Tuning: Which One Should You Use?

Load balancing & Nginx24 min

Nginx: Full Tutorial for Beginners

Go (Golang)5 min

Golang go func(): Starting Goroutines in 5 Minutes

Terraform23 min

Terraform: Full Tutorial for Beginners

Go (Golang)5 min

Golang Generics ([T any]) in 5 Minutes

AWS9 min

How AWS Bedrock Works

LLM infrastructure8 min

How LLM Embeddings Work

Python9 min

How to Fix Python CUDA Memory Errors in PyTorch

Go (Golang)5 min

Golang Type Assertions in 5 Minutes

LLM infrastructure10 min

CPU vs GPU for LLM Inference: What Actually Changes

Google Colab (Jupyter notebooks in the cloud)15 min

Google Colab: Full Tutorial for Beginners

AWS8 min

Amazon Bedrock vs OpenRouter: Which One Should You Use?

Go (Golang)5 min

Golang Channels (chan) in 5 Minutes

Homelab & self-hosting21 min

Tailscale: Full Tutorial for Beginners

LLM infrastructure9 min

How RAG Works

Git11 min

Every Git Setting to Change on Day One

Linux9 min

WSL vs a Linux Virtual Machine: Which One Should You Use?

PostgreSQL9 min

Every PostgreSQL Setting to Change After You Install It

Docker9 min

What Happens When You Install Docker on Ubuntu

Python8 min

How to Fix Python 'Address Already in Use' Errors

Go (Golang)5 min

Golang Interfaces and Mocks in 5 Minutes

Git7 min

How to Fix Git 'Detached HEAD' State

Linux21 min

Linux Firewall with ufw: Full Tutorial for Beginners

Go (Golang)5 min

Golang defer Statements in 5 Minutes

Auth (OAuth, JWT)9 min

How to Fix OAuth 'invalid_grant' Errors

Databases & SQL11 min

The SQL Roadmap for Beginners

Go (Golang)5 min

Golang make() for Slices and Maps in 5 Minutes

Networking7 min

How to Fix Network 'No Route to Host' Errors on Linux

Linux6 min

How to Fix Linux 'Too Many Open Files' Errors

Django (Python web framework)11 min

Every Django Concept a Beginner Needs to Know

Linux24 min

SSH on Linux: Full Tutorial for Beginners

Go (Golang)5 min

Golang for range Loops in 5 Minutes

Databases & SQL10 min

SQL Databases: SQLite vs PostgreSQL

Django (Python web framework)10 min

The Django Roadmap for Beginners

Go (Golang)5 min

Golang Structs in 5 Minutes

Caching & Redis22 min

Redis: Full Tutorial for Beginners

Go (Golang)5 min

Golang context.Context in 5 Minutes

Databases & SQL7 min

How to Fix MySQL Database Error 1045: Access Denied for User

Go (Golang)5 min

Golang Method Receivers in 5 Minutes

Python8 min

How to Fix Python SSL: CERTIFICATE_VERIFY_FAILED Errors

Django (Python web framework)9 min

How to Fix Django Static Files Not Loading in Production

OpenRouter (one API for many AI models)8 min

OpenRouter vs Direct API Keys: Which One Should You Use?

Go (Golang)5 min

Golang if err != nil Checks in 5 Minutes

Go (Golang)8 min

How to Fix Golang 'go.mod File Not Found' Errors

AI agents & MCP22 min

MCP Servers: Full Tutorial for Beginners

Go (Golang)5 min

Golang Error Return Values in 5 Minutes

Python8 min

How to Fix Python ModuleNotFoundError: No Module Named

Go (Golang)5 min

Golang Pointers in 5 Minutes

Kubernetes8 min

How to Fix a Kubernetes Pod Stuck in CrashLoopBackOff

Homelab & self-hosting9 min

How to Fix a Homelab ESXi Host Not Responding

PostgreSQL24 min

PostgreSQL: Full Tutorial for Beginners

Load balancing & Nginx9 min

How a Load Balancer Works with HAProxy

Python9 min

How Python Virtual Environments Work

Homelab & self-hosting9 min

How to Fix Cloudflare Tunnel Errors in a Homelab

APIs9 min

How to Fix API CORS Errors: No 'Access-Control-Allow-Origin'

Auth (OAuth, JWT)9 min

How Authenticator App Login Codes Work (TOTP)

Git22 min

Git and GitHub: Full Tutorial for Beginners

Homelab & self-hosting10 min

How a Homelab Hypervisor Works (VMware ESXi)

Kubernetes9 min

How to Fix Kubernetes ImagePullBackOff Errors

DNS8 min

How to Fix DNS 'Temporary Failure in Name Resolution' on Linux

AWS8 min

How to Fix AWS CLI 'Unable to Locate Credentials'

Homelab & self-hosting10 min

Proxmox vs ESXi for Your Homelab: When Each One Wins

PostgreSQL10 min

PostgreSQL UUID vs Auto Increment: Which Primary Key Should You Use?

Kubernetes21 min

Kubernetes: Full Tutorial for Beginners

Networking9 min

How TCP Sockets Work

PostgreSQL7 min

How to Fix PostgreSQL 'Could Not Connect to Server'

Claude & the Claude Developer Platform9 min

Claude Code Hooks Will Finally Make Sense After This

DevOps & CI/CD9 min

DevOps with Ansible Will Finally Make Sense After This

Networking9 min

How SNMP Network Monitoring Works

Git8 min

How to Fix GitHub 'Permission Denied (publickey)' Errors

Docker21 min

Docker: Full Tutorial for Beginners

PostgreSQL7 min

How to Fix PostgreSQL 'Password Authentication Failed'

Linux8 min

Why One Linux Server Handles More Users Than You Think

Networking7 min

How to Fix Network 'Connection Refused' Errors

DevOps & CI/CD9 min

DevOps Pipelines: Jenkins vs GitHub Actions

Linux11 min

Linux Nginx Reverse Proxy: Full Tutorial for Beginners

Networking11 min

Every Networking Term a Beginner Needs in 12 Minutes

Docker6 min

How to Fix Docker 'Permission Denied' on docker.sock

Git7 min

How to Fix Git 'Updates Were Rejected' When You Push

Linux7 min

How to Fix nginx 502 Bad Gateway Errors on Linux

Linux8 min

How to Fix Linux apt 'Could Not Get Lock' Errors (Ubuntu)

Networking9 min

How Email Works on the Internet (SMTP) in 10 Minutes

Python8 min

The Python Roadmap for Beginners

Go (Golang)21 min

Golang REST API with Gin: Full Tutorial for Beginners

Networking10 min

How a WireGuard VPN Network Works

Linux9 min

Linux Makefiles Will Finally Make Sense After This

Auth (OAuth, JWT)9 min

SAML vs OAuth vs OpenID Connect: What's the Difference?

Python7 min

How to Fix Python cron Jobs That Never Run

Linux22 min

Linux Bash Scripting: Full Tutorial for Beginners

Networking10 min

How PXE Network Boot Works

Active Directory9 min

How Active Directory Works

Linux10 min

How to Fix a Linux systemd Service That Won't Start

Linux9 min

Linux Logs: syslog vs journald

Auth (OAuth, JWT)9 min

JWT vs Session Cookies: Which One Should You Use?

Docker10 min

Docker vs Docker Compose: Which One Should You Use?

Docker9 min

How to Fix Docker Compose Containers That Can't Talk to Each Other

Django (Python web framework)22 min

Django Full Tutorial for Beginners

Linux9 min

How Linux systemd Works

Networking8 min

How to Fix 'Windows Cannot Access' Network Share Errors (SMB)

APIs10 min

REST vs gRPC: Which One Should You Use?

Certificates & PKI (ADCS)9 min

How to Fix SSL Certificate Chain Errors (Missing Intermediate)

Python9 min

Every Python Concept for Beginners in 10 Minutes

Databases & SQL9 min

Every SQL Join Type in 10 Minutes

OpenRouter (one API for many AI models)9 min

Why OpenRouter Free Models Hit Their Limit So Fast

Gemini API & Google AI Studio9 min

Why Your Gemini API Free Tier Runs Out So Fast

OpenRouter (one API for many AI models)10 min

OpenRouter Will Finally Make Sense After This

Caching & Redis10 min

How Redis Caching Works

Gemini API & Google AI Studio10 min

Gemini API vs Vertex AI: Which One Should You Use?

Gemini API & Google AI Studio8 min

How to Fix a Leaked Gemini API Key

Go (Golang)9 min

Why Golang Uses Goroutines Instead of Threads

Gemini API & Google AI Studio9 min

How to Fix Gemini API Error 429: Resource Exhausted

Claude & the Claude Developer Platform10 min

Claude Token Pricing Will Finally Make Sense After This

Python11 min

Why Python Web Scraping Returns Nothing (and the Fix)

Python10 min

Python uv vs pip: Which One Should You Use?

Python22 min

Python Automation: Full Tutorial for Beginners

Auth (OAuth, JWT)9 min

How OAuth Login Works

Gemini API & Google AI Studio10 min

Google AI Studio Will Finally Make Sense After This

Docker10 min

What Happens When You Run a Docker Container

Claude & the Claude Developer Platform8 min

How to Fix Claude Code Billing Your API Key Instead of Your Plan

Auth (OAuth, JWT)9 min

Why Passkeys Can't Be Phished Like Passwords

PowerShell10 min

PowerShell vs Bash: Which One Should You Learn?

Linux10 min

The Linux Roadmap for Beginners

Django (Python web framework)9 min

Django vs FastAPI: Which One Should You Use?

Databases & SQL10 min

Why SQLite Is the Most Used Database in the World

Databases & SQL11 min

How a NoSQL Database Like MongoDB Works

Python11 min

How to Fix Python pip error: externally-managed-environment

Databases & SQL9 min

How to Fix MySQL Too Many Connections Database Errors

Go (Golang)9 min

Golang Concurrency Will Finally Make Sense After This

AWS10 min

How Amazon S3 Works

Kubernetes10 min

How Kubernetes Works

Git10 min

How Git Works

Docker10 min

How to Fix Docker Port Already Allocated Errors

PostgreSQL10 min

How PostgreSQL Works

Git8 min

How to Fix Git Merge Conflicts

Linux9 min

How to Fix No Space Left on Device in Linux

Networking10 min

How the Internet Works

Databases & SQL9 min

SQL vs NoSQL: When Each One Wins

Auth (OAuth, JWT)8 min

How to Fix JWT Token Expired Errors (401 Unauthorized)

Claude & the Claude Developer Platform9 min

Claude API vs Claude Pro: Why Your Subscription Doesn't Include It

AI agent skills9 min

Why AI Agent Skills Beat Giant Prompts

Linux10 min

Linux Cron Jobs Will Finally Make Sense After This

Cybersecurity10 min

Security Logs Will Finally Make Sense After This

Cybersecurity8 min

How to Fix a Security Leak: An API Key Pushed to GitHub

DNS9 min

DNS Will Finally Make Sense After This

Cybersecurity9 min

Never Ignore a Security Update

Auth (OAuth, JWT)9 min

Two-Factor Authentication Will Finally Make Sense

Networking8 min

Never Expose a Database to the Internet

Cybersecurity10 min

SSH Keys vs Passwords: Which Is Safer for Security?

Linux10 min

The 5 Levels of Linux Boot: From Power On to Login

Networking12 min

The 5 Levels of Network Firewalls

Cybersecurity10 min

Password Security: Why Hackers Crack Weak Passwords

Linux9 min

Why Your Linux Server Runs Out of Memory

Networking10 min

HTTP vs HTTPS: What Actually Changes on Your Network

Linux12 min

Every Linux File Permission You Need to Know

Linux10 min

Linux Processes vs Threads: When Each One Wins

Networking11 min

The OSI Model Will Finally Make Sense After This

Git11 min

The 7 Levels of Git

Networking10 min

Every Network Troubleshooting Command You Need

Cybersecurity10 min

Hashing vs Encryption in Cybersecurity: When Each One Wins

Networking11 min

Why the Internet Ran Out of IP Addresses

Linux11 min

Linux Package Managers: apt vs Snap vs Flatpak

Python9 min

Why Python Is Slow (and When It Doesn't Matter)

Networking11 min

TCP vs UDP: When Each One Wins

Linux8 min

Stop Running Linux as Root (Do This Instead)

Linux11 min

Linux Users and Groups Will Finally Make Sense

Cybersecurity9 min

Why Phishing Beats Good Security (and How to Spot It)

Docker12 min

The 7 Levels of Docker

AI agents & MCP12 min

AI Agents Will Finally Make Sense After This

Git8 min

Stop Using git push --force (Use This Instead)

AI agent skills10 min

Agent Skills vs MCP: When Each One Wins

Networking12 min

Networking Will Finally Make Sense After This

Linux12 min

Every Linux Command You Actually Need

Cybersecurity12 min

The 7 Levels of Cybersecurity

System design12 min

Every System Design Concept You Need, in One Diagram

PostgreSQL10 min

Why PostgreSQL Ignores Your Index