PostgreSQL Docker Environment
Quickly run and connect to a PostgreSQL 14 server in a Podman container, using the Docker-compatible command line and psql to connect locally
MongoDB Docker Environment
Quickest way to spin up & connect to a MongoDB Docker instance using Podman as a drop-in Docker replacement
MySQL Docker Environment
Quick way to spin up & connect to a MySQL server with Podman (Docker drop-in). Simple commands for starting and authenticating
Tracing Maven transitive dependencies
False-positive CVE-2022-22965 alert on an Atlassian Maven plugin caused by a provided-scope transitive spring-beans dependency from Bitbucket itself (not shipped in the JAR)
Headless Raspberry Pi setup
Quick guide to set up a headless Raspberry Pi with WiFi & SSH on Raspberry Pi OS using pre-made configs - Clone, customize password/WiFi, copy to /boot.
Github Actions example
Trying out GitHub Actions for building crypto daemon container images. Excellent docs, built-in buildah/podman, plus secrets, parallel builds & quay.io pushes
K8s External Secrets
External Secrets (by GoDaddy) bridges K8s secrets & secure stores like AWS Secrets Manager. Define ExternalSecret resources to sync credentials as regular K8s secrets
Adding features to K8s
Simple K8s controllers aren’t hard - a privileged pod can poll the API event stream/lists to automate tasks like external DNS or Cloudflare updates
What is a Kubernetes ingress controller
K8s defines Ingress standards for HTTP routing (paths, backends) but provides no implementation - deploy your own controller to route external traffic to pods
what is Kubernetes
Kubernetes (K8s) is a container scheduling engine that runs Docker-compatible containers on allocated capacity
what is upsert
UPSERT inserts a record if missing or updates it if present. Makes data syncs idempotent - less code, fewer chances for mistakes.
What is a database
What is a database? Broadly, organized electronic data
Exposing version in JavaScript
Safely expose package.json version in Node.js apps by generating src/version.js
Cost debugging JFrog Pipelines
Debug unexplained JFrog CI costs by analysing artifact downloads with AQL, identifying Kubernetes cronjobs, and reducing unnecessary image pulls
What is a homedir
A homedir is your personal file storage (e.g. /Users, /home, C:\Users). ~ expands to it