Posts
Page 57 of 72
-
Here Documents vs Here Strings in Bash
Bash heredocs and here strings explained: <<EOF for multiline input, <<-EOF for tab-indented blocks, <<<string for single lines, and when to use each.
· Updated:6 min read -
HandBrake and Video Transcoding: Your Media Library Deserves Better Compression
Stop hoarding 50GB Blu-ray remuxes. Learn HandBrakeCLI, H.265/AV1 trade-offs, GPU encoding, and batch scripts that actually work.
6 min read -
Portainer vs Dockge: Managing Containers Without the Terminal
Portainer vs Dockge: two Docker GUIs for managing containers without the terminal. We compare features, setup, and which fits your self-hosting style.
14 min read -
DDoS Mitigation: Teaching Your Server to Say No Politely (Then Impolitely)
DDoS mitigation for self-hosters: Nginx rate limiting, Fail2ban, Cloudflare free tier, CrowdSec, and iptables tricks that actually work.
8 min read -
GNU parallel for Embarrassingly Parallel Tasks
GNU parallel runs tasks in parallel across CPU cores. It's faster than xargs and easier than writing a job queue. Here's when and how to use it.
· Updated:6 min read -
LVM Advanced: Snapshots, Thin Provisioning, and Not Losing Your Data
Master LVM snapshots and thin provisioning on Linux. Learn to create, use, and merge snapshots for backups, and over-provision storage safely.
9 min read -
SSH Hardening: Lock Down Remote Access Without Locking Yourself Out
Harden SSH properly: disable password auth, switch to Ed25519 keys, configure sshd_config, set up SSH certificates with step-ca, add 2FA, and configure ProxyJump for bastion hosts.
· Updated:8 min read -
WireGuard Is Fast, But You're Leaving Performance on the Table
Squeeze every MB/s from WireGuard: MTU sizing, GSO/GRO CPU offloading, AllowedIPs routing, PersistentKeepalive tradeoffs, and iperf3 benchmarks included.
· Updated:9 min read -
trap in Bash: Clean Up When Your Script Dies
Use trap EXIT to clean up temp files, INT/TERM for graceful shutdown, and ERR for errors. Stop your bash scripts from leaving messes when they die.
· Updated:6 min read -
Docker Volumes vs Bind Mounts: Where Your Data Actually Lives
Docker volumes vs bind mounts explained: named volumes, anonymous volumes, bind mounts, and tmpfs. Real examples for databases, dev workflows, and production.
· Updated:17 min read -
Plex Optimization: Remote Access, Transcoding, and Taming the Beast
Plex defaults to transcoding files your TV could already play. Fix direct play, enable hardware transcoding, kill the relay tax, and know when to quit for Jellyfin.
· Updated:7 min read -
Home Assistant + Node-RED: Automate Your Home Without Losing Your Mind
Home Assistant handles device integrations. Node-RED handles the multi-step logic HA's YAML can't. Docker Compose setup, real flows, and where to draw the line.
· Updated:8 min read