Series
Build a RAG app from scratch
Chunk documents, store vectors in PostgreSQL, answer questions and measure the result.
4 tutorials
Padding Tutorials
Series
Chunk documents, store vectors in PostgreSQL, answer questions and measure the result.
4 tutorials
102 tutorials
You will install Node.js 26, run a small app on a local port, and configure Nginx 1.30 to pass public traffic to it with the headers your app needs.
Intermediate · 12 min · Web servers and networking
You will spread requests across three backends with an Nginx upstream block, weight them, keep a spare in reserve, and watch Nginx route around a backend that stops answering.
Advanced · 14 min · Web servers and networking
You will install the current stable Nginx 1.30 from the official nginx.org repository on Ubuntu 26.04, serve its test page, and learn where its files live and how to reload it safely.
Beginner · 10 min · Web servers and networking
You will run two separate websites on one Ubuntu 26.04 server by giving each its own Nginx server block, decide what unknown names receive, and check every site before DNS points at it.
Intermediate · 11 min · Web servers and networking
You will install Certbot 5.10, get a free Let's Encrypt certificate for your domain, have Nginx serve it over HTTPS, and confirm that it renews on its own.
Beginner · 10 min · Web servers and networking
You will learn what the common DNS record types do and read each one with dig, using a small practice DNS server you start yourself.
Beginner · 12 min · Web servers and networking
You will install Caddy 2.11, serve a folder with a three-line Caddyfile, see it use HTTPS and redirect HTTP without extra setup, and learn what changes when the site has a real domain.
Intermediate · 11 min · Web servers and networking
You will install PHP 8.5 from Ubuntu's own repositories and Composer from its official installer with a checksum check, create a Laravel 13 project, add a route, controller, view and test, and run the app with the built-in development server.
Intermediate · 20 min · Web frameworks
You will serve a Laravel 13 app on Ubuntu 26.04 with Nginx 1.30 passing PHP requests to a dedicated PHP-FPM 8.5 pool over a Unix socket, with APP_DEBUG off, a private .env file, code the app user cannot change, a production cache, and a repeatable deploy script.
Advanced · 30 min · Web frameworks
You will run a Django 6.1 project on Ubuntu 26.04 with DEBUG off, a secret key kept in a private file, Gunicorn started by a systemd socket and service as an unprivileged user, and Nginx serving static files and passing everything else to the app.
Advanced · 28 min · Web frameworks
You will create a Django 6.1 project with uv on Python 3.15, build a small bookmarks app with a database model, an admin screen, a page and a test, and see how the pieces connect.
Beginner · 22 min · Web frameworks
You will scaffold a React 19 and TypeScript app with Vite 8, run the dev server, replace the starter page with a small checklist built from components and state, then create a production build and serve it locally.
Beginner · 18 min · Web frameworks
You will create a Next.js 16 app, add pages, a shared layout, a dynamic route that is built ahead of time, one interactive component and a JSON route, then run a production build and read what Next.js decided to prerender.
Beginner · 22 min · Web frameworks
You will turn on UFW with a deny-by-default policy, allow SSH before you enable it so you stay connected, open only the web ports your server needs, and learn to list, remove and limit rules.
Beginner · 11 min · Security and hardening
You will write a login lookup that an attacker can break with one line of input, watch it fail, fix it with parameterised queries in both Python and Node.js, and learn the cases where parameters are not enough.
Intermediate · 14 min · Security and hardening
You will keep secrets in a git-ignored .env file, commit a safe template instead, stop a commit that contains a key with a pre-commit hook, and learn what to do when a secret has already been committed.
Beginner · 12 min · Security and hardening
You will switch an Ubuntu 26.04 server's SSH daemon to key-only logins, turn off root login, limit who can connect and how many guesses they get, and test the change without locking yourself out.
Intermediate · 12 min · Security and hardening
You will install Fail2ban 1.1 on Ubuntu 26.04, set it up to ban any address that keeps failing SSH logins, test the rule against a sample log line, and learn how to see and undo bans.
Intermediate · 11 min · Security and hardening
You will check that unattended-upgrades installs security fixes by itself on Ubuntu 26.04, tune it to reboot at a quiet hour when a kernel update needs it, and read its logs to confirm it works.
Beginner · 9 min · Security and hardening
You will run a Lynis 3.1 security audit on an Ubuntu 26.04 server, read its hardening score and findings, fix one of them, and run it again to see the score move.
Intermediate · 11 min · Security and hardening
You will add the HTTP security headers every site should send, keep them in one reusable file, avoid the add_header inheritance trap, and roll out Content-Security-Policy and HSTS in the safe order.
Intermediate · 14 min · Security and hardening
You will write a web server in Go 1.27 using only the standard library, with path routes, a JSON endpoint, a POST handler, timeouts and a clean shutdown, then test the handlers without opening a port and build the server into one binary.
Beginner · 18 min · Programming languages
You will install pytest 9.2 in a uv project, write tests for a small price-parsing module, run many cases from one test with parametrize, read a failure and fix the code, and use a fixture that gives each test its own temporary folder.
Intermediate · 18 min · Programming languages
You will create a Node.js 26 project, install TypeScript 7, write a tsconfig.json you understand, compile two files to JavaScript, watch the compiler catch a type error, and add npm scripts for building, checking and running.
Beginner · 15 min · Programming languages