
How to Undo a git push --force
How to recover from a force push with Git.
23 October 2021 · 4m · Popular post
www.jvt.me • by Jamie Tanna
How to Undo a git push --force
How to recover from a force push with Git.
23 October 2021 · 4m · Popular post
www.jvt.me • by Jamie Tanna
Debugging Middleman Code With Middleman's Logger
How to diagnose issues in Middleman, using logging output.
22 October 2021 · 1m
www.jvt.me • by Jamie Tanna


rsvp-calendar.tanna.dev
Creating a shared service to allow creating iCalendar feeds for tracking what events you're attending.
15 October 2021 · 2m
www.jvt.me • by Jamie Tanna
"I Thought You'd Be Paid More" - What I Learnt From Posting My Salary Publicly
A writeup of my lightning talk at Tech Nottingham about my salary post.
13 October 2021 · 3m
www.jvt.me • by Jamie Tanna
Testing Data Serialisation/Deserialization in Java (with Jackson)
How to validate your JSON types correctly serialise/deserialise.
2 October 2021 · 4m
www.jvt.me • by Jamie Tanna

Tips for Reducing Dependency Upgrade Toil with Renovate
Some tips I've picked up while working with Renovate to keep my projects up-to-date.
26 September 2021 · 5m
www.jvt.me • by Jamie Tanna
Packaging Wiremock Extensions into the Standalone Server Runner
How to use Gradle to package a standalone JAR for Wiremock, including any extensions needed.
12 September 2021 · 2m
www.jvt.me • by Jamie Tanna
Testing Java Callbacks with Mockito
How to test invoking a real callback in a Java project, as a unit test.
10 September 2021 · 1m
www.jvt.me • by Jamie Tanna

Releasing a Java Library for Gherkin Formatting
Announcing the release of a Java library that can pretty-format a Gherkin feature file.
7 September 2021 · 4m
www.jvt.me • by Jamie Tanna
Pushing Back to Git In a Jenkins Multibranch Pipeline
How to push back to a Git repo using a Jenkins multibranch pipeline.
6 September 2021 · 1m
www.jvt.me • by Jamie Tanna
Using Bill of Materials to Simplify Dependency Management
Producing a Bill of Materials to simplify dependency management for Java projects.
28 August 2021 · 3m
www.jvt.me • by Jamie Tanna
Making Your Gherkin Scenarios Written Using Human-Readable Language
A lukewarm take about why you should use natural language, so someone not-as-technical can read it and still derive value.
24 August 2021 · 4m
www.jvt.me • by Jamie Tanna
I'm Joining the Cabinet Office
Announcing my move into the Central Digital and Data Office (CDDO) as a Tech Lead.
19 August 2021 · 5m
www.jvt.me • by Jamie Tanna
Using Abstract Test Classes To Reduce Duplication in Java
How to use Java's abstract classes to reduce duplication of code across unit tests with common functionality.
11 August 2021 · 4m
www.jvt.me • by Jamie Tanna
Introducing a Microformats API for Books: books-mf2.fly.dev
Announcing the Microformats translation layer for book data.
1 August 2021 · 2m
www.jvt.me • by Jamie Tanna
Encoding Strings for Embedding in JSON with Ruby on the Command-Line
How to easily convert a string to a format that can be used as a value for JSON strings.
29 July 2021 · 1m
www.jvt.me • by Jamie Tanna
Programatically Comparing Versions Using Chef's Versioning Schemes
How to use Chef's versioning classes to determine whether a version constraint is matched.
15 July 2021 · 1m
www.jvt.me • by Jamie Tanna
Parsing Encoded JSON Strings on the Command-Line with Ruby
How to decode an encoded JSON string.
28 June 2021 · 1m
www.jvt.me • by Jamie Tanna
Testing that your Spring Boot Application Context is Correctly Configured
How to improve the tests you've got to validate that Spring Boot's context is set up correctly.
25 June 2021 · 2m
www.jvt.me • by Jamie Tanna
Decrypting Encrypted JSON Web Tokens (JWE) with Ruby
How to use Ruby to decrypt encrypted JSON Web Token objects.
22 June 2021 · 1m
www.jvt.me • by Jamie Tanna
Running Multiple JDK Versions with the Gradle Toolchains Configuration
How to use the Gradle's toolchain configuration to configure multiple JDKs on your machine.
9 June 2021 · 2m
www.jvt.me • by Jamie Tanna
Testing Data Serialisation/Deserialization using JsonTest with Spring Boot
How to use the @JsonTest test type in Spring Boot to validate your JSON types correctly serialise/deserialise.
2 June 2021 · 3m
www.jvt.me • by Jamie Tanna

Writing Better Wiremock Stubs
How to improve the specificity of Wiremock tests to allow for not clobbering other scenarios, and enabling scalable test runs.
1 June 2021 · 3m
www.jvt.me • by Jamie Tanna

Migrating Your Spring Boot Application to use Structured Logging
How to make your Spring Boot services more supportable by migrating to JSON-emitting structured logging.
31 May 2021 · 6m
www.jvt.me • by Jamie Tanna
Avoiding NoClassDefFoundError errors when using slf4j-test with Logback and Maven
How to exclude Logback from the classpath when testing your logs using slf4j-test and Maven.
29 May 2021 · 1m
www.jvt.me • by Jamie Tanna
Marking up my Curriculum Vitae with Microformats2
Creating a public, metadata-rich Curriculum Vitae / Resume for myself at https://hire.jvt.me.
25 May 2021 · 2m
www.jvt.me • by Jamie Tanna
Configuring a Jenkins Multibranch Pipeline to Specify the Trust Permissions with Job DSL
How to specify the trust permissions for a GitHub project on a Jenkins Multibranch pipeline, when using Job DSL.
10 May 2021 · 1m
www.jvt.me • by Jamie Tanna

How to get a field with Reflection in Java
How to use Java's Reflection to get access to a private of a class.
29 April 2021 · 1m
www.jvt.me • by Jamie Tanna
Server-less Wiremock, or Using Wiremock Without an HTTP Server
How to match Wiremock's stubs without running an HTTP Server.
29 April 2021 · 3m
www.jvt.me • by Jamie Tanna
Adding API Versioning to your Environment-Agnostic Functional Acceptance Tests
How to adapt the Proxy pattern to allow for testing against a versioned API.
28 April 2021 · 6m
www.jvt.me • by Jamie Tanna
Building a Multibranch Pipeline on a Schedule
A more convenient solution for setting up periodic rebuilds of certain branches in a Jenkins Multibranch pipelines.
26 April 2021 · 2m
www.jvt.me • by Jamie Tanna
Disabling a Multibranch Pipeline using Job DSL
How to disable all branches of a MultibranchWorkflowJob with Jenkins Job DSL.
24 April 2021 · 1m
www.jvt.me • by Jamie Tanna
Uploading Community Cookbooks from Supermarket to Chef Server
How to upload a given community cookbook from Chef Supermarket to Chef Server, using Berkshelf.
19 April 2021 · 1m
www.jvt.me • by Jamie Tanna
Constructing an Ordered Dependency Graph for Chef Cookbooks, using Berkshelf
How to create a dependency graph for a given cookbook's dependencies to understand the order to install them in.
18 April 2021 · 3m
www.jvt.me • by Jamie Tanna
Using Dynamically Generated Non-AWS Owned SSH Keys with Test Kitchen on EC2
How to set up kitchen-ec2 to use an SSH key that isn't available in AWS by amending the user-data of the created EC2 instance.
16 April 2021 · 3m
www.jvt.me • by Jamie Tanna
Waiting for SSH service on Test Kitchen with the Docker driver
How to resolve Waiting for SSH service when running kitchen-docker.
7 April 2021 · 1m
www.jvt.me • by Jamie Tanna
Setting up a Test Environment for Job DSL Projects
How to tweak your Job DSL configuration to allow working with test environments, to validate jobs configure correctly.
6 April 2021 · 6m
www.jvt.me • by Jamie Tanna
Working with a Git remote's default branch, using origin/HEAD
How to interact with the default branch for a remote repo, as well as update it if needed.
31 March 2021 · 2m
www.jvt.me • by Jamie Tanna
Better Chef Reporting for Automated Pipelines
How to get better machine-parseable reports for your Chef Pipelines.
29 March 2021 · 1m
www.jvt.me • by Jamie Tanna
Managing Your Chef Gem Dependencies More Easily in your Gemfile
How to source your Chef Gem dependencies from your Chef cookbook's metadata.rb instead of duplicating them between files.
24 March 2021 · 2m
www.jvt.me • by Jamie Tanna
Programatically Determining the Version of a Chef Cookbook
How to determine a Chef cookbook's version programatically, using Ruby.
23 March 2021 · 1m
www.jvt.me • by Jamie Tanna
How to Use Cookstyle to Autocorrect Style Issues
How to use the cookstyle tool with Chef cookbooks to autocorrect style issues.
14 March 2021 · 1m
www.jvt.me • by Jamie Tanna
Ensuring Consistent Code Style with Job DSL Repos
How to make sure that your Job DSL configuration repos are managed with consistent code style.
12 March 2021 · 3m
www.jvt.me • by Jamie TannaEvery post, by when it was posted. The brighter a month, the more was posted that month.