Performing downtime-inducing AWS RDS changes with no downtime☆ (2 mins read).

How to limit your downtime to seconds, instead of minutes, when performing downtime-inducing changes with AWS RDS.
Performing downtime-inducing AWS RDS changes with no downtime☆ (2 mins read).
How to limit your downtime to seconds, instead of minutes, when performing downtime-inducing changes with AWS RDS.
The Lazy engineer's guide to running your Go web application to AWS Lambda (4 mins read).
How to take a Go web application and move it to AWS Lambda with two lines of code.
Week Notes 23#20 (4 mins read).
What happened in the week of 2023-05-15?
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.
Week Notes 23#19 (3 mins read).
What happened in the week of 2023-05-08?
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 net/http
server.
Week Notes 23#18 (3 mins read).
What happened in the week of 2023-05-01?
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.
Week Notes 23#17 (4 mins read).
What happened in the week of 2023-04-24?
Week Notes 23#16 (5 mins read).
What happened in the week of 2023-04-17?
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.
Week Notes 23#15 (3 mins read).
What happened in the week of 2023-04-10?
Week Notes 23#14 (6 mins read).
What happened in the week of 2023-04-03?
Week Notes 23#13 (2 mins read).
What happened in the week of 2023-03-27?
Generating 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.
Week Notes 23#12 (3 mins read).
What happened in the week of 2023-03-20?
Checking if 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.
Week Notes 23#11 (3 mins read).
What happened in the week of 2023-03-13?
Working out which Docker namespaces and images you most depend on (2 mins read).
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_each
and json_extract
to query a JSON field in SQLite.
Week Notes 23#10 (5 mins read).
What happened in the week of 2023-03-06?
Dynamically retrieving the version of a Node.JS/Typescript dependency, at runtime (1 mins read).
How to retrieve metadata about packages that are depended on at runtime.
Automating boilerplate/scaffolding code with custom code generation in Go, with jen
(3 mins read).
How to generate Go code using github.com/dave/jennifer
.
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.
Week Notes 23#09 (2 mins read).
What happened in the week of 2023-02-27?
Getting a --version
flag for Cobra CLIs in Go, built with GoReleaser (2 mins read).
How to get Cobra to provide a --version
flag when using GoReleaser.
Week Notes 23#08 (2 mins read).
What happened in the week of 2023-02-20?
Cross-compiling a CGO project using Goreleaser (2 mins read).
How to use goreleaser-cross
to cross-compile a Go command-line tool.
Introducing dmd
, a command-line tool for Dependency Management Data (DMD) (2 mins read).
Introducing a command-line tool for better interacting with databases for managing dependency management data.
Week Notes 23#07 (3 mins read).
What happened in the week of 2023-02-13?
Week Notes 23#06 (5 mins read).
What happened in the week of 2023-02-06?
Getting a GitHub App installation token on the command-line (2 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.
2022's Site In Review (1 mins read).
How did my site perform in 2022?
2021's Site In Review (1 mins read).
How did my site perform in 2021?
2020's Site In Review (1 mins read).
How did my site perform in 2020?
2019's Site In Review (2 mins read).
How did my site perform in 2019?
2018's Site In Review (1 mins read).
How did my site perform in 2018?
2017's Site In Review (1 mins read).
How did my site perform in 2017?
2016's Site In Review (1 mins read).
How did my site perform in 2016?
Week Notes 23#05 (5 mins read).
What happened in the week of 2023-01-30?
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.
Getting comfortable with the lack of privacy with my Week Notes (6 mins read).
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 .po
files.
Setting up default Renovate configuration while allowing overriding of that configuration (2 mins read).
How to run Renovate to provide some defaults for repos that aren't opted-in, as well as allowing repos to opt-in.
Week Notes 23#04 (3 mins read).
What happened in the week of 2023-01-23?
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.