Who do these Google (JSON file) credentials belong to? (1 mins read).
Given a JSON credentials file for Google APIs, are they still valid?
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.
Week Notes 23#25 (4 mins read).
What happened in the week of 2023-06-19?
Using 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 go.mod
.
Checking the migration status with golang-migrate
(1 mins read).
How to check what version of the schema is curently applied when using golang-migrate
.
Week Notes 23#24 (3 mins read).
What happened in the week of 2023-06-12?
Week Notes 23#23 (3 mins read).
What happened in the week of 2023-06-05?
Week Notes 23#22 (5 mins read).
What happened in the week of 2023-05-29?
Introducing openapi-sorbet
, a command-line tool for generating Sorbet types from OpenAPI (2 mins read).
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.
Week Notes 23#21 (2 mins read).
What happened in the week of 2023-05-22?
Getting a --version
flag for Cobra CLIs in Go (2 mins read).
How to get Cobra to provide a --version
flag.
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?