Software & Scripts
Self-Host a Service With Docker Compose: Volumes and Backups
A worked Docker Compose file for a self-hosted service: compose anatomy, named volumes, restart policies, healthchecks, updating images with pull and up,…
Why Is My Python Code Slow? cProfile, py-spy and Flame Graphs
Answers to the questions people ask when Python runs slowly: how to read cProfile output, tottime versus cumtime, sampling versus deterministic profiling,…
systemd Timers vs Cron: Schedule Jobs With a .timer and .service Pair
Compare cron with systemd timers, then copy a working .service and .timer pair. Covers OnCalendar syntax, Persistent=, RandomizedDelaySec, systemctl list-timers and journalctl…
How to Use git bisect to Find the Commit That Broke Your Build
A worked git bisect example: mark good and bad commits, automate the search with git bisect run, understand the exit codes, and…
Build a Local RAG Notes Search With Ollama and Python
A step-by-step guide to a local question-answering tool over your own notes: chunking, embeddings with Ollama, vector search, and the ways retrieval-augmented…
