12 snippets
49 tags
Latest May 16, 2026

cURL Cheatsheet for API Testing

Essential cURL commands for testing REST APIs, handling auth, uploading files, and debugging HTTP requests from the terminal.

curlapihttp+3
May 16

Docker Full System Cleanup

Reclaim disk space by pruning unused Docker images, containers, volumes, and networks in one shot.

dockerdevopscleanup+1
May 16

Docker Compose Stack — Postgres + Redis + App

Production-ready Docker Compose template with PostgreSQL, Redis, health checks, persistent volumes, and environment management.

dockerdocker-composepostgres+3
May 16

Protect SSH with Fail2Ban

Install and configure Fail2Ban to automatically block brute-force SSH attacks on your Linux server.

fail2bansshsecurity+3
May 16

Git Undo Cheatsheet — Fix Every Mistake

How to undo commits, unstage files, recover deleted branches, and fix every common Git mistake without losing work.

gitdeveloperversion-control+2
May 16

Install NVM and Manage Node.js Versions

Install Node Version Manager and switch between Node.js versions per project.

nodenvmjavascript+2
May 16

Kubectl Context Switching Cheatsheet

Quickly switch between Kubernetes clusters and namespaces without editing kubeconfig manually.

kuberneteskubectldevops+2
May 16

Linux Performance Triage in 60 Seconds

The first 10 commands to run when a Linux server is slow — CPU, memory, disk, network, and process diagnostics in under a minute.

linuxperformancedebugging+3
May 16

Nginx Reverse Proxy Setup for Any App

Configure Nginx as a reverse proxy with SSL termination, WebSocket support, and security headers for production deployments.

nginxreverse-proxyssl+3
May 16

Generate Self-Signed SSL Certificate

Create a self-signed TLS certificate for local development or internal services using OpenSSL.

opensslssltls+2
May 16

SSH Tunnel Patterns

Common SSH port forwarding patterns for accessing remote databases, dashboards, and services securely.

sshnetworkingtunnel+2
May 16

Systemd Service Unit Template

Create a systemd service to run any binary or script as a managed background service on Linux.

systemdlinuxdevops+2
May 16