Packaging Wiremock Extensions into the Standalone Server Runner (2 mins read).

How to use Gradle to package a standalone JAR for Wiremock, including any extensions needed.
Packaging Wiremock Extensions into the Standalone Server Runner (2 mins read).
How to use Gradle to package a standalone JAR for Wiremock, including any extensions needed.
Testing Java Callbacks with Mockito (1 mins read).
How to test invoking a real callback in a Java project, as a unit test.
Pushing Back to Git In a Jenkins Multibranch Pipeline (1 mins read).
How to push back to a Git repo using a Jenkins multibranch pipeline.
Using Bill of Materials to Simplify Dependency Management (3 mins read).
Producing a Bill of Materials to simplify dependency management for Java projects.
Encoding Strings for Embedding in JSON with Ruby on the Command-Line (1 mins read).
How to easily convert a string to a format that can be used as a value for JSON strings.
Programatically Comparing Versions Using Chef's Versioning Schemes (1 mins read).
How to use Chef's versioning classes to determine whether a version constraint is matched.
Parsing Encoded JSON Strings on the Command-Line with Ruby (1 mins read).
How to decode an encoded JSON string.
Decrypting Encrypted JSON Web Tokens (JWE) with Ruby (1 mins read).
How to use Ruby to decrypt encrypted JSON Web Token objects.
Running Multiple JDK Versions with the Gradle Toolchains Configuration (2 mins read).
How to use the Gradle's toolchain
configuration to configure multiple JDKs on your machine.
Testing Data Serialisation/Deserialization using JsonTest
with Spring Boot (3 mins read).
How to use the @JsonTest
test type in Spring Boot to validate your JSON types correctly serialise/deserialise.
Migrating Your Spring Boot Application to use Structured Logging (6 mins read).
How to make your Spring Boot services more supportable by migrating to JSON-emitting structured logging.
Avoiding NoClassDefFoundError
errors when using slf4j-test with Logback and Maven (2 mins read).
How to exclude Logback from the classpath when testing your logs using slf4j-test and Maven.
Configuring a Jenkins Multibranch Pipeline to Specify the Trust Permissions with Job DSL (1 mins read).
How to specify the trust permissions for a GitHub project on a Jenkins Multibranch pipeline, when using Job DSL.
How to get a field with Reflection in Java (1 mins read).
How to use Java's Reflection to get access to a private of a class.
Server-less Wiremock, or Using Wiremock Without an HTTP Server (3 mins read).
How to match Wiremock's stubs without running an HTTP Server.
Building a Multibranch Pipeline on a Schedule (2 mins read).
A more convenient solution for setting up periodic rebuilds of certain branches in a Jenkins Multibranch pipelines.
Disabling a Multibranch Pipeline using Job DSL (1 mins read).
How to disable all branches of a MultibranchWorkflowJob
with Jenkins Job DSL.
Has anyone happened to see my post about #blogumentation shared anywhere today? Seeing a fair bit of traffic which suggests it's been made popular somewhere π
Uploading Community Cookbooks from Supermarket to Chef Server (1 mins read).
How to upload a given community cookbook from Chef Supermarket to Chef Server, using Berkshelf.
Constructing an Ordered Dependency Graph for Chef Cookbooks, using Berkshelf (3 mins read).
How to create a dependency graph for a given cookbook's dependencies to understand the order to install them in.
Using Dynamically Generated Non-AWS Owned SSH Keys with Test Kitchen on EC2 (3 mins read).
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.
Waiting for SSH service
on Test Kitchen with the Docker driver (1 mins read).
How to resolve Waiting for SSH service
when running kitchen-docker.
Working with a Git remote's default branch, using origin/HEAD
(2 mins read).
How to interact with the default branch for a remote repo, as well as update it if needed.
Better Chef Reporting for Automated Pipelines (1 mins read).
How to get better machine-parseable reports for your Chef Pipelines.
Managing Your Chef Gem Dependencies More Easily in your Gemfile
(2 mins read).
How to source your Chef Gem dependencies from your Chef cookbook's metadata.rb
instead of duplicating them between files.
Programatically Determining the Version of a Chef Cookbook (1 mins read).
How to determine a Chef cookbook's version programatically, using Ruby.
How to Use Cookstyle to Autocorrect Style Issues (1 mins read).
How to use the cookstyle
tool with Chef cookbooks to autocorrect style issues.
Speeding Up Gradle Executions with Parallelisation (2 mins read).
How to make your Gradle builds faster, by taking advantage of parallelisation.
Testing Time with Java (4 mins read).
How to make your Java tests better when dealing with java.util.time
.
Using Proof of Key Code Exchange (PKCE) Using rack-oauth2 as an OAuth2 Client (1 mins read).
How to use the PKCE extension when using the Ruby library rack-oauth2 as an OAuth2 client.
Determining the (Git) Branch of the Jenkins Pipeline Job (1 mins read).
How to find out what branch the currently executing script has been checked out from.
Encrypting and Decrypting Text with OpenSSL (2 mins read).
How to use openssl
to encrypt text with a shared passphrase.
Installing Gems From Your Gemfile
When Developing Chef Cookbooks using the ChefDK / Chef Workstation (2 mins read).
How to install Ruby Gems in local development using your Gemfile
.
Executing javax.servlet.Filter
s in aws-serverless-java-container Jersey Apps (2 mins read).
How to add a javax.servlet.Filter
to a Jersey application, built using the AWS Serverless Container for Java.
Inexactly Comparing MediaType
s with Spring (1 mins read).
How to compare Spring's MediaType
by ignoring charset or parameters.
Converting X.509 and PKCS#8 .pem
file to a JWKS (in Ruby) (2 mins read).
Converting X.509 and PKCS#8 files to JWKS format, using the ruby-jose
library.
Generating a JSON Web Key (JWK) With Ruby (1 mins read).
How to create a new JWK with Ruby.
Setting up Passwordless Authentication using the Okta Factors API (3 mins read).
How to use Okta's Factors API to use push notifications to authenticate yourself.
How to List Gradle's Buildscript / Plugin Dependencies (1 mins read).
How to list the dependencies that are used by Gradle's plugins as part of its buildscript.
Filtering Tasks and their Subtasks in JIRA (1 mins read).
How to filter issues, and their subtasks, with JIRA Query Language.
Globally Logging all Spring (Boot) Exceptions (3 mins read).
How to log whenever an exception triggers on an exception handler with Spring.
Using Git Diff Without a Repo (1 mins read).
How to use git diff
when you're not in a Git repo.
unknown revision or path not in the working tree
after Jenkins Git Plugin Update (1 mins read).
How to fix git rev-parse
suddenly not working after a Jenkins Git plugin update.
Publishing + Consuming Artefacts in the Local Maven Repository with Gradle (1 mins read).
How to use Gradle to publish and consume artefacts build on your local machine.
Unit Testing Auth0 Rules (8 mins read).
How to write unit tests for your Auth0 Rules, without running it on an Auth0 tenant.
Resolving Gradle Error Unexpected Parent Dependency
in IntelliJ (1 mins read).
How to resolve the error Unexpected Parent Dependency
when building Gradle projects in IntelliJ.
Debugging Git Errors Using Environment Variables (1 mins read).
How to use environment variables such as GIT_TRACE
to debug what's going wrong / what's happening under the hood with git
.
Creating Signed JOSE Objects with Ruby (1 mins read).
How to use ruby-jose
to create a signed JSON Object Signing and Encryption (JOSE) object on the command-line.
Running Multiple JDK Versions with the Maven Toolchains Plugin (1 mins read).
How to use the maven-toolchains-plugin to configure multiple JDKs on your machine.
Diffing Pretty-Printed JSON Files (4 mins read).
How to compare two JSON documents by pretty-printing them.