How to use custom advisories with dependency-management-data to track packages that your organisation may not want to use.
How to trigger a Caps Lock event when you've rebound the key to a differnet key.
Setting up real-time Slack notifications for GitHub (1 mins read).
How to get Slack's real-time notifications integrated with GitHub.
Managing Buildkite Agent Images with Renovate (1 mins read).
How to use Renovate to manage Buildkite Agent Images.
How to run commands like
go test when using a multi-module Go project.
How I resolved an issue with a
Timeout error when generating a new GPG key.
Resolving black screen display with SDDM and NVIDIA GPUs (1 mins read).
How I resolved an issue with a black screen displaying when SDDM is used with an NVIDIA driver.
How measuring how long code review took as a team lead to being able to change our processes, and then deliver much more effectively.
Getting started with Dependency Management Data (4 mins read).
How you can get started using Dependency Management Data in 3 commands.
Quantifying your reliance on Open Source software (24 mins read).
A writeup of my talk at DevOpsNotts, about the dependency-management-data project and how to use it to understand your internal and external dependencies.
LeadDev London 2023 (59 mins read).
A writeup of LeadDev London 2023 conference.
Merging a branch in GitHub - the hard way (4 mins read).
How to (kinda) merge two branches in GitHub using the underlying Git database API.
Validating Renovate configuration changes before merging (2 mins read).
How to perform a dry run to validate your Renovate config before it's merged.
Introducing a web frontend for the dependency-management-data project, to provide a better, centralised interface for interacting with the data.
Sharing state between
net/http method calls in Go (1 mins read).
How to construct a
struct in Go that can have its state shared between HTTP server handler functions.
Who do these Google (JSON file) credentials belong to? (1 mins read).
Given a JSON credentials file for Google APIs, are they still valid?
I'm joining Elastic (9 mins read).
Announcing my move to Elastic as a Senior Software Engineer, and looking back at my time at Deliveroo.
go.mod versions to
go install a binary (1 mins read).
How to use
go install to install a binary from the version tracked in
Checking the migration status with
golang-migrate (1 mins read).
How to check what version of the schema is curently applied when using
How to generate Sorbet type-checked models from OpenAPI specifications.
Learn how to build tools (6 mins read).
A guest post on Letters to a New Developer about learning to automate and build tools to progress in your career.
--version flag for Cobra CLIs in Go (2 mins read).
How to get Cobra to provide a
How to limit your downtime to seconds, instead of minutes, when performing downtime-inducing changes with AWS RDS.
How to take a Go web application and move it to AWS Lambda with two lines of code.
Which OS and CPU architecture is this binary compiled for? (4 mins read).
How to use Go to parse an arbitrary executable to work out the Operating System and CPU architecture it's compiled for.
Creating an HTTP 404 handler for Go
net/http servers (2 mins read).
How to add a catch-all 404 handler when writing HTTP servers with Go's
Serving the current directory over HTTP with Go (1 mins read).
How to use Go's standard library to serve the current directory over HTTP.
Getting the commit author details for a GitHub App account (1 mins read).
How to retrieve the git commit author details for a given GitHub App.
Equal methods for Go structs with
goderive (3 mins read).
How to use
goderive to generate an
Equal method between structs, so you don't have to.
Ensuring files are synced between repos with GitHub Actions (2 mins read).
Creating a GitHub Action workflow to indicate when vendored files are out-of-sync between GitHub repos.
I don't think I want my next promotion (yet) (5 mins read).
Taking a second to pause and think about what Staff Engineer means to me, and why (right now) I may be looking to stay happy at Senior Engineer.
How to use dependency-management-data to visualise the most popular Docker namespaces and images you depend on.
Querying JSON with SQLite (1 mins read).
How to use
json_extract to query a JSON field in SQLite.
How to retrieve metadata about packages that are depended on at runtime.
How to generate Go code using
Debugging HTTP Client requests with Go (2 mins read).
How to add debug logging to
http.Client in Go.
Who do these Twilio credentials belong to? (2 mins read).
How to work out whether arbitrary Twilio credentials are valid, and if so, what type they are.
How to get Cobra to provide a
--version flag when using GoReleaser.
Cross-compiling a CGO project using Goreleaser (2 mins read).
How to use
goreleaser-cross to cross-compile a Go command-line tool.
Introducing a command-line tool for better interacting with databases for managing dependency management data.
Getting a GitHub App installation token on the command-line (1 mins read).
How to get a GitHub App installation token (using Typescript) for a given installation.
Passing a private key as an environment variable (1 mins read).
How to convert a PEM-encoded private key in a form to be stored in an environment variable.
Listing the status of your branch protection in GitHub (1 mins read).
Creating a command-line Go tool to list the branch protection status of your repositories.
Looking back at a few years of writing week notes publicly, and how I approach privacy around what I (want to) write in them.
Determining missing translation keys from gettext
.po files (1 mins read).
Creating a Go command to check for missing translation keys across gettext
How to run Renovate to provide some defaults for repos that aren't opted-in, as well as allowing repos to opt-in.
Does this Slack Webhook still work? (1 mins read).
How to check if a Slack Webhook is still active.
Who does this NPM token belong to? (2 mins read).
How to work out whether an arbitrary NPM token is valid, and if so, which user account it belongs to.
Using Turbolift and Microplane to enact changes across many Git(Hub) repositories.
Introducing a tool that can list AWS Lambda functions and whether their runtimes are approaching or past deprecation/end-of-life dates.