


Describing JSON Patch operations with OpenAPI
How to describe your JSON Patch endpoints using OpenAPI.
29 May 2022 · 2m
www.jvt.me • by Jamie Tanna
Weirdness with git diff-index showing 1 file changed, 0 insertions(+), 0 deletions(-)
Something weird I hit last week with git diff-index, which shows 1 file changed, but no changes.
23 May 2022 · 1m
www.jvt.me • by Jamie Tanna
Introducing a library for OpenAPI contract testing with Go's net/http package
Creating a Go library that can verify net/http handlers implement an OpenAPI contract, for use with testing.
22 May 2022 · 2m
www.jvt.me • by Jamie Tanna
Testing Go net/http handlers
How to write unit tests to validate an HTTP handler.
21 May 2022 · 1m
www.jvt.me • by Jamie Tanna


Getting the fingerprint of a certificate in Go
How to retrieve an X.509 thumbprint from a remote server, in Go.
6 May 2022 · 1m
www.jvt.me • by Jamie Tanna
Getting the OpenID Connect thumbprint for AWS on the command-line with Go
How to automagically retrieve an OpenID Connect thumbprint for use with AWS' OpenID Connect federated identity.
6 May 2022 · 2m
www.jvt.me • by Jamie Tanna
Setting up a Go package structure for a combined library and CLI tool
How to structure a Go repository to be both a library and command-line tool(s).
6 May 2022 · 2m
www.jvt.me • by Jamie Tanna
Parsing AWS ALB/ELB access logs into SQLite
How to take a set of ALB/ELB logs and convert them to an SQLite database for further processing.
6 May 2022 · 2m
www.jvt.me • by Jamie Tanna
When should I use env to start a command with environment variables?
When you should use the env command to specify environment variables when executing a command on the command-line (TL;DR: always).
5 May 2022 · 2m · Popular post
www.jvt.me • by Jamie Tanna
Should I commit generated Go code?
Answering whether go:generated code should be committed (TL;DR is yes).
5 May 2022 · 1m
www.jvt.me • by Jamie Tanna

Installing Nokogiri on an M1 Mac
How to get Nokogiri building on an M1 Mac, when using Bundler.
1 May 2022 · 1m
www.jvt.me • by Jamie Tanna
Determining if there are uncommitted changes in Git
A one-liner to work out whether there are uncommitted changes in a repository.
29 April 2022 · 1m
www.jvt.me • by Jamie Tanna
Building a fault-tolerant work queue for command-line executions with GNU Parallel
How to use parallel to create a lightweight work queue of commands, with retry logic and a record of what's been executed.
28 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Extracting Podcast Addict listening history from the SQLite database
How to get raw listening history from the Podcast Addict database.
28 April 2022 · 2m
www.jvt.me • by Jamie Tanna
sed to replace 'smart' quotes with regular quotes.
28 April 2022 · 1m
www.jvt.me • by Jamie Tanna
I'm Joining Deliveroo
Announcing my move into Deliveroo as a Senior Software Engineer.
25 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Automagically setting the project version for Go projects in SonarQube
How to automagically set sonar.projectVersion for Go projects, based on Git tags.
20 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Converting a Byte Array to String from a Node.JS Buffer, in Go
How to convert an array of bytes to a string using Go.
12 April 2022 · 1m
www.jvt.me • by Jamie Tanna
Prefactoring: Preparatory Refactoring
Why I use prefactoring as a means to perform up-front refactoring for codebases, splitting these into separate PRs/MRs where possible.
12 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Protecting an Architect Framework Application with OAuth2 or OpenID Connect Authentication
How to set up OAuth2/OpenID Connect authentication with an Architect Framework application.
11 April 2022 · 4m
www.jvt.me • by Jamie Tanna
Getting node-canvas to run on AWS Lambda
Some common issues that occur when using node-canvas on AWS Lambda, and how to solve them.
8 April 2022 · 3m
www.jvt.me • by Jamie Tanna
Parsing the Cookie and Set-Cookie headers with Go
How to parse the value of a Cookie or Set-Cookie header to a JSON object.
7 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Generating a Go HTTP Client from OpenAPI schemas
How to generate a Go HTTP client really quickly and easily, with no manual work, using the oapi-codegen project.
6 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Generating Go structs from OpenAPI schemas
How to generate Go structs really quickly and easily, with no manual work, using the oapi-codegen project.
6 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Setting up GitLab CI for Go projects
How to set up a basic set of automated builds for Go projects on GitLab CI, for modern Go projects.
6 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Introducing tiktok-mf2.tanna.dev, for converting TikTok video metadata to Microformats2
Announcing a hosted service for converting TikTok metadata to a Microformats2 object.
1 April 2022 · 1m
www.jvt.me • by Jamie Tanna
Adding a Non-AWS Hosted Custom Domain to an AWS API Gateway without CloudFront
How to set up a domain name for AWS API Gateway for a domain that isn't managed through AWS Route 53.
1 April 2022 · 2m
www.jvt.me • by Jamie Tanna
Creating a minimal AWS S3 Bucket Policy for deploying with Hugo via hugo deploy.
How to configure an AWS S3 Bucket for hugo deploy with the minimal access required for a role to write objects to.
30 March 2022 · 1m
www.jvt.me • by Jamie Tanna
Automagically deploying Architect Framework applications to AWS uisng GitLab CI
How to use GitLab's OpenID Connect support with AWS, to allow deployment using the Architect Framework automagically on GitLab CI.
30 March 2022 · 3m
www.jvt.me • by Jamie Tanna
Avoiding Spring context issues when parallelising @Nested Spring integration tests
Using abstract base classes to reduce risk of Spring context overall issues with Spring (Boot) integration tests.
22 March 2022 · 3m
www.jvt.me • by Jamie Tanna
Providing a basic implementation of Ruby's ARGF.read in Go
Creating a Go helper method to read from stdin or a file, inspired by Ruby's ARGF.read method.
22 March 2022 · 2m
www.jvt.me • by Jamie Tanna
Integration Testing Your Spring WebClients with Wiremock
How to write integration tests using Wiremock, for use with WebClients.
22 March 2022 · 4m
www.jvt.me • by Jamie Tanna
Accessing the OpenAPI Specification for a Kubernetes Cluster
How to get the OpenAPI specification for your Kubernetes Cluster.
16 March 2022 · 1m
www.jvt.me • by Jamie Tanna
Solving ConnectExceptions with the Kubernetes Java ApiClient
How I solved ConnectExceptions in my Kubernetes Java client usage, by moving to cluster mode.
16 March 2022 · 1m
www.jvt.me • by Jamie Tanna
Automagically Auditing GitHub (Actions) Security using OpenSSF Scorecards
How to use the OpenSSF Scorecards GitHub Action to audit your GitHub and GitHub Actions configuration, and a breakdown of some of the issues raised by it.
15 March 2022 · 6m
www.jvt.me • by Jamie Tanna
Introducing opengraph-mf2 a library, and service opengraph-mf2.tanna.dev, for converting OpenGraph metadata to Microformats2
Announcing an NPM package and a hosted service for converting OpenGraph metadata to a Microformats2 object.
14 March 2022 · 3m
www.jvt.me • by Jamie Tanna
How to fix Failed to load ApplicationContext in Spring (Boot) applications
Some common issues with Spring dependency injection and how to fix them.
10 March 2022 · 6m
www.jvt.me • by Jamie Tanna
Converting an x5c from a JSON Web Key to a PEM with Node.JS
How to convert a JWK's x5c to a PEM-formatted certificate with Node.JS.
6 March 2022 · 1m
www.jvt.me • by Jamie Tanna
Extracting x5cs from a JSON Web Key Set (JWKS) to PEM files with Node.js
How to extract the full chain of certificates from a JWKS' x5c parameter to files.
6 March 2022 · 1m
www.jvt.me • by Jamie Tanna
Generate a running mock server from an OpenAPI specification using Prism
Using Stoplight's prism tool to run a stubbed server from an OpenAPI specification, for better testing.
4 March 2022 · 3m
www.jvt.me • by Jamie Tanna
Gotcha: checked and unchecked exception handling from Spring WebFlux WebClient
How checked and unchecked exceptions may appear when testing your WebClient code.
4 March 2022 · 2m
www.jvt.me • by Jamie Tanna
Accessing the response body with Spring WebFlux WebClient with onStatus
How to access the body of an (error) response when using WebClient's onStatus method.
4 March 2022 · 1m
www.jvt.me • by Jamie Tanna
Running a command on a visual selection in Vim
How to pipe the text in a visual selection to a command, either to run it, or to replace the text in the seletion.
3 March 2022 · 1m
www.jvt.me • by Jamie Tanna
Updating the CA Certificate bundle in Chef Installations
How to update/add new certificates to the Certificate Authority Certificate Bundle in a Chef Development Kit / Workstation installation.
2 March 2022 · 3m
www.jvt.me • by Jamie Tanna
Introducing a Go command-line tool for interacting with Micropub servers
Announcing the initial release of micropub, a CLI for interacting with Micropub servers.
1 March 2022 · 1m
www.jvt.me • by Jamie Tanna
Automagically formatting on save, with Neovim and Language Server Protocol (LSP)
How to use Neovim's Language Server Protocol (LSP) support to autoformat code on a file's save.
1 March 2022 · 1m
www.jvt.me • by Jamie TannaBrowse by date
Every post, by when it was posted. The brighter a month, the more was posted that month.