Skip to content

DevOps & tooling

Containers, Git, CI and cloud hosting. 32 posts, newest first. All topics

  1. DevOps & toolingDocker and Local Dev EnvironmentsHow I use Docker and docker-compose for local development, mail capture, test stacks and scraper/OCR services.
  2. DevOps & toolingWorking on Several Branches at Once with git worktreeCheck out more than one branch of a repository at the same time with git worktree: add, list, move, remove and prune, and what the worktrees share.
  3. DevOps & toolingKubernetes Liveness, Readiness and Startup Probes ExplainedWhat each Kubernetes probe does, the four probe types, how the timing fields add up, why liveness should not check dependencies, and a Deployment that gets it right.
  4. DevOps & toolingWriting Reusable Terraform Modules: Inputs, Outputs and VersioningStructure a Terraform module, validate its input variables, expose outputs, call it locally, from the registry and with for_each, and pin module versions safely.
  5. DevOps & toolingBeyond the Whale: The Architecture, Trade-Offs, and Implementation of Post-Docker Container FrameworksDitch Docker Desktop. Explore modern OCI-compliant alternatives like Podman, containerd, OrbStack, and native host engines including Windows wslc.exe and Apple's native container toolchain without daemon overhead.
  6. DevOps & toolingRunning Services and Scheduled Jobs with systemd Units and TimersWrite a systemd service for a web app with restarts and an environment file, read its logs with journalctl, and replace cron jobs with timers, including user units.
  7. DevOps & toolingCaddy as a Reverse Proxy with Automatic HTTPSPut Caddy in front of your apps: reverse_proxy, automatic certificates and what they need, several sites, headers, load balancing, Compose and local HTTPS.
  8. DevOps & toolingSmaller Docker images with multi-stage buildsSplit a Dockerfile into builder and runtime stages: COPY --from, slim and distroless bases, BuildKit cache mounts, .dockerignore, and how to check what an image contains.
  9. DevOps & toolingMatrix builds and dependency caching in GitHub ActionsTest across operating systems and runtime versions with strategy.matrix, include, exclude and fail-fast, and cache dependencies with setup-* and actions/cache.
  10. DevOps & toolingReusable workflows and composite actions in GitHub ActionsShare CI logic across jobs and repositories with workflow_call reusable workflows and composite actions: inputs, secrets, outputs, when to use which, and versioning.
  11. DevOps & toolingGit cherry-pick, merge strategy options, and release tags in shell scriptsApplying single commits with git cherry-pick, resolving conflicts automatically with -X ours/theirs and rerere, and scripting annotated or signed release tags.
  12. DevOps & toolingGetting started with Apache Maven: project layout, lifecycle and dependenciesWhat Apache Maven does, the standard project layout, how the build lifecycle and dependencies work, and how to generate, build and run a project from the command line.
  13. DevOps & toolingRanking engineers by commits and lines of code with Git and BashFour Bash scripts that use git log, git shortlog and git blame to count each author's commits, touched files, changed lines and surviving lines in a repository.
  14. DevOps & toolingApache Tomcat: architecture, configuration and a first servletWhat Apache Tomcat is, how Catalina, Coyote and Jasper fit together, which config file does what, and how to deploy a Jakarta servlet on Tomcat 11.
  15. DevOps & toolingStoring PEM keys in cloud environment variables with base64Why multi-line values like PEM keys break in environment variables, and how to base64-encode them in bash and decode them in JavaScript.
  16. DevOps & toolingGitHub vs GitLab vs Bitbucket: choosing a Git hostHow GitHub, GitLab and Bitbucket differ on CI/CD, self-hosting, licensing and integrations, and which kind of project each one suits.
  17. DevOps & toolingApache Commons Lang, IO and Collections: examples in JavaWorking examples of Apache Commons Lang (StringUtils, NumberUtils), Commons IO (FileUtils) and Commons Collections (MultiValuedMap), with current Maven coordinates.
  18. DevOps & toolingApache Lucene basics: indexing and searching text in JavaHow Apache Lucene indexes and searches text, how BM25 ranks results, and a runnable Java example that builds an index and queries it with Lucene 10.
  19. DevOps & toolingApache POI: reading and writing Excel, Word and PowerPoint files in JavaUsing Apache POI 6 to create, style and read Excel workbooks and to generate Word and PowerPoint files from Java, with runnable examples.
  20. DevOps & toolingApache Struts 2: actions, interceptors and security practicesHow Apache Struts 2 handles requests with actions, interceptors and struts.xml, with a small Struts 7 example and the security practices that matter most.
  21. DevOps & toolingEclipse Jetty: an introduction to the Java web server and servlet containerWhat Eclipse Jetty is, how its server, connectors and handlers fit together in Jetty 12, and how to embed it in a Java app or run it standalone.
  22. DevOps & toolingGitHub Actions basics: YAML, cron schedules, push triggers and keeping scheduled workflows aliveThe YAML and cron syntax you need for GitHub Actions workflows, with a scheduled scraper, push triggers, and a workaround for the 60-day schedule shutoff.
  23. DevOps & toolingApache Kafka basics: topics, partitions, producers and consumer groupsHow Apache Kafka stores events in partitioned, replicated logs, how producers and consumer groups use them, and how to run a single KRaft broker locally.
  24. DevOps & toolingCaching npm dependencies in GitHub Actions with actions/cacheHow actions/cache restores and saves node_modules between GitHub Actions runs, the cache-key pitfalls, and how I used it in this Astro blog's build workflow.
  25. DevOps & toolingA GitHub Action that reports the runner's public IP address and locationBuilding a TypeScript GitHub Action that looks up the runner's public IP with jsonip.com, fetches location details for it, and exposes them as step outputs.
  26. DevOps & toolingPublishing a Java Maven package to GitHub Packages and JitPackHow I published a small Java library to GitHub Packages with a GitHub Actions workflow, and made it available through JitPack.
  27. DevOps & toolingListing git commits between two tags, filtered by author or messageUse git log ranges with --author, --grep and --no-merges to list the commits that went into a release, such as all JIRA tickets between two tags.
  28. DevOps & toolingSimple script to checkout filesbash script to checkout files using bash
  29. DevOps & toolingHeroku shutdown how to migrate to koyebBasic explaination of how I migrating my discord rss bot to koyeb
  30. DevOps & toolingModules in PerlHow to create modules in perl
  31. DevOps & toolingDetails to install wsl2 on windows without using the windows storeA summary of lessons learned from installing wsl2 with a broken windows store app.
  32. DevOps & toolingWhat I did to transfer docker images from dockerhub to ghcrTransferring images from dockerhub with ghcr with code included.

© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)