Private Dev Docs & Resource Index

Personal engineering scratchpad, Linux administration snippets, and reference notes.

Linux & Kernel Tuning

  • sysctl -p — Reload kernel TCP/IP parameters
  • journalctl -u service -n 100 — Inspect systemd logs
  • ss -tulpn — Audit active listening sockets
  • vnstat -m — Monthly bandwidth accounting

TLS & Reverse Proxy Notes

  • Prefer TLS 1.3 with X25519 key exchange and ALPN h2
  • Automate ACME certificate renewal via HTTP-01 challenge
  • Enforce X-Content-Type-Options: nosniff headers
  • Bind internal upstreams strictly to loopback interfaces

Containers & Build Cache

  • docker compose up -d --build — Rebuild & restart stack
  • git fetch --prune && git rebase — Clean history sync
  • rsync -avz --progress — Incremental artifact sync
  • sha256sum -c checksums.txt — Release verification

Quick Diagnostics Snippets

# Verify TCP congestion control and queue discipline
sysctl net.core.default_qdisc net.ipv4.tcp_congestion_control

# Inspect certificate expiry date
openssl s_client -connect localhost:8443 -servername localhost </dev/null 2>/dev/null | openssl x509 -noout -dates

# Disk and memory snapshot
df -hT / && free -h