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.
How to easily convert a string to a format that can be used as a value for JSON strings.
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.
How to use the Gradle's
toolchain configuration to configure multiple JDKs on your machine.
How to use the
@JsonTest test type in Spring Boot to validate your JSON types correctly serialise/deserialise.
How to make your Spring Boot services more supportable by migrating to JSON-emitting structured logging.
How to exclude Logback from the classpath when testing your logs using slf4j-test and Maven.
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.
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.
How to upload a given community cookbook from Chef Supermarket to Chef Server, using Berkshelf.
How to create a dependency graph for a given cookbook's dependencies to understand the order to install them in.
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.
How to resolve
Waiting for SSH service when running kitchen-docker.
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.
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
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.
How to install Ruby Gems in local development using your
How to add a
javax.servlet.Filter to a Jersey application, built using the AWS Serverless Container for Java.
MediaTypes 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
Generating a JSON Web Key (JWK) With Ruby (1 mins read).
How to create a new JWK with Ruby.
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.
How to fix
git rev-parse suddenly not working after a Jenkins Git plugin update.
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.
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
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.
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.