Article
Gotcha: Using vCluster on Elastic Kubernetes Service requires a Container Storage Interface driver (2 mins read).
How to avoid PersistentVolumeClaim
s getting stuck in a Pending
state with vCluster and EKS when you've not set up the cluster with a Container Storage Interface driver for Elastic Block Store.
Tue, 10 Oct 2023 13:38 by Jamie Tanna
.
#blogumentation
#aws
#kubernetes .
Article
Listing environment variables used to trigger a Buildkite pipeline (1 mins read).
How to use Buildkite's GraphQL API to list the environment variables provided to trigger a pipeline.
Tue, 10 Oct 2023 13:25 by Jamie Tanna
.
#blogumentation
#buildkite .
Article
Solving /usr/lib/Xorg.wrap: Only console users are allowed to run the X server
errors with tmux over SSH (1 mins read).
How to avoid Xorg errors when connecting to a Linux machine over SSH that tries to spawn startx
.
Thu, 05 Oct 2023 14:08 by Jamie Tanna
.
#blogumentation
#linux
#tmux
#ssh .
Article
Reusing a browser session with Playwright (1 mins read).
How to re-use your existing browser sessions with Playwright.
Sat, 30 Sep 2023 20:59 by Jamie Tanna
.
#blogumentation
#playwright
#javascript .
Article
Gotchas with pointing Go modules to a fork, when building an installable module (3 mins read).
A gotcha around how to pin a Go module to a fork, if you're building a module that should be go install
able.
Wed, 20 Sep 2023 14:48 by Jamie Tanna
.
#blogumentation
#go .
Article
Building dynamic jobs with BuildKite (2 mins read).
How to dynamically generate job configuration for BuildKite, while running inside a pipeline.
Thu, 14 Sep 2023 11:40 by Jamie Tanna
.
#blogumentation
#buildkite .
Article
Setting up a matrix for GitHub Actions with Go's go.mod
and specific versions (2 mins read).
How to use a Go setup matrix in GitHub Actions that can target the go.mod
version and arbitrary other version(s).
Mon, 11 Sep 2023 09:55 by Jamie Tanna
.
#blogumentation
#github-actions
#go .
Article
Prefer using the GitHub Software Bill of Materials (SBOMs) API over the Dependency Graph GraphQL API (2 mins read).
Why you should use GitHub's Software Bill of Materials API instead of the Dependency Graph GraphQL API.
Sun, 10 Sep 2023 20:52 by Jamie Tanna
.
#blogumentation
#github
#graphql
#sbom .
Article
Setting up your Maven settings.xml
to release a Jenkins plugin (1 mins read).
How to set up your crdentials to release a Jenkins plugin via Maven.
Sat, 02 Sep 2023 21:12 by Jamie Tanna
.
#blogumentation
#jenkins
#maven .
Article
Removing ANSI escape codes in Vim (1 mins read).
How to remove ANSI escape codes in (Neo)Vim.
Fri, 01 Sep 2023 14:01 by Jamie Tanna
.
#blogumentation
#vim
#neovim .
Article
Creating global middleware for net/http
servers in Go (1 mins read).
How to wrap net/http
servers in Go with middleware(s) on every request.
Fri, 01 Sep 2023 10:33 by Jamie Tanna
.
#blogumentation
#go .
Article
What Go versions are my modules and dependencies targeting? (1 mins read).
Without using go mod vendor
, how you can look at the version of Go that each of your modules and dependencies target.
Thu, 31 Aug 2023 10:47 by Jamie Tanna
.
#blogumentation
#go .
Article
Why is Go trying to upgrade my go.mod
to Go 1.21? (1 mins read).
Why you may be seeing Go trying to upgrade the Go version in your go.mod
to Go 1.21.
Thu, 31 Aug 2023 10:47 by Jamie Tanna
.
#blogumentation
#go .
Article
Creating a Zoho Mail alias using the API (2 mins read).
How to use the Zoho Mail API to add an alias to your account.
Wed, 30 Aug 2023 14:23 by Jamie Tanna
.
#blogumentation
#zoho .
Article
Setting up Mend Renovate Community Edition for GitLab.com on Fly.io (2 mins read).
How to set up Mend Renovate Community Edition on Fly.io, when integrating with GitLab.com.
Wed, 30 Aug 2023 10:16 by Jamie Tanna
.
#blogumentation
#renovate
#fly.io
#gitlab .
Article
Turning on Caps Lock when the Caps Lock key is bound to a different key (1 mins read).
How to trigger a Caps Lock event when you've rebound the key to a differnet key.
Fri, 25 Aug 2023 10:12 by Jamie Tanna
.
#blogumentation
#linux
#command-line .
Article
Setting up real-time Slack notifications for GitHub (1 mins read).
How to get Slack's real-time notifications integrated with GitHub.
Wed, 23 Aug 2023 20:48 by Jamie Tanna
.
#blogumentation
#github
#slack .
Article
Managing Buildkite Agent Images with Renovate (1 mins read).
How to use Renovate to manage Buildkite Agent Images.
Tue, 22 Aug 2023 11:52 by Jamie Tanna
.
#blogumentation
#renovate
#buildkite .
Article
Running commands against every module in a Go multi-module project (1 mins read).
How to run commands like go test
when using a multi-module Go project.
Fri, 18 Aug 2023 16:08 by Jamie Tanna
.
#blogumentation
#go .
Article
Resolving Timeout
s when generating entropy when generating a new GPG key (1 mins read).
How I resolved an issue with a Timeout
error when generating a new GPG key.
Tue, 15 Aug 2023 21:48 by Jamie Tanna
.
#blogumentation
#gpg .
Article
Resolving black screen display with SDDM and NVIDIA GPUs (1 mins read).
How I resolved an issue with a black screen displaying when SDDM is used with an NVIDIA driver.
Mon, 14 Aug 2023 15:41 by Jamie Tanna
.
#blogumentation
#linux .
Article
Analysing GitHub Pull Request review times with SQLite and Go (3 mins read).
How measuring how long code review took as a team lead to being able to change our processes, and then deliver much more effectively.
Thu, 10 Aug 2023 20:20 by Jamie Tanna
.
#blogumentation
#sqlite
#go .
Article
Merging a branch in GitHub - the hard way (4 mins read).
How to (kinda) merge two branches in GitHub using the underlying Git database API.
Thu, 13 Jul 2023 18:58 by Jamie Tanna
.
#blogumentation
#github
#git .
Article
Validating Renovate configuration changes before merging (2 mins read).
How to perform a dry run to validate your Renovate config before it's merged.
Mon, 10 Jul 2023 21:25 by Jamie Tanna
.
#blogumentation
#renovate .
Article
Sharing state between net/http
method calls in Go (1 mins read).
How to construct a struct
in Go that can have its state shared between HTTP server handler functions.
Mon, 03 Jul 2023 20:43 by Jamie Tanna
.
#blogumentation
#go .
Article
Who do these Google (JSON file) credentials belong to? (1 mins read).
Given a JSON credentials file for Google APIs, are they still valid?
Fri, 30 Jun 2023 17:12 by Jamie Tanna
.
#blogumentation
#google .
Article
Using go.mod
versions to go install
a binary (1 mins read).
How to use go install
to install a binary from the version tracked in go.mod
.
Mon, 19 Jun 2023 09:24 by Jamie Tanna
.
#blogumentation
#go .
Article
Checking the migration status with golang-migrate
(1 mins read).
How to check what version of the schema is curently applied when using golang-migrate
.
Mon, 19 Jun 2023 09:04 by Jamie Tanna
.
#blogumentation
#go
#sql .
Article
Introducing openapi-sorbet
, a command-line tool for generating Sorbet types from OpenAPI (2 mins read).
How to generate Sorbet type-checked models from OpenAPI specifications.
Wed, 31 May 2023 21:44 by Jamie Tanna
.
#blogumentation
#sorbet
#ruby
#go
#command-line
#openapi .
Article
Getting a --version
flag for Cobra CLIs in Go (2 mins read).
How to get Cobra to provide a --version
flag.
Sat, 27 May 2023 10:57 by Jamie Tanna
.
#blogumentation
#go
#goreleaser .
Article
Performing downtime-inducing AWS RDS changes with no downtime☆ (2 mins read).
How to limit your downtime to seconds, instead of minutes, when performing downtime-inducing changes with AWS RDS.
Tue, 23 May 2023 21:33 by Jamie Tanna
.
#blogumentation
#aws
#databases .
Article
The Lazy engineer's guide to running your Go web application to AWS Lambda (4 mins read).
How to take a Go web application and move it to AWS Lambda with two lines of code.
Sun, 21 May 2023 21:54 by Jamie Tanna
.
#blogumentation
#aws-lambda
#go .
Article
Which OS and CPU architecture is this binary compiled for? (4 mins read).
How to use Go to parse an arbitrary executable to work out the Operating System and CPU architecture it's compiled for.
Mon, 15 May 2023 10:44 by Jamie Tanna
.
#blogumentation
#go .
Article
Creating an HTTP 404 handler for Go net/http
servers (2 mins read).
How to add a catch-all 404 handler when writing HTTP servers with Go's net/http
server.
Thu, 11 May 2023 21:45 by Jamie Tanna
.
#blogumentation
#go .
Article
Serving the current directory over HTTP with Go (1 mins read).
How to use Go's standard library to serve the current directory over HTTP.
Tue, 02 May 2023 16:41 by Jamie Tanna
.
#blogumentation
#go .
Article
Getting the commit author details for a GitHub App account (1 mins read).
How to retrieve the git commit author details for a given GitHub App.
Thu, 20 Apr 2023 07:38 by Jamie Tanna
.
#blogumentation
#github .
Article
Generating Equal
methods for Go structs with goderive
(3 mins read).
How to use goderive
to generate an Equal
method between structs, so you don't have to.
Mon, 27 Mar 2023 20:52 by Jamie Tanna
.
#blogumentation
#go .
Article
Checking if files are synced between repos with GitHub Actions (2 mins read).
Creating a GitHub Action workflow to indicate when vendored files are out-of-sync between GitHub repos.
Thu, 23 Mar 2023 21:12 by Jamie Tanna
.
#blogumentation
#github
#github-actions .
Article
Working out which Docker namespaces and images you most depend on (2 mins read).
How to use dependency-management-data to visualise the most popular Docker namespaces and images you depend on.
Wed, 15 Mar 2023 21:44 by Jamie Tanna
.
#blogumentation
#docker
#dependency-management-data .
Article
Querying JSON with SQLite (1 mins read).
How to use json_each
and json_extract
to query a JSON field in SQLite.
Mon, 13 Mar 2023 21:43 by Jamie Tanna
.
#blogumentation
#sqlite
#json .
Article
Dynamically retrieving the version of a Node.JS/Typescript dependency, at runtime (1 mins read).
How to retrieve metadata about packages that are depended on at runtime.
Sun, 12 Mar 2023 11:21 by Jamie Tanna
.
#blogumentation
#nodejs
#typescript .
Article
Automating boilerplate/scaffolding code with custom code generation in Go, with jen
(3 mins read).
How to generate Go code using github.com/dave/jennifer
.
Sat, 11 Mar 2023 22:11 by Jamie Tanna
.
#blogumentation
#go .
Article
Debugging HTTP Client requests with Go (2 mins read).
How to add debug logging to http.Client
in Go.
Sat, 11 Mar 2023 10:08 by Jamie Tanna
.
#blogumentation
#go .
Article
Who do these Twilio credentials belong to? (2 mins read).
How to work out whether arbitrary Twilio credentials are valid, and if so, what type they are.
Wed, 08 Mar 2023 20:23 by Jamie Tanna
.
#blogumentation
#twilio .
Article
Getting a --version
flag for Cobra CLIs in Go, built with GoReleaser (2 mins read).
How to get Cobra to provide a --version
flag when using GoReleaser.
Mon, 27 Feb 2023 17:19 by Jamie Tanna
.
#blogumentation
#go
#goreleaser .
Article
Cross-compiling a CGO project using Goreleaser (2 mins read).
How to use goreleaser-cross
to cross-compile a Go command-line tool.
Fri, 24 Feb 2023 21:28 by Jamie Tanna
.
#blogumentation
#go
#goreleaser
#gitlab-ci .
Article
Getting a GitHub App installation token on the command-line (2 mins read).
How to get a GitHub App installation token (using Typescript) for a given installation.
Sat, 11 Feb 2023 21:42 by Jamie Tanna
.
#blogumentation
#typescript
#github .
Article
Passing a private key as an environment variable (1 mins read).
How to convert a PEM-encoded private key in a form to be stored in an environment variable.
Sat, 11 Feb 2023 21:21 by Jamie Tanna
.
#blogumentation
#shell
#certificates .
Article
Listing the status of your branch protection in GitHub (1 mins read).
Creating a command-line Go tool to list the branch protection status of your repositories.
Fri, 03 Feb 2023 17:16 by Jamie Tanna
.
#blogumentation
#github .
Article
Determining missing translation keys from gettext .po
files (1 mins read).
Creating a Go command to check for missing translation keys across gettext .po
files.
Wed, 01 Feb 2023 09:40 by Jamie Tanna
.
#blogumentation
#go .