#DevOps.
15 posts filed under this topic.
jq Cheat Sheet: Filter, Transform, and Query JSON from the Terminal
Complete jq reference — basic filters, pipes, array/object operations, conditionals, string interpolation, select, map, reduce, and real DevOps workflows.
SSH Config & Aliases: The Developer's Connection Kit
Master SSH configuration — host aliases, jump hosts, key management, port forwarding, and secure connections. Save time with ~/.ssh/config automation.
How to Use Environment Variables in Docker
Manage environment variables in Docker containers and Compose files — inline values, .env files, runtime injection, secrets, and production patterns.
Docker Multi-Stage Builds: Smaller Images, Faster Deploys
Master Docker multi-stage builds — reduce image size, improve security, speed up builds. Production-ready patterns for Node.js, Python, Go, and more.
How to Harden SSH on a Linux Server
Step-by-step SSH hardening guide — disable root login, enforce key-only auth, change the default port, configure fail2ban, and add 2FA with Google Authenticator.
Docker Compose Cheat Sheet: Services, Volumes, Networks & Production Patterns
Complete Docker Compose reference — service definitions, volumes, networks, environment variables, health checks, overrides, and production-ready compose file templates.
Nginx Cheat Sheet: Config, Routing, SSL & Performance
Complete Nginx reference — server blocks, location matching, proxy_pass, SSL/TLS, gzip, rate limiting, headers, redirects, and a production-ready config template.
How to Install Docker on Ubuntu, macOS and Windows
Install Docker Desktop or Docker Engine step-by-step on Ubuntu, macOS, and Windows — including post-install setup, running your first container, and Docker Compose.
How to Write a Production Dockerfile for Node.js
Build small, fast, production-ready Docker images for Node.js — layer caching, multi-stage builds, non-root user, health checks, and .dockerignore explained.
Docker Compose in Production: What You Need to Know
Running Docker Compose in production is different from dev. Here's what to change — health checks, restart policies, secrets, logging, networking, and resource limits — before you ship.
Docker Cheat Sheet: Images, Containers, Compose & More
Complete Docker reference — pulling images, running containers, volumes, networks, exec, logs, Docker Compose commands, Dockerfile tips, and disk cleanup.
GitHub Actions Secrets: Best Practices to Stop Leaking Credentials
Leaked secrets in GitHub Actions are one of the most common security incidents. Here's how to store them correctly, scope them properly, and avoid the mistakes that expose API keys in CI logs.
Kubernetes Cheat Sheet: Every kubectl Command You Actually Need
Complete Kubernetes reference with copy-paste kubectl commands for pods, deployments, services, namespaces, config, scaling, logs, exec, and troubleshooting.
Docker Desktop Was Killing My Laptop. Here Is What Fixed It.
Docker Desktop using 6GB RAM and spinning the fan constantly. A few targeted config changes — memory caps, layer caching, dev vs prod images — fixed it completely.
How to Set Up CI/CD with GitHub Actions (Complete Guide)
Learn how to set up a CI/CD pipeline with GitHub Actions from scratch — running tests, building, deploying to staging and production, and handling secrets safely.