Filtering Tasks and their Subtasks in JIRA (1 mins read).
How to filter issues, and their subtasks, with JIRA Query Language.
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.
Sorting a Hash Recursively with Ruby (1 mins read).
How to sort a Hash
in Ruby recursively, when nested Array
exist.
Generate Plain Old Java Objects (POJOs) from XML Schema Definitions with Maven (1 mins read).
How to generate POJOs really quickly and easily, with no manual work, using the Mojohaus jaxb2-maven-plugin.
Globally Disable TLS Checks with Java for HttpsURLConnection
(1 mins read).
How to disable TLS checks when using HttpsURLConnection
s in Java.
Connecting to the Docker Host from a Child Container (2 mins read).
How to access ports from the host machine when running in a child container.
How to Manually Trigger JSR380 Bean Validation on a Class (2 mins read).
How to perform validation on a class using JSR380, when not using a framework like Spring Boot.
Configure Gradle to Allow Listing All Subproject Dependencies (1 mins read).
How to set Gradle configuration globally to add a task to list all your dependencies.
Configure Gradle to Configure Tasks Globally with an initscript (1 mins read).
How to use Gradle's initialization scripts to globally configure tasks across all of your projects.
Spring Boot: 'junit-vintage' failed to discover tests
When Using Only JUnit5 Tests (2 mins read).
How to avoid the error 'junit-vintage' failed to discover tests
when using Spring Boot.
Generating Random Bytes On the Command Line with OpenSSL (1 mins read).
How to generate random bytes as binary, base64 or hex, using openssl
on the command-line.
Using @Mock
as a Method Parameter with Mockito (2 mins read).
Using @Mock
on method parameters to reduce manual mock setups with Mockito.
Converting a Byte Array to a String in Ruby (1 mins read).
How to convert an array of bytes to a String with Ruby.
Disabling the logging of Spring Security's Default Security Password (2 mins read).
How to disable Spring Boot logging the generated security password
.
Generating the Client Assertion JWT for private_key_jwt
Authentication with Ruby (1 mins read).
A helper script to generate the client assertion required to authenticate to an Authorization Server that supports private_key_jwt
, on the command-line with Ruby.
Verifying Signed JWTs (JWS) with Ruby (2 mins read).
Using the ruby-jwt library to verify a signed JSON Web Token (JWS) on the command-line.
Creating Signed JWTs (JWS) with Ruby (1 mins read).
Using the json-jwt and ruby-jwt libraries to sign a JSON Web Token on the command-line.
Issues with Ordering When Using Vault CLI's -no-print
Argument (1 mins read).
A possible solution for no-print
not taking effect with the vault
CLI when using AWS EC2 auth.
GitLab CI Shell Executor failing builds with ERROR: Job failed: exit status 1
(1 mins read).
How to work around ERROR: Job failed: exit status 1
errors with GitLab CI's shell executor.
GitLab CI Shell Executor Failing Builds With No Such Directory
(1 mins read).
How to work around No Such Directory
errors with GitLab CI's shell executor.
Deploying a Branch to Netlify on the Command-Line (1 mins read).
How to use Netlify's Node CLI to deploy a given branch to Netlify.
Generating JWK Thumbprints with Ruby (1 mins read).
How to generate JWK thumbprints with Ruby.
Generating JWK Thumbprints with Node.JS (1 mins read).
How to generate JWK thumbprints with Node.JS.
How are Open Banking Key Ids (kid
) Generated? (1 mins read).
Sharing insight into how Open Banking has generated their kid
s for use with JWTs.
How to Run Java on the Command-Line to Attach a Debugger (1 mins read).
How to run java
on the command-line, and make it possible to attach a debugger.
Extract a Public Cert from a Java Keystore/Truststore (1 mins read).
How to export the public certificate from a Java keystore.
Evicting Spring Cache on a Schedule (1 mins read).
How to evict Spring Cache's @Cacheable
data on a schedule.
No default controller available
With bluetoothctl
(1 mins read).
One possible solution for the No default controller available
error message with bluetoothctl
.
How to avoid HttpMessageNotReadableException
when using ContentCachingRequestWrapper
with Java Servlet Filters (1 mins read).
How to avoid receiving Required request body is missing
errors when using a ContentCachingRequestWrapper
.
Reading a Servlet/Spring Request Body Multiple Times (2 mins read).
How to read the request body more than once using Java Servlet Filters.
Disabling @Valid
Annotation in a Spring Integration Test (1 mins read).
How to disable @Valid
validation in Spring Integration Tests.
Converting Output from Rest Assured to Curl Requests (3 mins read).
How to convert the log output from Rest Assured to a curl
request.
Navigating through the Vim Changelist with Intellij (2 mins read).
How to use g;
and g,
using IntelliJ's IdeaVim plugin to cycle through changes in a file.
Running Spotless Automagically with Gradle (2 mins read).
How to set Gradle configuration globally to always run spotlessApply
in your projects.
Gotcha: AWS SDK Proxy Setup with Test Kitchen (2 mins read).
How to avoid odd proxy issues when using the AWS SDK, when using Test Kitchen.
Determining What Motherboard You're Using, On Linux (1 mins read).
How to determine what motherboard the machine you're using is reporting, on the command-line with Linux.
Extracting x5c
s from a JSON Web Key Set (JWKS) to PEM files with Ruby (1 mins read).
How to extract the full chain of certificates from a JWKS' x5c
parameter to files.
Autogenerating the Date
Header in Postman (1 mins read).
How to generate and send a Date
header using Postman.
Converting a Byte Array to String with Buffer
in Node.JS (1 mins read).
How to convert an array of bytes to a String using Node.JS's Buffer
class.
GitLab Runner Docker TCP Error (2 mins read).
Fixing the cannot connect to the Docker daemon
error with GitLab Runner and Docker.
Inheriting the Proxy from the Jenkins Host in Docker (1 mins read).
How to pass proxy variables from your Jenkins host to your Docker containers.