The open catalogue of code.
Plain explanations, scripts you can copy, and the GitHub repos worth knowing. Every entry has a number, and anyone can edit it.
Catalogue
- 0001 Virtual environments with venv A virtual environment is a private folder of Python packages for one project, so projects never fight over versions. Create one with… Beginner · Concept · Any system Article Environments & packages 15 Oct 2026
- 0002 Python cheat sheet: strings, lists, dicts and f-strings The everyday methods for text, lists and dictionaries, plus f-string formatting and comprehensions, each with a one-line example you can paste into… Beginner · Reference · Any system Article Basics 15 Oct 2026
- 0003 pathlib cheat sheet: files and folders in Python pathlib.Path is the modern way to build paths, read and write files, and list or search folders in Python. This page lists… Beginner · Reference · Any system Article Files & automation 15 Oct 2026
- 0004 Logging instead of print The logging module gives every message a level, a timestamp and a destination you can change without editing code. It is the… Intermediate · Concept · Any system Article Files & automation 15 Oct 2026
- 0005 Dataclasses in depth @dataclass writes __init__, __repr__ and __eq__ for classes that mainly hold data. Learn defaults, default_factory, frozen and ordered classes, __post_init__ validation, slots… Advanced · Concept · Any system Article Basics 15 Oct 2026
- 0006 Testing with pytest: first tests, fixtures and parametrize pytest runs plain functions whose names start with test_ and reports every failing assert in detail. This guide covers setup, assertions, exceptions,… Intermediate · How-to · Any system Article Testing 15 Oct 2026
- 0007 Fix: ModuleNotFoundError: No module named ‘…’ Python cannot find a module you import. Usually the package was installed into a different interpreter or virtual environment than the one… Beginner · Fix · Any system Article Common errors · Environments & packages 15 Oct 2026
- 0008 Fix: TypeError: ‘NoneType’ object is not subscriptable You used [ ] on a value that is None. Something you expected to return a list, dict or match returned nothing.… Beginner · Fix · Any system Article Common errors 15 Oct 2026
- 0009 CSV to JSON converter A small command-line tool that turns a CSV file into a JSON array of objects, with optional number detection, custom delimiters and… Beginner · How-to · Any system Script CSV & JSON · Files & automation 15 Oct 2026
- 0010 Find duplicate files by content Scans folders and lists files with identical content, using file size first and SHA-256 hashes second. It is read-only and only reports… Intermediate · How-to · Any system Script Files & automation 15 Oct 2026
- 0011 Bootstrap a new Python project with a venv A Bash script that creates a project folder with a virtual environment, .gitignore, requirements.txt and a starter main.py, then runs it to… Intermediate · How-to · Linux, macOS Script Environments & packages 15 Oct 2026
- 0012 Requests: HTTP for humans Requests is the classic Python library for calling web APIs and downloading pages, with a simple API for GET and POST requests,… Any system Repo Files & automation · Making requests 15 Oct 2026
- 0013 pytest pytest is the de facto standard test runner for Python: plain functions with assert, detailed failure reports, fixtures, parametrization and a large… Any system Repo Testing 15 Oct 2026
- 0014 uv: Python package and project manager uv is a very fast Python package and project manager written in Rust. It replaces pip, venv and related tools, manages lock… Any system Repo Environments & packages 15 Oct 2026
- 0015 Ruff: Python linter and formatter Ruff is a fast Python linter and code formatter written in Rust. It catches bugs such as undefined names and unused imports… Any system Repo Common errors · Testing 15 Oct 2026
- 0016 let, const and var: variables and scope in JavaScript Use const by default, let when a value must change, and avoid var. The difference is about scope: where a variable is… Beginner · Concept · Any system Article Basics 15 Oct 2026
- 0017 JavaScript array methods cheat sheet: map, filter, reduce and friends A quick reference for the array methods you use every day, with what each one returns and whether it changes the original… Beginner · Reference · Any system Article Basics 15 Oct 2026
- 0018 Promises and async/await explained A promise is a placeholder for a value that arrives later. async/await lets you write code that waits for promises as if… Intermediate · Concept · Any system Article Async code 15 Oct 2026
- 0019 fetch with timeout, retries and proper error handling A reusable fetchJson helper for Node 20+ and browsers that adds a timeout, retries with backoff for temporary failures, and clear errors… Intermediate · How-to · Any system Script Async code · Making requests 15 Oct 2026
- 0020 Debounce and throttle functions in plain JavaScript Two small dependency-free helpers that limit how often a function runs: debounce waits for a pause, throttle runs at most once per… Intermediate · How-to · Any system Script Patterns 15 Oct 2026
- 0021 Read and write files in Node.js with fs/promises A complete Node script that walks a folder, reads text files, and writes a JSON report safely, showing the everyday fs/promises calls… Beginner · How-to · Any system Script Node.js 15 Oct 2026
- 0022 Build a small Node.js CLI with util.parseArgs A complete, dependency-free command-line tool in Node: options and flags with parseArgs, input from files or a pipe, help text, and meaningful… Intermediate · How-to · Any system Script Node.js 15 Oct 2026
- 0023 Run async tasks with a concurrency limit A small mapLimit helper that runs an async function over many items with at most N in flight, keeps result order, stops… Advanced · How-to · Any system Script Async code 15 Oct 2026
- 0024 TypeScript basics: types, interfaces, unions and narrowing TypeScript adds type annotations to JavaScript and checks them before your code runs. These are the core ideas you need to read… Beginner · Concept · Any system Article Basics 15 Oct 2026
- 0025 Regular expressions cheat sheet (JavaScript flavor) The regex syntax you actually use, from character classes and quantifiers to groups, lookarounds and flags, with the JavaScript methods that apply… Beginner · Reference · Any system Article Basics · Basics 15 Oct 2026
- 0026 Fix: TypeError: Cannot read properties of undefined (reading ‘x’) You tried to read a property from a value that is undefined or null. Find which value is missing, then guard it… Beginner · Fix · Any system Article Basics · Common errors 15 Oct 2026
- 0027 Fix: SyntaxError: Cannot use import statement outside a module The file uses ES module import syntax, but Node or the browser is loading it as a classic script or CommonJS. Tell… Intermediate · Fix · Any system Article Common errors · Node.js 15 Oct 2026
- 0028 Node.js The source of the Node.js runtime: a JavaScript engine (V8) plus APIs for files, networking, processes and more, used to run JavaScript… Linux, macOS, Windows Repo Node.js 15 Oct 2026
- 0029 TypeScript Microsoft's TypeScript language and compiler: typed JavaScript that compiles to plain JavaScript, plus the language service that powers editor features. Any system Repo Basics 15 Oct 2026
- 0030 Axios A promise-based HTTP client for browsers and Node.js with interceptors, automatic JSON handling, request cancellation and a consistent API in both environments. Any system Repo Async code · Making requests 15 Oct 2026
- 0031 Lodash A JavaScript utility library with helpers for arrays, objects, strings and functions, including debounce, throttle, deep cloning and safe property access. Any system Repo Patterns 15 Oct 2026
- 0032 First-time Git setup: name, email, default branch, SSH or HTTPS Tell Git who you are, pick sensible defaults, and choose between SSH and HTTPS for GitHub. Includes a small script that applies… Beginner · How-to · Linux, macOS, Windows Script Setup 15 Oct 2026
- 0033 The everyday Git workflow: status, add, commit, push, pull Git moves your changes through three places: the working folder, the staging area, and the commit history. These five commands, plus .gitignore… Beginner · Concept · Any system Article Housekeeping · Setup 15 Oct 2026
- 0034 Merging vs rebasing in Git Merge and rebase both bring commits from one branch into another. Merge keeps history exactly as it happened; rebase replays your commits… Intermediate · Concept · Any system Article Branching & rebasing 15 Oct 2026
- 0035 Undoing changes in Git: restore, reset, revert, and reflog Pick the undo command by where the mistake lives: in a file, in the staging area, in a local commit, or in… Intermediate · Concept · Any system Article Undoing changes 15 Oct 2026
- 0036 Finding the commit that broke it: log, blame, and git bisect When something used to work and now does not, Git can point at the commit that changed it. Start with log and… Advanced · How-to · Any system Article Finding bugs · Reading history 15 Oct 2026
- 0037 Git cheat sheet The Git commands you reach for most, grouped by task and using the modern switch and restore forms. Copy, paste, and replace… Beginner · Reference · Any system Article Git 15 Oct 2026
- 0038 The pull request workflow on GitHub A pull request asks to merge your branch into another one, with review and automated checks in between. This is the whole… Beginner · How-to · Any system Article Pull requests 15 Oct 2026
- 0039 A minimal GitHub Actions workflow that runs your tests Add one YAML file under .github/workflows and GitHub runs your tests on every push and pull request. Here is a small, explained… Intermediate · How-to · Any system Article GitHub Actions 15 Oct 2026
- 0040 Fix: error: failed to push some refs to … Git refused your push, usually because the remote branch has commits you do not have yet. Bring them in, combine them with… Beginner · Fix · Any system Article Common errors 15 Oct 2026
- 0041 Fix: CONFLICT (content): Merge conflict in … Two branches changed the same lines and Git cannot choose for you. Open the file, keep the right text, remove the markers,… Intermediate · Fix · Any system Article Branching & rebasing · Common errors 15 Oct 2026
- 0042 Fix: fatal: refusing to merge unrelated histories Your local repository and the remote do not share a single commit, usually because both were started separately. Allow the one-time merge,… Intermediate · Fix · Any system Article Common errors 15 Oct 2026
- 0043 Delete local branches that are already merged A bash script that lists local branches fully merged into main and, if you ask, deletes them. It never touches the current… Intermediate · How-to · Linux, macOS, Windows Script Housekeeping 15 Oct 2026
- 0044 A starter set of Git aliases Short names for the Git commands you type all day, such as a one-line status, a graph log, and a safe force… Beginner · Reference · Linux, macOS, Windows Script Git tools 15 Oct 2026
- 0045 git/git The source code of Git itself, mirrored on GitHub. Useful for reading the official documentation sources and seeing how commands are implemented. Any system Repo Git tools 15 Oct 2026
- 0046 lazygit A terminal user interface for Git written in Go. Stage lines, rebase, resolve conflicts, and browse history with keyboard shortcuts instead of… Any system Repo Git tools 15 Oct 2026
- 0047 GitHub CLI (gh) GitHub's official command-line tool. Create and check out pull requests, manage issues, view Actions runs, and sign in to GitHub from the… Any system Repo Git tools · Pull requests 15 Oct 2026
- 0048 git-extras A collection of extra Git subcommands for common chores, such as summarizing a repository, deleting merged branches, and undoing commits. Any system Repo Git tools · Housekeeping 15 Oct 2026
- 0049 Pipes and redirection: connecting commands A pipe sends one command's output into another command, and redirection sends output to a file. Together they let small tools build… Beginner · Concept · Linux, macOS Article Basics · Text processing 15 Oct 2026
- 0050 File permissions: chmod, chown and what 755 means Every file has an owner, a group and read/write/execute permissions for three kinds of users. chmod changes the permissions and chown changes… Beginner · Concept · Linux, macOS Article Basics 15 Oct 2026
- 0051 Environment variables and PATH Environment variables are named settings that every program inherits from the shell. PATH is the one that tells the shell where to… Beginner · Concept · Linux, macOS Article Basics 15 Oct 2026
- 0052 Slice and summarize text with grep, sort, uniq, cut, awk and sed A handful of classic tools can filter, count, extract and rewrite text right in the terminal. This guide shows the patterns you… Intermediate · How-to · Linux, macOS Article Finding files & text · Text processing 15 Oct 2026
- 0053 Set up SSH keys: ssh-keygen, ssh-copy-id and ~/.ssh/config SSH keys let you log in to servers and push to Git hosts without typing a password. Create an ed25519 key, install… Beginner · How-to · Linux, macOS, Windows Article Keys & config 15 Oct 2026
- 0054 Fix: Permission denied (publickey) The server refused every key your SSH client offered. Find out which key was offered, make sure its public half is on… Intermediate · Fix · Linux, macOS, Windows Article Keys & config 15 Oct 2026
- 0055 Docker basics: images, containers and the commands you need An image is a read-only package of an app and its dependencies, and a container is a running instance of it. Learn… Beginner · Concept · Linux, macOS, Windows Article Docker basics 15 Oct 2026
- 0056 Docker Compose: run a small web app with a database Docker Compose describes several containers, their ports, volumes and environment in one compose.yaml file, then starts them all with docker compose up. Intermediate · How-to · Linux, macOS, Windows Article Docker basics · Docker Compose 15 Oct 2026
- 0057 Shell cheat sheet: everyday commands A quick reference for moving around, managing files, viewing and searching text, checking processes and disk space in bash and zsh, with… Beginner · Reference · Linux, macOS Article Basics · Command-line tools 15 Oct 2026
- 0058 Safe bash script template with set ‑euo pipefail and trap A starting point for bash scripts that stops on errors, rejects unset variables, cleans up temp files on exit and parses options.… Intermediate · Reference · Linux, macOS Script Shell scripting 15 Oct 2026
- 0059 Incremental snapshot backups with rsync A bash script that copies a folder into dated snapshots with rsync, hard-links unchanged files to the previous snapshot to save space,… Advanced · How-to · Linux, macOS Script Backups & syncing · Shell scripting 15 Oct 2026
- 0060 Find the biggest files and folders eating your disk A short bash script that lists the largest files over a size limit and the largest subfolders, using find, du, sort and… Beginner · How-to · Linux, macOS Script Finding files & text · Text processing 15 Oct 2026
- 0061 Fix: Address already in use (free a busy port) Your server cannot start because another process already listens on its port. This script shows which process holds the port and stops… Intermediate · Fix · Linux, macOS Script Processes & ports · Shell scripting 15 Oct 2026
- 0062 ripgrep (rg): fast recursive search ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern, skipping ignored, hidden and binary files… Linux, macOS, Windows Repo Command-line tools 15 Oct 2026
- 0063 fzf: command-line fuzzy finder fzf is an interactive fuzzy finder for the terminal. Pipe any list into it, type a few letters, and pick the item… Linux, macOS, Windows Repo Command-line tools 15 Oct 2026
- 0064 jq: command-line JSON processor jq is a small command-line tool for reading, filtering and transforming JSON, like sed and awk for structured data. Linux, macOS, Windows Repo Command-line tools · jq & JSON on the command line 15 Oct 2026
- 0065 ShellCheck: static analysis for shell scripts ShellCheck reads your bash or sh scripts and points out bugs, quoting mistakes and portability problems before you run them. Linux, macOS, Windows Repo Command-line tools 15 Oct 2026
- 0066 fd: a simple, fast alternative to find fd finds files by name with short, friendly syntax and sensible defaults, such as ignoring hidden files and .gitignore entries. Linux, macOS, Windows Repo Command-line tools 15 Oct 2026
- 0067 Your first SQL queries: SELECT, WHERE, ORDER BY, LIMIT and GROUP BY Read data from a table, keep only the rows you want, sort them, take the first few, and summarize groups with COUNT,… Beginner · How-to · Any system Article Queries 15 Oct 2026
- 0068 SQL joins explained: INNER, LEFT and finding rows with no match A join combines rows from two tables using a matching condition. INNER JOIN keeps only matches, LEFT JOIN keeps every row from… Intermediate · Concept · Any system Article Joins 15 Oct 2026
- 0069 NULL in SQL: why = NULL never matches and how to handle missing values NULL means "unknown", so comparisons with it are neither true nor false. Use IS NULL, COALESCE and careful aggregates to avoid rows… Intermediate · Concept · Any system Article Queries 15 Oct 2026
- 0070 Indexes and EXPLAIN: making SQL queries fast An index is a sorted lookup structure that lets the database jump to matching rows instead of reading the whole table. EXPLAIN… Advanced · Concept · Any system Article Indexes & performance 15 Oct 2026
- 0071 Fix: column “x” must appear in the GROUP BY clause or be used in an aggregate function PostgreSQL rejects a grouped query that selects a column with more than one possible value per group. Add the column to GROUP… Intermediate · Fix · Any system Article Queries 15 Oct 2026
- 0072 CSV vs JSON: choosing a format and avoiding the classic pitfalls CSV is a simple table of text; JSON holds nested, typed data. Both break in predictable ways: quoting, delimiters, encodings, numbers and… Beginner · Concept · Any system Article CSV & JSON 15 Oct 2026
- 0073 Fix: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Python's json module found nothing it could parse at the very first character. The input is usually empty, HTML, or already consumed.… Beginner · Fix · Any system Article Common errors · CSV & JSON 15 Oct 2026
- 0074 pandas basics: read a CSV, filter rows and summarize with groupby Load a CSV into a pandas DataFrame, inspect it, filter rows with conditions, and compute totals per group, with the SQL equivalent… Intermediate · How-to · Any system Article Data analysis · Files & automation 15 Oct 2026
- 0075 CSV to JSON converter (Python, standard library) Convert any CSV file with a header row into a JSON array or JSON Lines. Handles quoted fields, a byte order mark,… Beginner · How-to · Any system Script CSV & JSON · Files & automation 15 Oct 2026
- 0076 jq recipes: 23 one-liners for JSON on the command line A runnable collection of jq filters for everyday JSON work: pick fields, filter with select, reshape, sort, count, group, pass shell variables,… Intermediate · Reference · Linux, macOS, Windows Script Command-line tools · jq & JSON on the command line 15 Oct 2026
- 0077 SQL cheat sheet: a runnable reference for everyday queries One SQL file that builds a tiny database and demonstrates filtering, sorting, grouping, joins, CASE, CTEs, window functions, safe updates and indexes.… Beginner · Reference · Any system Script Joins · Queries 15 Oct 2026
- 0078 pandas The most widely used Python library for working with tabular data: DataFrames, file readers and writers, grouping, joining and time series. Any system Repo Data analysis 15 Oct 2026
- 0079 DuckDB An in-process analytical SQL database. Run fast SQL directly on CSV, Parquet and JSON files, from the command line or inside Python… Any system Repo Data analysis · Queries 15 Oct 2026
- 0080 SQLite (official Git mirror) The source tree of SQLite, the self-contained SQL database engine embedded in phones, browsers and countless applications, mirrored to GitHub by its… Any system Repo Queries · SQL 15 Oct 2026
- 0081 How an HTTP request works: methods, headers, and body An HTTP request is a short text message a client sends to a server: a method and path, some headers, and sometimes… Beginner · Concept · Any system Article Making requests 15 Oct 2026
- 0082 HTTP status codes: the common ones and what to do A quick reference to the HTTP status codes you will meet most often, what each one means, and the first thing to… Beginner · Reference · Any system Article References · Status codes 15 Oct 2026
- 0083 Test a JSON API with curl A runnable bash script showing the curl commands you need most when testing an API: GET, POST JSON, custom headers, Bearer tokens,… Beginner · How-to · Linux, macOS, Windows Script Authentication · Making requests 15 Oct 2026
- 0084 Tiny JSON echo server for testing HTTP clients A standard-library Python server that echoes back the method, path, query, headers, and body of every request, and can return any status… Intermediate · How-to · Any system Script Files & automation · Making requests 15 Oct 2026
- 0085 fetch with timeout, retries, and exponential backoff A drop-in fetch wrapper that times out slow requests, retries network errors and 429/5xx responses with jittered exponential backoff, and honors Retry-After. Advanced · How-to · Any system, Browser Script Async code · Making requests 15 Oct 2026
- 0086 API authentication basics: API keys, Bearer tokens, and OAuth How APIs know who is calling: static API keys, Bearer tokens in the Authorization header, Basic auth, and a high-level tour of… Intermediate · Concept · Any system Article Authentication 15 Oct 2026
- 0087 CORS explained: why the browser blocks your request CORS is the browser rule that decides whether JavaScript on one origin may read a response from another. The server opts in… Intermediate · Concept · Browser Article Async code · Making requests 15 Oct 2026
- 0088 Fix: Access to fetch at ‘…’ from origin ‘…’ has been blocked by CORS policy The browser refused to give your script a cross-origin response because the server did not send the right Access-Control-* headers. Fix it… Intermediate · Fix · Browser Article Common errors · Making requests 15 Oct 2026
- 0089 Fix: 413 Request Entity Too Large A server or proxy rejected your request because its body is bigger than the configured limit. Find which layer set the limit,… Intermediate · Fix · Any system, Linux Article Status codes · Web frameworks 15 Oct 2026
- 0090 Flexbox and CSS Grid: laying out a page Flexbox arranges items along one line, Grid arranges them in rows and columns at once. Learn the handful of properties that cover… Beginner · How-to · Browser Article Layout 15 Oct 2026
- 0091 CSS selectors and specificity reference The selectors you will use every day, how the browser decides which rule wins when several match, and practical ways to keep… Intermediate · Reference · Browser Article References · Selectors & specificity 15 Oct 2026
- 0092 Semantic HTML and accessibility basics, with a responsive page skeleton A minimal responsive HTML page built from semantic elements, plus the accessibility basics every page needs: headings, labels, alt text, keyboard focus,… Beginner · How-to · Browser Article Accessibility · Layout 15 Oct 2026
- 0093 MDN Web Docs content (mdn/content) The source of MDN Web Docs: the Markdown pages behind the most widely used reference for HTML, CSS, JavaScript, HTTP, and Web… Any system Repo References 15 Oct 2026
- 0094 curl and libcurl (curl/curl) The source of curl, the command-line tool for transferring data with URLs, and libcurl, the C library behind it that many other… Any system Repo Making requests 15 Oct 2026
- 0095 Tailwind CSS (tailwindlabs/tailwindcss) A utility-first CSS framework: you style elements with small single-purpose classes in your HTML, and the build step generates only the CSS… Any system Repo Layout · Web frameworks 15 Oct 2026
- 0096 Flask (pallets/flask) A lightweight Python web framework for building websites and JSON APIs, with routing, request handling, and templates, and extensions for everything else. Any system Repo Python · Web frameworks 15 Oct 2026
- 0097 Express (expressjs/express) A minimal and flexible web framework for Node.js, built around routes and middleware, and the foundation of countless APIs and other frameworks. Any system Repo Node.js · Web frameworks 15 Oct 2026
- 0098 What Proxmox VE is: KVM virtual machines, LXC containers and a web UI Proxmox VE is an open source virtualization platform based on Debian. It runs KVM virtual machines and LXC containers and is managed… Beginner · Concept · Linux Article Basics · Installation & first steps 15 Oct 2026
- 0099 Proxmox VE repositories and updates: enterprise vs no-subscription A fresh Proxmox VE install uses the enterprise repository, which needs a subscription. Learn how to switch to the no-subscription repository and… Beginner · How-to · Linux Article Installation & first steps · Packages & updates 15 Oct 2026
- 0100 Create a VM and a cloud-init template with qm Create KVM virtual machines from the command line with qm, then build a reusable cloud-init template from a cloud image and clone… Intermediate · How-to · Linux Article Basics · VMs & containers 15 Oct 2026
- 0101 Create LXC containers with pct and pveam Download a container template with pveam, create an unprivileged LXC container with pct, give it a network address and get a shell… Beginner · How-to · Linux Article VMs & containers 15 Oct 2026
- 0102 Proxmox VE storage types: local, LVM-thin, ZFS, NFS and Ceph Proxmox VE stores disks, ISOs, templates and backups in storage pools defined in /etc/pve/storage.cfg. Learn the main storage types, what local and… Intermediate · Concept · Linux Article Disks, LVM & filesystems · Storage 15 Oct 2026
- 0103 Proxmox VE networking: Linux bridges (vmbr0) and VLANs Guests reach the network through Linux bridges such as vmbr0, defined in /etc/network/interfaces. Learn the default setup, VLAN-aware bridges, VLAN tags for… Intermediate · How-to · Linux Article Installation & first steps · Networking & firewalls 15 Oct 2026
- 0104 Build a Proxmox VE cluster with pvecm and live-migrate VMs Join Proxmox VE nodes into a cluster with pvecm create and pvecm add, check quorum with pvecm status, then move running VMs… Advanced · How-to · Linux Article Clusters & high availability · VMs & containers 15 Oct 2026
- 0105 High availability in Proxmox VE: HA resources, fencing and affinity rules Proxmox VE HA restarts VMs and containers on another node when a node fails. Learn the requirements, how watchdog fencing protects your… Advanced · Concept · Linux Article Clusters & high availability 15 Oct 2026
- 0106 Back up and restore guests with vzdump, backup jobs and Proxmox Backup Server Back up Proxmox VE VMs and containers with vzdump, choose a backup mode, schedule backup jobs with retention, restore with qmrestore or… Intermediate · How-to · Linux Article Backup & restore 15 Oct 2026
- 0107 Proxmox VE command line cheat sheet: qm, pct, pvecm, pvesm and more The Proxmox VE commands you use most: qm for VMs, pct for containers, pvesm for storage, pvecm for the cluster, vzdump for… Intermediate · Reference · Linux Article Clusters & high availability · VMs & containers 15 Oct 2026
- 0108 List all Proxmox VE guests with status and locks (pvesh + jq) A Bash script that lists every VM and container in the cluster with node, status, lock, memory and uptime, using the Proxmox… Intermediate · Reference · Linux Script Shell scripting · VMs & containers 15 Oct 2026
- 0109 A vzdump wrapper script with checks, retention and a log file A Bash wrapper around vzdump that checks the target storage first, backs up chosen guests or all guests with zstd and keep-last… Intermediate · How-to · Linux Script Backup & restore · Shell scripting 15 Oct 2026
- 0110 Fix: TASK ERROR: VM is locked (backup) A VM or container still carries a backup lock, usually after a backup was interrupted. Check that no backup is running, then… Beginner · Fix · Linux Article Backup & restore · VMs & containers 15 Oct 2026
- 0111 Fix: can’t lock file ‘/var/lock/qemu-server/lock-VMID.conf’ – got timeout Another task is holding the VM's local lock file, so a new action timed out waiting for it. Find the running or… Intermediate · Fix · Linux Article VMs & containers 15 Oct 2026
- 0112 Fix: TASK ERROR: cluster not ready – no quorum? The node is not part of a quorate cluster, so /etc/pve is read-only and guests cannot be started or changed. Restore the… Advanced · Fix · Linux Article Clusters & high availability 15 Oct 2026
- 0113 proxmox/pve-manager: Proxmox VE API and web UI Read-only GitHub mirror of pve-manager, which provides the Proxmox VE web interface, much of the REST API, core daemons and tools such… Linux Repo Installation & first steps 15 Oct 2026
- 0114 proxmox/qemu-server: the Proxmox VE virtual machine manager Read-only GitHub mirror of qemu-server, the Proxmox VE package that manages QEMU/KVM virtual machines and provides the qm and qmrestore commands. Linux Repo Basics · VMs & containers 15 Oct 2026
- 0115 What is Oracle Private Cloud Appliance (PCA)? Hardware, enclaves and release lines Oracle Private Cloud Appliance is a factory-built rack of compute, storage and network hardware with its own cloud software. Release 3.x offers… Beginner · Concept · Linux Article Architecture & concepts 15 Oct 2026
- 0116 PCA 3.x Compute Enclave concepts: tenancies, compartments, VCNs, instances, images and shapes The PCA 3.x Compute Enclave uses OCI building blocks: a tenancy holds compartments, which hold networks, instances and storage. Instances are built… Beginner · Concept · Linux Article Architecture & concepts · Compute, networking & storage 15 Oct 2026
- 0117 Configure the OCI CLI for Oracle Private Cloud Appliance 3.x Point the standard OCI CLI at a PCA 3.x Compute Enclave: create an API key, write ~/.oci/config with the appliance as the… Intermediate · How-to · Any system Article Compute, networking & storage 15 Oct 2026
- 0118 Create a compute instance on PCA 3.x with the Compute Web UI or OCI CLI Launch a VM in the Private Cloud Appliance 3.x Compute Enclave: gather an image, shape, subnet and SSH key, then create the… Intermediate · How-to · Any system Article Compute, networking & storage 15 Oct 2026
- 0119 PCA 3.x networking basics: create a VCN, subnets and security lists On Private Cloud Appliance 3.x, instances need a VCN and a subnet. Create them in the Compute Web UI or OCI CLI… Intermediate · How-to · Any system Article Compute, networking & storage 15 Oct 2026
- 0120 Block volumes on PCA 3.x: create, attach and mount a data disk Add storage to a Private Cloud Appliance 3.x instance: create a block volume, attach it as paravirtualized, then format and mount it… Intermediate · How-to · Any system Article Compute, networking & storage 15 Oct 2026
- 0121 PCA 3.x Service CLI basics: connecting and finding your way around The Service CLI administers the Private Cloud Appliance 3.x Service Enclave. Connect with SSH on port 30006 and use list, show, help,… Intermediate · Reference · Any system Article Administration & monitoring 15 Oct 2026
- 0122 PCA 3.x health monitoring and upgrade workflow overview How Private Cloud Appliance 3.x reports health (Grafana, Prometheus, Loki, platform health checks) and how appliance upgrades work: ISO images, an upgrade… Advanced · Concept · Linux Article Administration & monitoring 15 Oct 2026
- 0123 KVM vs QEMU vs libvirt: how Linux virtualization fits together KVM is the Linux kernel part that uses CPU virtualization extensions, QEMU is the program that emulates a full machine around it,… Beginner · Concept · Linux Article Basics 15 Oct 2026
- 0124 virsh cheat sheet: everyday libvirt commands A quick reference for virsh: list, start, stop and inspect VMs, change CPUs and memory, manage networks, storage pools and snapshots, with… Intermediate · Reference · Linux Article Basics 15 Oct 2026
- 0125 Create a KVM virtual machine with virt-install Use virt-install to create libvirt/KVM guests: install from an ISO, run a text-only install over the serial console, or import a cloud… Intermediate · How-to · Linux Article Basics 15 Oct 2026
- 0126 KVM snapshots and cloning with virsh and virt-clone Take, list, revert and delete libvirt snapshots with virsh, understand internal vs external and disk-only snapshots, and clone a stopped VM with… Advanced · How-to · Linux Article Basics 15 Oct 2026
- 0127 Fix: “Requested operation is not valid: network ‘default’ is not active” A libvirt VM will not start because the virtual network it uses, usually the NAT network 'default', is stopped. Start the network… Intermediate · Fix · Linux Article Basics 15 Oct 2026
- 0128 virsh status report: VMs, state, resources and IPs in one table A read-only bash script that prints a libvirt/KVM host report: virtual networks, storage pools, and every VM with its state, vCPUs, memory,… Intermediate · Reference · Linux Script Basics 15 Oct 2026
- 0129 libvirt: virtualization API and daemon (GitHub mirror) libvirt is the toolkit that manages KVM/QEMU and other hypervisors through one API, plus the virsh client. The GitHub repository is a… Linux Repo Basics 15 Oct 2026
- 0130 OCI CLI: Oracle Cloud Infrastructure command-line interface Oracle's open-source command-line tool for Oracle Cloud Infrastructure. Private Cloud Appliance 3.x uses the same CLI for its OCI-compatible Compute Enclave. Any system Repo Compute, networking & storage 15 Oct 2026
- 0131 Kubernetes architecture: control plane, nodes, kubelet and etcd A Kubernetes cluster is a control plane that stores and decides the desired state, plus worker nodes that run your containers. This… Beginner · Concept · Linux Article Concepts 15 Oct 2026
- 0132 Pods, ReplicaSets and Deployments explained A Pod runs one or more containers together, a ReplicaSet keeps a fixed number of identical Pods alive, and a Deployment manages… Beginner · Concept · Linux Article Concepts · Workloads & services 15 Oct 2026
- 0133 Services and Ingress: exposing an app in Kubernetes A Service gives a changing set of Pods one stable address. ClusterIP is internal, NodePort and LoadBalancer reach outside, and an Ingress… Intermediate · Concept · Linux Article Ingress & networking 15 Oct 2026
- 0134 ConfigMaps and Secrets: configuration outside the image ConfigMaps hold plain settings and Secrets hold sensitive values, injected into Pods as environment variables or files. Secrets are only base64-encoded, not… Intermediate · Concept · Linux Article Config, secrets & storage 15 Oct 2026
- 0135 Deploy your first app on Kubernetes A step-by-step tutorial: write a Deployment and a Service in YAML, apply them, reach the app, add health probes, roll out a… Beginner · How-to · Linux Article Ingress & networking · Workloads & services 15 Oct 2026
- 0136 Persistent storage in Kubernetes: PersistentVolumes, claims and StorageClasses How to give a Pod storage that survives restarts: request it with a PersistentVolumeClaim, let a StorageClass provision it, and mount it.… Intermediate · How-to · Linux Article Config, secrets & storage · Workloads & services 15 Oct 2026
- 0137 Helm basics: install a chart, override values, upgrade and roll back Helm installs packaged Kubernetes apps called charts. Learn to add a repository, install a release, customize it with values files, upgrade it… Intermediate · How-to · Any system Article Helm 15 Oct 2026
- 0138 Kubernetes RBAC basics: least-privilege access for a service account RBAC controls who may do what in a cluster with Roles, ClusterRoles and bindings. This guide grants a CI service account deploy… Advanced · How-to · Linux Article Concepts · Config, secrets & storage 15 Oct 2026
- 0139 Collect describe, events and logs of a failing Kubernetes pod A bash script that saves a pod's status, describe output, events, YAML, current and previous logs of every container and its node… Intermediate · How-to · Linux, macOS Script Troubleshooting 15 Oct 2026
- 0140 kubectl cheat sheet: the commands you use every day A compact reference of everyday kubectl commands: contexts and namespaces, listing and inspecting objects, logs and exec, applying changes, rollouts, scaling and… Beginner · Reference · Any system Article Concepts · Troubleshooting 15 Oct 2026
- 0141 List Kubernetes pods that are not Running and Ready A bash script that lists every pod across namespaces that is Pending, failing or running but not ready, with the waiting reason,… Intermediate · Reference · Linux, macOS Script Troubleshooting 15 Oct 2026
- 0142 Fix: ImagePullBackOff and ErrImagePull in Kubernetes The pod cannot start because the node failed to pull the container image. Read the "Failed to pull image" event to see… Intermediate · Fix · Linux Article Troubleshooting 15 Oct 2026
- 0143 Fix: CrashLoopBackOff in Kubernetes The container starts, exits, and Kubernetes waits longer before each restart. Read the previous container's logs and its exit code to find… Intermediate · Fix · Linux Article Troubleshooting 15 Oct 2026
- 0144 Fix: Pod stuck in Pending with “0/3 nodes are available: Insufficient cpu” The scheduler cannot find a node with enough unreserved CPU for the pod's request. Compare the request with node allocatable resources, then… Advanced · Fix · Linux Article Troubleshooting · Workloads & services 15 Oct 2026
- 0145 Fix: OOMKilled (exit code 137) in Kubernetes A container used more memory than its limit and the kernel killed it. Confirm the reason, measure real usage, then raise the… Advanced · Fix · Linux Article Troubleshooting · Workloads & services 15 Oct 2026
- 0146 kubernetes/kubernetes The main source repository of Kubernetes: the API server, scheduler, controller manager, kubelet, kube-proxy and kubectl, plus release notes and issue tracking. Linux Repo Concepts 15 Oct 2026
- 0147 helm/helm The Helm package manager for Kubernetes: the helm CLI and Go SDK for installing, upgrading and rolling back charts. Any system Repo Helm 15 Oct 2026
- 0148 derailed/k9s K9s is a terminal UI for Kubernetes that lets you browse resources, read logs, open shells and follow cluster changes from the… Any system Repo Troubleshooting 15 Oct 2026
- 0149 OpenShift vs Kubernetes vs OKD: what OpenShift adds OpenShift is Red Hat's Kubernetes platform and OKD is its community distribution. Both add projects, routes, builds, image streams, Operators and stricter… Beginner · Concept · Linux Article Concepts · Concepts 15 Oct 2026
- 0150 Logging in with oc and working with OpenShift projects Install the oc client, log in with a password, browser or token, then create, switch and inspect projects. Covers where oc stores… Beginner · How-to · Any system Article Concepts · Deploying applications 15 Oct 2026
- 0151 Tutorial: deploy a small web app on OpenShift and expose it with a Route A step-by-step first deployment: create a project, build a static website from Git with Source-to-Image, publish it on an HTTPS Route, then… Beginner · How-to · Any system Article Deploying applications 15 Oct 2026
- 0152 Build and deploy from source with oc new-app and Source-to-Image How oc new-app turns a Git repository or an image into a running app, how Source-to-Image and Docker builds are chosen, and… Intermediate · How-to · Any system Article Deploying applications 15 Oct 2026
- 0153 Expose apps with OpenShift Routes: edge, passthrough and re-encrypt TLS A Route publishes a service on a host name through the OpenShift router. Learn when to use plain HTTP, edge, passthrough or… Intermediate · How-to · Any system Article Deploying applications · Ingress & networking 15 Oct 2026
- 0154 OpenShift app configuration: environment, ConfigMaps, Secrets and persistent storage Set environment variables, load ConfigMaps and Secrets into a Deployment as variables or files, and give it persistent storage with a PersistentVolumeClaim,… Intermediate · How-to · Any system Article Config, secrets & storage · Deploying applications 15 Oct 2026
- 0155 Security Context Constraints (SCC) and why root containers fail on OpenShift SCCs decide which user ID, capabilities and volumes a pod may use. Learn how restricted-v2 assigns random UIDs, how to see which… Advanced · Concept · Linux Article Cluster administration · Concepts 15 Oct 2026
- 0156 Operators, the software catalog (OperatorHub) and OLM on OpenShift Operators automate installing and running software on OpenShift. Learn the difference between cluster Operators and add-on Operators, and how OLM uses catalogs,… Intermediate · Concept · Linux Article Cluster administration · Concepts 15 Oct 2026
- 0157 oc cheat sheet: everyday OpenShift CLI commands The oc commands you use every day, grouped by task: login and projects, apps and builds, routes, config, debugging, permissions and admin… Intermediate · Reference · Any system Article Deploying applications · Troubleshooting 15 Oct 2026
- 0158 Collect an OpenShift project report with oc A read-only bash script that gathers a project's workloads, pods, routes, builds, storage and warning events, plus describe output and logs of… Intermediate · How-to · Linux, macOS Script Deploying applications · Troubleshooting 15 Oct 2026
- 0159 OpenShift cluster health snapshot: oc adm, nodes, MachineConfigPools and updates An admin overview of OpenShift day-2 checks (cluster version, update channels, cluster Operators, nodes, MachineConfigPools, must-gather) with a read-only bash script that… Advanced · Reference · Linux, macOS Script Cluster administration · Troubleshooting 15 Oct 2026
- 0160 Fix: Permission denied in a container on OpenShift because of the random UID A container that works under Docker or Kubernetes crashes on OpenShift with permission denied, because restricted-v2 runs it with a random non-root… Advanced · Fix · Linux Article Troubleshooting 15 Oct 2026
- 0161 Fix: Error from server (Forbidden): … is forbidden: User … cannot … in OpenShift oc refuses a command with Error from server (Forbidden). The message names the user, verb, resource and project. Learn how to read… Intermediate · Fix · Any system Article Cluster administration · Troubleshooting 15 Oct 2026
- 0162 okd-project/okd: the OKD community distribution Home of OKD, the community distribution of Kubernetes that powers Red Hat OpenShift. Releases of the installer and client, issue tracking and… Linux Repo Concepts 15 Oct 2026
- 0163 openshift/oc: the OpenShift command line client Source code of oc, the OpenShift CLI. It is built on top of kubectl, so it can do everything kubectl does, and… Any system Repo Cluster administration · Deploying applications 15 Oct 2026
- 0164 systemd services: systemctl and journalctl basics systemd starts and supervises services on most Linux servers. systemctl starts, stops and enables them; journalctl shows their logs. Beginner · Concept · Linux Article Services & systemd 15 Oct 2026
- 0165 Write a systemd service unit for your own app Turn any long-running program into a proper service: create a unit file, run it as an unprivileged user, restart it on failure… Intermediate · How-to · Linux Article Services & systemd 15 Oct 2026
- 0166 Replace a cron job with a systemd timer A systemd timer runs a service on a schedule like cron, but logs every run to the journal, can catch up missed… Intermediate · How-to · Linux Article Services & systemd 15 Oct 2026
- 0167 Fix: Job for nginx.service failed because the control process exited with error code systemctl prints this when a service's start command exits with an error. The real reason is in journalctl; for nginx it is… Intermediate · Fix · Linux Article Networking & firewalls · Services & systemd 15 Oct 2026
- 0168 Server health check script: disk, memory and failed units A dependency-free bash script that checks disk and inode usage, available memory, load, failed systemd units and pending reboots, and exits non-zero… Intermediate · Reference · Linux Script Disks, LVM & filesystems · Services & systemd 15 Oct 2026
- 0169 Add a new disk: partition, format and mount it by UUID Find a new disk with lsblk, partition it with parted, create an ext4 or XFS filesystem and mount it permanently through /etc/fstab… Intermediate · How-to · Linux Article Disks, LVM & filesystems 15 Oct 2026
- 0170 LVM explained: physical volumes, volume groups and logical volumes LVM puts a flexible layer between disks and filesystems, so you can grow volumes, add disks and take snapshots without repartitioning. Intermediate · Concept · Linux Article Disks, LVM & filesystems 15 Oct 2026
- 0171 Extend an LVM logical volume and filesystem online (safe script) A bash script that grows the LVM volume behind a mount point, checks the filesystem type and free space first, and runs… Advanced · How-to · Linux Script Disks, LVM & filesystems 15 Oct 2026
- 0172 Fix: No space left on device Writes fail because a filesystem is full, out of inodes, or holding space for deleted files that are still open. Find which… Beginner · Fix · Linux Article Disks, LVM & filesystems 15 Oct 2026
- 0173 Set a static IP address: nmcli on RHEL vs netplan on Ubuntu RHEL, Rocky and AlmaLinux configure networking with NetworkManager (nmcli); Ubuntu Server uses netplan YAML. Here is the same static IP setup in… Intermediate · How-to · Linux Article Networking & firewalls 15 Oct 2026
- 0174 Network and DNS troubleshooting commands: ip, ss, dig, resolvectl A layer-by-layer cheat sheet for "the server cannot reach X": interfaces and routes with ip, listening ports with ss, and name resolution… Beginner · Reference · Linux Article Networking & firewalls 15 Oct 2026
- 0175 Open ports with firewalld and ufw firewalld (RHEL, Rocky, AlmaLinux) and ufw (Ubuntu) are friendly front ends to the kernel firewall. Allow SSH first, then open only the… Intermediate · How-to · Linux Article Networking & firewalls 15 Oct 2026
- 0176 apt vs dnf: package commands and automatic security updates The everyday package commands on Debian/Ubuntu (apt) and RHEL/Rocky/Alma (dnf) side by side, plus how to turn on automatic security updates on… Beginner · Reference · Linux Article Packages & updates 15 Oct 2026
- 0177 Users, groups and sudo on Debian, Ubuntu and RHEL How Linux accounts and groups work, how to create users, and how sudo gives admin rights through the sudo group on Debian/Ubuntu… Beginner · Concept · Linux Article Users, sudo & hardening 15 Oct 2026
- 0178 Create a sudo user with an SSH key and disable password login A bash script that creates an admin user in the sudo or wheel group, installs their SSH public key and can switch… Advanced · How-to · Linux Script Keys & config · Users, sudo & hardening 15 Oct 2026
- 0179 systemd: the Linux system and service manager The source of systemd, the init system and service manager on most Linux distributions, together with journald, networkd, resolved, timers and the… Linux Repo Services & systemd 15 Oct 2026
- 0180 firewalld: zone-based firewall daemon Upstream source of firewalld, the default firewall manager on RHEL, Rocky Linux, AlmaLinux and Fedora, including firewall-cmd and its service definitions. Linux Repo Networking & firewalls 15 Oct 2026
- 0181 Ansible concepts: inventory, modules, playbooks, idempotency and roles Ansible configures many servers over SSH from one control machine. Learn the core pieces: inventory, modules, tasks, playbooks, roles, and why runs… Beginner · Concept · Linux, macOS Article Ansible 15 Oct 2026
- 0182 Your first Ansible playbook: install nginx and publish a page A complete beginner playbook that installs nginx on Debian or Ubuntu servers, starts it at boot and deploys a home page, with… Beginner · How-to · Linux, macOS Script Ansible 15 Oct 2026
- 0183 Ansible variables, templates and handlers: configure an nginx site Use group variables, Jinja2 templates and handlers together: render an nginx server block from variables, test the config and reload nginx only… Intermediate · How-to · Linux, macOS Script Ansible 15 Oct 2026
- 0184 Ansible Vault: keep passwords and keys encrypted in your repo Ansible Vault encrypts variable files or single values so secrets can live in Git next to your playbooks. Create, edit and rekey… Advanced · How-to · Linux, macOS Article Ansible 15 Oct 2026
- 0185 Ansible ad-hoc commands cheat sheet One-line ansible commands for quick jobs across many servers: ping hosts, run a command, copy files, manage packages, users and services, gather… Intermediate · Reference · Linux, macOS Article Ansible 15 Oct 2026
- 0186 Fix: Ansible UNREACHABLE! Failed to connect to the host via ssh Ansible could not open an SSH session to the host, so no task ran. The text after the colon tells you why:… Intermediate · Fix · Linux, macOS Article Ansible · SSH & servers 15 Oct 2026
- 0187 Terraform concepts: providers, state, plan and apply, modules, and OpenTofu Terraform describes infrastructure in code, compares it with what exists, and changes only the difference. Learn providers, resources, state, the plan/apply loop,… Beginner · Concept · Any system Article Terraform 15 Oct 2026
- 0188 First Terraform configuration: variables, a module and outputs (no cloud needed) A complete Terraform project that writes local files with the hashicorp/local provider, so you can practice init, plan, apply, modules and destroy… Intermediate · How-to · Any system Script Terraform 15 Oct 2026
- 0189 Terraform remote state: backends, locking and migrating local state Move Terraform state from a local file into a shared backend such as S3 with locking, so a team can work safely.… Advanced · How-to · Any system Article Terraform 15 Oct 2026
- 0190 Fix: Terraform Error acquiring the state lock Another run holds the lock on your Terraform state, or a crashed run left it behind. Find out who holds it, wait… Advanced · Fix · Any system Article Terraform 15 Oct 2026
- 0191 Prometheus concepts: pull model, exporters, node_exporter and PromQL basics Prometheus scrapes numeric metrics from your systems over HTTP and stores them as time series. Learn the pull model, metric types, node_exporter,… Intermediate · Concept · Linux Article Prometheus & Grafana 15 Oct 2026
- 0192 Grafana basics: connect Prometheus, build a dashboard and set up an alert Connect Grafana to Prometheus, build a dashboard for your servers with PromQL panels and a host selector, and create an alert rule… Intermediate · How-to · Linux Article Prometheus & Grafana 15 Oct 2026
- 0193 Linux logs reference: journalctl, journald storage, logrotate and centralized logging Read and filter systemd journal logs, keep their disk use in check, rotate classic log files with logrotate, and understand when to… Intermediate · Reference · Linux Article Linux administration · Logs 15 Oct 2026
- 0194 Ansible: agentless IT automation The source repository of ansible-core, the engine behind Ansible playbooks, ad-hoc commands and the ansible-galaxy and ansible-vault tools. Linux, macOS Repo Ansible 15 Oct 2026
- 0195 OpenTofu: open-source infrastructure as code OpenTofu is the community fork of Terraform under the MPL-2.0 license, run as a Linux Foundation project. It uses the same configuration… Any system Repo Terraform 15 Oct 2026
- 0196 Prometheus: monitoring system and time series database The main Prometheus server: it scrapes metrics over HTTP, stores them as time series, answers PromQL queries and evaluates alerting rules. Linux Repo Prometheus & Grafana 15 Oct 2026
- 0197 Grafana: dashboards, visualization and alerting Grafana is the open-source web application for querying, visualizing and alerting on data from Prometheus, Loki, SQL databases and many other data… Linux Repo Prometheus & Grafana 15 Oct 2026
- 0198 Install PostgreSQL and connect with psql on Debian, Ubuntu and RHEL Install the PostgreSQL server from your distribution or the official PGDG repositories, start it, and open your first psql session as the… Beginner · How-to · Linux Article Install & connect 15 Oct 2026
- 0199 psql meta-commands cheat sheet The backslash commands you use every day in psql: connecting, listing databases, tables and roles, describing objects, timing queries, expanded output and… Beginner · Reference · Any system Article Install & connect · Roles & administration 15 Oct 2026
- 0200 PostgreSQL roles, privileges and default privileges Create login and group roles, grant access to databases, schemas and tables, and use ALTER DEFAULT PRIVILEGES so tables created later get… Intermediate · How-to · Linux Article Roles & administration · Security & access 15 Oct 2026
Found a mistake? Know a better script?
Make an account and suggest an edit on any entry. A trusted editor checks it before it goes live, and after a few accepted edits you can publish directly. The history keeps every earlier version.