Using systemd-tmpfiles to manage temporary files and directories (2 mins read).
How I'm using systemd-tmpfiles to manage a temporary working directory and automagically clean it out.
Using systemd-tmpfiles to manage temporary files and directories (2 mins read).
How I'm using systemd-tmpfiles to manage a temporary working directory and automagically clean it out.
Should That (Secret) Thing Be In Your Querystring? (2 mins read).
Why you should be very cautious about putting potentially sensitive values into the querystring of web APIs.
Owning my Hashtags (2 mins read).
Why I decided to treat hashtags in my (syndicated) content as tags on my site.
Extracting the Default Private / Secret Keys from OpenAM/Forgerock AM (2 mins read).
How to retrieve the contents of the private or secret keys from an OpenAM/Forgerock AM installation.
Converting an Image to a Base64 data
URL with Node.JS (1 mins read).
How to convert an image to a data
URL using Node.JS on the command-line.
Week Notes 21#48 (4 mins read).
What happened in the week of 2021-11-29?
Appending Values to a Querystring with Ruby (1 mins read).
How to append a query parameter to a URL's querystring in Ruby.
Making Zoom Notifications/Windows Float on BSPWM (1 mins read).
How to get BSPWM to handle Zoom notification windows as floating windows, instead of tiles.
Automagically Assuming AWS Roles for EC2/ECS (1 mins read).
How to set up your AWS infrastructure to automagically assume IAM roles.
Reducing Risk of Supply Chain Attacks with Reproducible Builds in Gradle (1 mins read).
How to enable Gradle's reproducible builds functionality to allow others to verify your released libraries don't contain uncommitted, malicious code.
Packaging Wiremock Stubs into a Standalone JAR (2 mins read).
How to use Gradle to package a standalone JAR for Wiremock, including any stubs needed.
Testing Data Serialisation/Deserialization in Java (with Moshi) (3 mins read).
How to validate your JSON types correctly serialise/deserialise when using the Moshi library.
Generate Plain Old Java Objects (POJOs) from JSON Schema Definitions with Gradle (3 mins read).
How to generate POJOs really quickly and easily, with no manual work, using the Gradle jsonschema2pojo Plugin.
Week Notes 21#47 (7 mins read).
What happened in the week of 2021-11-22?
Shift Your Testing Left with Spring Boot Controllers (5 mins read).
How to break down your tests for Spring Boot controllers, which could be used when performing Test Driven Development.
Generate Plain Old Java Objects (POJOs) from XML Schema Definitions with Gradle (1 mins read).
How to generate POJOs really quickly and easily, with no manual work, using the Gradle XJC Plugin.
Use (End-to-End) Tracing or Correlation IDs (4 mins read).
Why you should be requesting, and logging, a unique identifier per request for better supportability.
Week Notes 21#46 (3 mins read).
What happened in the week of 2021-11-15?
Determining the Version Of Libraries Packaged into the Java AWS Lambda Runtime (3 mins read).
How to determine what libraries, and their respective versions, are packaged into AWS Lambda.
Lessons Learned from Running Java in Serverless Environments like AWS Lambda (10 mins read).
Some recommendations for running Java as a Serverless application language, for instance on AWS Lambda or Google Cloud Functions.
Generating Dynamic Identifiers with Thymeleaf (1 mins read).
How to generate a dynamic id
s for elements in Thymeleaf.
Week Notes 21#45 (4 mins read).
What happened in the week of 2021-11-08?
Controlling the Linux Backlight via the Command-Line (1 mins read).
How to manage your screen backlight on the command-line, without installing any tools.
Make Your RSS Feed Discoverable (1 mins read).
Why and how you should make it possible to automagically discover your feed(s).
Why You Should Avoid using Client Secret Authentication for OAuth2 Client Credentials (7 mins read).
Why I recommend against using client secret authentication for OAuth2 and OpenID Connect APIs.
Running a Java WAR File on the Command-Line (2 mins read).
How to run a WAR file locally, using Jetty, without installing anything.
Querying and Interacting with CSV Files More Easily with SQLite (1 mins read).
How to use sqlite3
to parse and query comma-separated value files.
Week Notes 21#44 (3 mins read).
What happened in the week of 2021-11-01?
How We Built a Team with a High Net Promoter Score (23 mins read).
Sharing the "Secret Sauce" of why the Purple Pandas was a team that was highly effective, and had a high NPS, too.
Creating More Descriptive and Fluent Assertion Helpers (4 mins read).
How to improve test readability, and developer experience, using assertion helpers.
Week Notes 21#43 (3 mins read).
What happened in the week of 2021-10-25?
Using Middleman Redirects with a Custom, Non-HTML Content Type (2 mins read).
How to get Middleman's redirect
to work with files that are not HTML.
Improving Team Efficiency By Measuring and Improving Code Review Cycle Time (9 mins read).
How measuring how long code review took as a team lead to being able to change our processes, and then deliver much more effectively.
Using JitPack to Install Gradle Plugins from Git Sources (2 mins read).
How to use JitPack to use an unreleased Gradle plugin from a Git repo in your Gradle projects.
Listing Which GitHub Pull Requests are in a Project (2 mins read).
How to list the PRs inside a Project on Github, for example, via a Ruby client.
Things I Learned Migrating My Personal APIs To Kubernetes (10 mins read).
What I learned while migrating from a number of Java applications on Virtual Private Servers (VPS) to a Kubernetes cluster.
Week Notes 21#42 (6 mins read).
What happened in the week of 2021-10-18?
Updating a Secret in Kubernetes with the Java Client (3 mins read).
How to use the Kubernetes Java SDK to patch a secret through Kubernetes' secrets API.
How to Undo a git push --force
(5 mins read).
How to recover from a force push with Git.
Debugging Middleman Code With Middleman's Logger (1 mins read).
How to diagnose issues in Middleman, using logging output.
Lightweight and Powerful Dependency Injection for JVM-based Applications with Dagger (7 mins read).
How and why you should be using Dagger for your dependency injection.
Week Notes 21#41 (5 mins read).
What happened in the week of 2021-10-11?
Implementing IndieAuth Server Metadata (2 mins read).
Announcing support for OAuth Server Metadata on my IndieAuth Server.
Announcing a Service for Creating an iCalendar feed for event RSVPs: rsvp-calendar.tanna.dev
(2 mins read).
Creating a shared service to allow creating iCalendar feeds for tracking what events you're attending.
"I Thought You'd Be Paid More" - What I Learnt From Posting My Salary Publicly (3 mins read).
A writeup of my lightning talk at Tech Nottingham about my salary post.
Week Notes 21#40 (3 mins read).
What happened in the week of 2021-10-04?
Week Notes 21#39 (3 mins read).
What happened in the week of 2021-09-27?
Testing Data Serialisation/Deserialization in Java (with Jackson) (4 mins read).
How to validate your JSON types correctly serialise/deserialise.
Setting up fluentd to Parse Nested JSON from Docker (2 mins read).
How to configure fluentd to parse the inner JSON from a log message as JSON, for use with structured logging.
Week Notes 21#38 (3 mins read).
What happened in the week of 2021-09-20?