This Repository Cheat-Sheets is my personal knowledge-base. Here you'll find code-snippets, technical documentation, and command reference for various tools, and technologies.
Browse it online: modem7.github.io/cheat-sheets
This was inspired by https://github.com/ChristianLempa/cheat-sheets
- Each sheet is a single Markdown file in a topic folder. Commands are in
COMMAND | DESCRIPTIONtables so they are quick to scan. - Placeholders are written in capitals, e.g.
<HOST>orCONTAINER. Replace them before running. - Sheets link to each other with standard relative Markdown links (e.g.
[Docker](../docker/docker.md)), so they work on GitHub, in any editor and on the Hugo site. - The index below is generated: run
python3 scripts/gen-index.pyafter adding or retitling a sheet. - Search all sheets:
grep -ril "keyword" .orrg "keyword". - Adding or changing a sheet? See CONTRIBUTING.
Recipes · Automate Container Updates Safely · DNS Troubleshooting · Docker Service Deploy · Expose a Service with Cloudflare Tunnel · K3s Cluster from Scratch · Migrate a Docker Service Between Hosts · Monitor a Homelab with Prometheus and Grafana · Network Hardening Recipe · Network Troubleshooting · New Server Checklist · Off-Site Docker Host Backup with restic · Proxmox VM Template and Clone · Restore-Test a Backup · SSH Bastion Host in an LXC · Single Sign-On with authentik · TLS Troubleshooting · WireGuard Remote Access · Zsh with antidote, Oh My Zsh and Powerlevel10k
Linux · AWK · Btrfs · Ceph · chrony · Disk Usage · ethtool · firewalld · Grep · Hardware Inspection · ip and ss · IPTables · journalctl · libvirt and KVM · Linux Basics · logrotate · LVM · mergerfs · Mount · Netplan · NFS · nftables · Linux Performance Troubleshooting · RAID with mdadm · SED Cheat-Sheet · SELinux and AppArmor · smartctl · SnapRAID · Storage and Filesystems · systemd · tuned · UFW (uncomplicated firewall) · User Management · XFS · ZFS
Active Directory · Chocolatey · Environment Variables in Windows · Group Policy · PowerShell Cheat-Sheet · PowerShell Remote Access · Windows Registry · Robocopy · Windows Scheduled Tasks · Sysinternals · Windows DNS Server · Windows Networking · Windows Terminal · Windows Troubleshooting · Windows Updates · winget
Google Chrome · Docker on macOS Silicon · Homebrew · MacOS keyboard shortcuts · VSCode shortcuts (macOS)
Docker · Buildah · Docker Buildx · Docker Cleanup · Docker-Compose · Dockerfile · Docker Networking · Docker Registry · Docker Troubleshooting · OCI Images · Podman
Container Distros · Alpine Linux · Amazon Linux · Debian · Fedora · Ubuntu
Kubernetes · K3S · Install K3S in High Availability Mode with an embedded Database · Install K3S in High Availability Mode · K3S Single-Node Installation · K9s · Kind · Kubectl · Kubernetes Automation · Kubernetes DNS · Kubernetes Workloads
Proxmox VE Overview and Install · Proxmox Users, Permissions, API Tokens and pvesh · Proxmox Backup and Restore · Proxmox Cloud-Init Templates · Proxmox Clustering and HA · Proxmox Disk Image Formats · Proxmox Firewall · Proxmox Networking · Proxmox GPU and PCIe Passthrough · Proxmox qm and pct · Proxmox Storage · Proxmox Troubleshooting and One-Liners
Homelab · AdGuard Home · apcupsd · BIND 9 · dnsmasq DHCP and DNS · netboot.xyz · Notification Services · NUT (Network UPS Tools) · OPNsense · pfSense · Pi-hole · PXE and iPXE Network Boot · Reverse Proxy Patterns · Unbound · VLANs · Wake-on-LAN
VMware ESXi · Hypervisors Compared · NAS Operating Systems Compared · OpenMediaVault · TrueNAS Community Edition · UniFi NAS · Unraid · XCP-ng
Provider: Amazon Web Services · Backblaze B2 · Civo · Cloud-Provider Comparison · Cloudflare · Cloudflare DMARC · Cloudflare DNS Records · Cloudflare Pages and Workers · Cloudflare Speed Test · Cloudflare SSHFP Records · Cloudflare TXT Records · DigitalOcean · Google Cloud · Hetzner Cloud · Oracle Cloud
Generate a DKIM Keypair · dig · DNS Encryption · DNS over HTTPS (DoH) · DNS over TLS (DoT) · Mail Server DNS Records Cheat-Sheet · DNS Record Types · DNSSEC · Mesh VPN Comparison · mTLS (Mutual TLS) · Ports and Protocols · SMTP · socat and netcat · TCP vs UDP · TLS (Transport Layer Security) · TLS Handshake · Twisted Pair Cables Cheat-Sheet · VPN (Virtual Private Network)
UniFi · UniFi API and Automation · UniFi Backups and Migration · UniFi Device CLI and Adoption · UniFi Firewall and VPN · UniFi Hosting · UniFi Networks and VLANs · UniFi Protect · UniFi Routing and WAN · UniFi WiFi
Security · Application Security Tools · ASPM · Authelia · authentik · ClamAV · Container Scanning · CrowdSec · fail2ban · GPG · Keycloak · Lynis and auditd · Nessus and OpenVAS · Secret Scanning · Snyk · SOPS and age · SSH Hardening · Vault and OpenBao · Wazuh
Backup Strategy · BorgBackup · BorgBase · borgmatic · Database Dumps · Docker Volume Backup · rclone · restic · rsync · ZFS Snapshots and Replication
CI/CD Overview · CI Docker Builds · CI Recipes · CircleCI · Concourse CI · Drone CI · Flux CD · GitHub Actions · GitLab CI/CD · Jenkins · Renovate · Tekton · Woodpecker CI
Scripting · antidote · Bash · Bash Recipes · bashrc · Fish · Make · Nushell · Oh My Zsh · pip and pipx · Powerlevel10k · pre-commit · Python and uv · Shell Comparison · Shell History · ShellCheck and shfmt · Zsh · zshrc
AI · Aider · Claude API and SDKs · Claude Code · Codex, Gemini and Copilot CLIs · Hugging Face CLI and Model Formats · llama.cpp · LLM Glossary · LM Studio · Model Context Protocol (MCP) · Ollama · Open WebUI and Self-Hosted AI Stacks · OpenAI API · Prompting and Context Engineering
MariaDB Cheat-Sheet · MongoDB · MySQL · MySQL and MariaDB Replication · PostgreSQL Cheat-Sheet · PostgreSQL Backup and Replication · Redis · SQL · SQLite Cheat-Sheet
Alertmanager · Apprise · APT Cacher NG · Argo CD · Arr Stack · Beszel · Cert-Manager · cloudflared · Dockhand · Dozzle · Elastic Stack · ESPHome · Gotify · Grafana · Graylog · HAProxy · Headscale · Healthchecks · Home Assistant · Immich · Jellyfin · KASM Workspaces · Komodo · Loki and Grafana Alloy · Longhorn · MinIO · NetAlertX · NetBird · NetBox · Nextcloud · Nginx · ntfy · Passbolt · Pocket ID · Portainer · Prometheus · Pushover · Rancher · Samba · Squid · Syncthing · Tailscale · Teleport · Traefik · Uptime Kuma · Vaultwarden · WireGuard · ZeroTier
1Password CLI Cheat-Sheet · Ansible Cheat-Sheet · Ansible-Playbook Cheat-Sheet · Aptly · AWS CLI · Azure CLI (az) · Bitwarden Cheat-Sheet · Certutil · Chef · Cloudsmith CLI · curl · Datree · direnv · Docker Desktop · ffmpeg · gcloud (Google Cloud CLI) · Git · Git Recipes · Git Troubleshooting · gitconfig · Gitea (and Forgejo) · GitHub and the gh CLI · GitLab and the glab CLI · Go and Rust Toolchains · gopass Cheat-Sheet · Helm Cheat-Sheet · iperf3 · iTerm2 · Joplin · jq · LastPass CLI Cheat-Sheet · Logseq · Mermaid · Modern CLI Tools · msmtp · nano · NMap · Node.js and npm · Obsidian · OpenSSH Cheat-Sheet · OpenSSL · Packer · pass Cheat-Sheet · Puppet Cheat-Sheet · REST APIs · Salt Cheat-Sheet · Starship Prompt · tcpdump · Terraform · Terraform State and Modules · tmux · Vagrant Cheat-Sheet · Vim · VirtualBox · VSCode (Visual Studio Code) · Wireshark and tshark · WSL Cheat-Sheet · yq · yt-dlp
256 Color Codes Cheat-Sheet · Cron · HTTP Status Codes · Markdown · Regex · SSL Certificates Cheat-Sheet · SSL Security Cheat-Sheet
Keep one topic per file, use the COMMAND | DESCRIPTION table layout, and avoid empty stubs. If a file only has a title, either fill it in or don't commit it.