Manuals, cheat sheets and configs
For Linux, Docker, self-hosting and AI. Each entry lists the versions it was tested on and what usually breaks.
path
Your own server
From an empty VPS to a server that installs its own updates, bans brute force, reports failures, keeps backups off the server, and moves to a new VPS from git and a backup. One server for the whole path: each level starts where the previous one ended.
SSHLinux · SSH
Tips4 tips along the way →- OverviewSSH: how logging in to a server works and what else it’s for
- 1ManualSSH keys: from ssh-keygen to passwordless login
- 2Configsshd_config: key-only login, no root, no passwords
- 3Config~/.ssh/config: short names, a key per server, jumping through a server
- 4Manualssh-agent: type the passphrase once per session, and why not ForwardAgent
- 5ManualSSH tunnels: a closed admin panel through localhost
- 6Cheat sheetEveryday SSH: logging in, copying, keys, debugging
New serverLinux · Ubuntu server
Tips6 tips along the way →- OverviewA new Ubuntu server: what to set up in the first hour and why
- 1ManualFirst login to a server: updates, hostname, a sudo user, key login
- 2ManualThe ufw firewall: everything closed except SSH and web · Firewall
- 3Configunattended-upgrades: security updates on their own and a reboot at 4:00
- 4ManualSwap, journal and time: three settings for a small VPS
- 5ManualDocker on Ubuntu: from Docker’s repository, with a log limit · Docker Engine
- 6ManualCrowdSec against SSH brute force: a ban across the whole server · CrowdSec
- 7Cheat sheetAn Ubuntu server: everyday commands
- 8Configcloud-init: a server configured the moment it’s created
tcpdumpLinux · tcpdump
Tips5 tips along the way →- Overviewtcpdump: capturing and reading traffic in a Linux terminal
- 1Manualtcpdump basics: running captures, reading output, flags, and .pcap files
- 2ManualBPF filters in tcpdump: syntax, logic, and the tcp[13] byte
- 3ManualTroubleshooting failures with tcpdump: five practical scenarios
- 4Cheat sheettcpdump cheat sheet: flags, BPF filters, and .pcap capture
TraefikHomelab · Traefik
Tips6 tips along the way →- OverviewTraefik: what it is and when to pick it
- 1ManualTraefik from scratch: the first service by name, with HTTPS
- 2Configtraefik.yml block by block: what each setting means
- 3Cheat sheetTraefik labels: router, middleware, service
- 4ManualTraefik and Let’s Encrypt: wildcard, ACME, a certificate for neighbours
- 5ManualCrowdSec with Traefik behind Cloudflare: two bouncers and X-Forwarded-For · CrowdSec
- 6ManualTraefik logs: CrowdSec, vector, Loki, rotation · Logs
nginxHomelab · nginx
Tips11 tips along the way →- Overviewnginx: how it works, when to pick it, and where to start
- 1ManualInstalling nginx, config layout, and safe reloads
- 2ManualHow nginx reads a config: contexts, server, location, and inheritance
- 3ConfigStatic sites, SPAs, and file downloads in nginx: line-by-line configs
- 4ConfigReverse proxy in nginx: Node, Python, Go, WebSocket, and SSE streaming
- 5ManualHTTPS, TLS 1.3, HTTP/2, and HTTP/3 in nginx
- 6Confignginx and PHP-FPM: WordPress, Laravel, socket permissions, and fastcgi_cache
- 7ConfigLoad balancing and failover in nginx: upstream, keepalive, and a 503 maintenance page
- 8Confignginx in Docker and in front of containers: unprivileged, templates, and DNS resolver
- 9ConfigBasic nginx hardening: default_server catch-all, limits, Slowloris, and headers
- 10ManualRate limiting and access control in nginx: limit_req, Cloudflare, auth_request, mTLS, and CrowdSec
- 11ConfigTuning nginx: workers, networking, buffers, Gzip, and Brotli
- 12Confignginx caching: proxy_cache, microcaching, stale responses, and spike protection
- 13Manualnginx logs, metrics, and debugging: JSON logs, timings, stub_status, and 499/502/504
- 14ConfigTCP, UDP, and SNI passthrough in nginx: the stream module line by line
- 15ManualBot protection and WAF in nginx: User-Agent, CrowdSec, and when to add ModSecurity or Coraza
- 16ConfigRedirects, rewrite, and subpath proxying in nginx: 301/308, map, and proxy_redirect
- 17ConfigCORS and preflight OPTIONS in nginx: origin allowlist, cookies, and API errors
- 18ConfigLarge uploads, S3/MinIO, and WebDAV in nginx: zero disk buffering, SigV4, and Immich/Nextcloud
- 19ConfigProxying gRPC in nginx: grpc_pass, HTTP/2, long streams, and error statuses
- 20ConfigProduction /etc/nginx/ layout: directory tree, load order, and snippet compatibility
- 21Cheat sheetnginx cheatsheet: commands, match priorities, variables, and error codes
MikroTikHomelab · MikroTik
Tips8 tips along the way →- OverviewMikroTik at home: what it is, why people like it, and who it suits
- 1OverviewMikroTik with no networking experience: what works right away and what you’ll have to learn
- 2OverviewMikroTik hardware for home: product lines, internals and which model to buy in 2026
- 3OverviewRouterOS 7: how the MikroTik router system works
- 4OverviewWired networking on MikroTik: bridge, switch chip, fasttrack and VLANs
- 5OverviewWi-Fi on MikroTik: the wifi package, CAPsMAN and roaming — where it’s good and where it falls short
- 6ManualFirst MikroTik setup: internet, your own user, updates, Wi-Fi and a backup
- 7ConfigThe MikroTik default firewall line by line: what each rule does
- 8ManualA guest Wi-Fi network on MikroTik: a separate bridge, its own DHCP and three firewall rules
- 9Cheat sheetEveryday RouterOS: who’s on the network, who’s downloading, updates, backups
ProxmoxHomelab · Proxmox
Tips7 tips along the way →- OverviewProxmox VE: what it is, who makes it and who needs it at home
- 1OverviewWhere Proxmox came from: virtualization before it and the road from 0.9 to 9.2
- 2OverviewHardware for Proxmox: CPU, memory, disks and network cards
- 3OverviewVirtual machine or LXC container in Proxmox: which service goes where
- 4OverviewProxmox storage: local, local-lvm, ZFS — what lives where and what it can do
- 5OverviewNetworking in Proxmox: the vmbr0 bridge, VLANs, a private network behind NAT and the firewall
- 6ManualInstalling Proxmox VE 9: USB stick, installer, no-subscription repository and the first update
- 7ManualAn Ubuntu template with cloud-init in Proxmox: a VM with a key and an address in a minute
- 8ManualThe first LXC container in Proxmox: Debian from a template, network, SSH by key and a directory shared with the host
- 9ManualBackups in Proxmox: a nightly vzdump job, retention and a restore check
- 10ConfigA Proxmox virtual machine config line by line: /etc/pve/qemu-server/111.conf
- 11Cheat sheetProxmox day to day: qm, pct, pvesm, vzdump and logs
Language modelsAI · Language models
Tips18 tips along the way →- OverviewLanguage models: how they work, what kinds exist and how they differ
- 1Cheat sheetModels as of October 2026: families, tiers, prices and windows
- 2Cheat sheetTask and model: which tier and mode for translation, code, logs and documents
- 3ManualTokens: measuring text size and the price of a request · Tokens and cost
- 4ConfigA model request, block by block: what goes out every time · Model APIs
- 5ManualLong conversations: how not to hit the context limit and not lose what you agreed on · Prompts
- 6ConfigA prompt, block by block: context, materials, task, format, examples · Prompts
- 7TipMatch reasoning to the task: an effort level instead of “think harder” · Prompts
- 8Cheat sheetWhere models fail: the miss, the cause, the fix
- 9ManualFirst API request: a key that stays out of history, curl, the response and the bill · Model APIs
- 10OverviewYour own data in a model: context, RAG or fine-tuning
- 11OverviewAgents and tools: how a model reads files and runs commands · AI agents
- 12ManualA model on your own hardware: Ollama, an API on port 11434 and a web UI · Local models
- 13Cheat sheetHow much memory a model needs: parameters, quants, context and speed · Local models
- 14Cheat sheetGlossary: language model terms in one line each
GitDevelopment · Git
Tips5 tips along the way →- OverviewGit: what it is and how it stores history
- 1ManualGit from scratch: the first repository and a push to GitHub over SSH
- 2Config~/.gitconfig block by block: what to set once
- 3Cheat sheetEveryday git: status, commits, branches, syncing
- 4ManualBranches in git: merge, rebase and conflicts step by step
- 5Cheat sheetUndo in git: what happened — which command
- 6ManualFind where it broke: log, blame and bisect
- 7ManualGit and SSH keys: deploy keys, two accounts, signed commits
- 8ManualServer configs in git: /opt as the repository · Server changes
Presenting informationDesign · Presenting information
Tips6 tips along the way →- OverviewPresenting information: how people read a screen and what follows from it
- 1ManualScannable text: reworking a wall of paragraphs step by step
- 2Cheat sheetChunking text: where to cut and how much goes in one chunk
- 3ConfigWhite space in CSS: column width, line height and spacing line by line
- 4Cheat sheetVisual anchors: what the eye catches on, and when it stops
- 5TipThere are three levels of importance: primary, normal, secondary
- 6TipOne screen, one idea
- 7Cheat sheetWhat spoils a layout: the sign, why it hurts, what to use instead
- 8ManualChecking presentation before publishing: six checks in the browser
Shelves
Each shelf holds topics: a tool or a subject, and everything about it.
New on the shelves
Full journal- ConfigHomelab · nginxRedirects, rewrite, and subpath proxying in nginx: 301/308, map, and proxy_redirectintermediate · 1 Dec
- ConfigHomelab · nginxCORS and preflight OPTIONS in nginx: origin allowlist, cookies, and API errorsintermediate · 1 Dec
- ConfigHomelab · nginxLarge uploads, S3/MinIO, and WebDAV in nginx: zero disk buffering, SigV4, and Immich/Nextcloudintermediate · 1 Dec
- ConfigHomelab · nginxProxying gRPC in nginx: grpc_pass, HTTP/2, long streams, and error statusesintermediate · 1 Dec
- ConfigHomelab · nginxProduction /etc/nginx/ layout: directory tree, load order, and snippet compatibilityintermediate · 1 Dec
- TipHomelab · nginx502 upstream sent too big header — response header buffers for cookies, OIDC, and JWTintermediate · 1 Dec