Article
Performing group_concat
queries over distinct values, with a custom delimiter, with SQLite (2 mins read).
How to avoid SQLite's DISTINCT aggregates must have exactly one argument
error when performing a group_concat(distinct ...)
with a custom delimiter.
Tue, 25 Mar 2025 11:56 by Jamie Tanna
.
#blogumentation
#sqlite .
Article
Updating apk add
definitions in Dockerfiles (3 mins read).
How to use Renovate's Custom Regex manager to extract apk add
definitions in a Dockerfile
, to allow managing (un)pinned packages.
Mon, 24 Mar 2025 21:36 by Jamie Tanna
.
#blogumentation
#renovate .
Article
Creating single-purpose RSS feeds with Hugo (2 mins read).
How to create a new RSS feed in Hugo for a single page's updates.
Sun, 02 Mar 2025 19:46 by Jamie Tanna
.
#blogumentation
#hugo .
Article
Creating a test harness for validating Renovate Custom Datasource configuration (4 mins read).
How to set up a test harness to make it eaiser to modify scary looking JSONata transformations in your Renovate configuration.
Sat, 01 Mar 2025 12:25 by Jamie Tanna
.
#blogumentation
#renovate .
Article
Go 1.24's omitzero
is another one of the best additions to the ecosystem in years (4 mins read).
Why I'm very excited about the JSON tag, omitzero
, landing in Go 1.24.
Wed, 12 Feb 2025 10:04 by Jamie Tanna
.
#blogumentation
#go .
Article
Go 1.24's go tool
is one of the best additions to the ecosystem in years (8 mins read).
Why I'm very excited about go tool
landing in Go 1.24.
Mon, 27 Jan 2025 11:27 by Jamie Tanna
.
#blogumentation
#go .
Article
Getting access to rich-text data from the clipboard (on Linux) (1 mins read).
How to use xclip
to retrieve rich-text output from the clipboard.
Sun, 26 Jan 2025 20:19 by Jamie Tanna
.
#blogumentation
#linux
#command-line .
Article
Why is zsh no longer storing history? (1 mins read).
Spoiler: you may be missing both HISTSIZE
and SAVEHIST
variables.
Wed, 22 Jan 2025 20:56 by Jamie Tanna
.
#blogumentation
#zsh .
Article
Accessing private Go modules in a Docker container (3 mins read).
How to use a Personal Access Token or SSH to access a private Go module, from a Docker container.
Tue, 14 Jan 2025 12:34 by Jamie Tanna
.
#blogumentation
#go
#docker .
Article
Getting all comments from a given user on a GitHub Discussion (2 mins read).
How to use the GitHub GraphQL API to retrieve all comments from top-level or reply comments on a GitHub Discussion.
Wed, 08 Jan 2025 21:08 by Jamie Tanna
.
#blogumentation
#github
#graphql .
Article
What level of access do I have on that GitHub repository? (2 mins read).
How to check, via the GitHub API, what access a given user has on a repository.
Thu, 02 Jan 2025 17:18 by Jamie Tanna
.
#blogumentation
#github .
Article
Blocking 'Similar' and 'Because you like ...' suggestions on reddit with uBlock Origin (1 mins read).
How to use uBlock Origin to remove reddit's suggestions in your home feed.
Tue, 17 Dec 2024 12:31 by Jamie Tanna
.
#blogumentation
#reddit
#ublock-origin .
Article
Some useful SQL(ite) tips I've learned (5 mins read).
A collection of SQLite snippets I've picked up recently to improve my queries.
Thu, 05 Dec 2024 09:57 by Jamie Tanna
.
#blogumentation
#sqlite .
Article
Gotcha: PersistentPostRunE
only runs on successful commands in Cobra (3 mins read).
A possible gotcha when using Cobra to perform cleanup in a PersistentPostRunE
.
Fri, 29 Nov 2024 10:19 by Jamie Tanna
.
#blogumentation
#go .
Article
Creating a Neovim plugin for my standup updates (3 mins read).
Documenting some of my thoughts about writing a (Python) Neovim plugin.
Sun, 24 Nov 2024 20:34 by Jamie Tanna
.
#blogumentation
#neovim
#agile
#python .
Article
Creating a private mirror of the Renovate docs (5 mins read).
How to set up a copy of Renovate's documentation, pinned to an older version, for your organisation.
Tue, 19 Nov 2024 15:37 by Jamie Tanna
.
#blogumentation
#renovate .
Article
Lessons learned adding OpenTelemetry to a (Cobra) command-line Go tool (10 mins read).
Some reflections on what I've found good and not so good about instrumenting a command-line tool with OpenTelemetry.
Sun, 17 Nov 2024 18:03 by Jamie Tanna
.
#blogumentation
#go
#command-line
#opentelemetry
#dependency-management-data .
Article
Summarising the skipReason
s for Renovate data exports (2 mins read).
How to work out what skipReason
s you have for your Renovate package data.
Fri, 08 Nov 2024 18:22 by Jamie Tanna
.
#blogumentation
#renovate
#dependency-management-data .
Article
How to diff two datetimes (1 mins read).
How to get the number of seconds, minutes, and a human-readable time comparison between two datetimes.
Thu, 31 Oct 2024 18:27 by Jamie Tanna
.
#blogumentation .
Article
Why has Firefox 133 lost all my tabs? (2 mins read).
Recounting an issue I'm seeing with Firefox 133 where it creates a new profile, and how to resolve it.
Wed, 16 Oct 2024 08:10 by Jamie Tanna
.
#blogumentation
#firefox
#adhd .
Article
Converting a Reveal.js slide deck to PDF (1 mins read).
How to convert a Reveal.js slide deck to a PDF, using Decktape.
Tue, 01 Oct 2024 22:10 by Jamie Tanna
.
#blogumentation
#revealjs .
Article
Getting symlinks to work with a git clone
on Mac (2 mins read).
How to restore symlinks in a previously cloned repository, where core.symlinks=false
.
Tue, 01 Oct 2024 09:01 by Jamie Tanna
.
#blogumentation
#git
#mac .
Article
Using a separate Go module for your tools.go
(2 mins read).
How to use the tools.go
pattern to source-track your Go tool dependencies, but without polluting your top-level go.mod
.
Mon, 30 Sep 2024 14:24 by Jamie Tanna
.
#blogumentation
#go .
Article
Utilising Renovate's local
platform to test more easily (4 mins read).
How to use Renovate's local
platform for validating configuration changes more easily.
Mon, 16 Sep 2024 20:18 by Jamie Tanna
.
#blogumentation
#renovate .
Article
Nested teams in GitHub don't give you the control you think they do (2 mins read).
Some pain points when using nested teams on GitHub.
Thu, 12 Sep 2024 21:32 by Jamie Tanna
.
#blogumentation
#github .
Article
Forcing pacman
to perform post-upgrade tasks if it's failed part way through (2 mins read).
How I ended up recovering from my Arch Linux upgrade crashing part way through the post-upgrade hooks.
Mon, 09 Sep 2024 09:30 by Jamie Tanna
.
#blogumentation
#arch-linux .
Article
Gotcha: SXHKD doesn't like comments (in bindings) (1 mins read).
Why your SXHKD bindings may be silently ignored
Thu, 15 Aug 2024 11:23 by Jamie Tanna
.
#blogumentation
#sxhkd .
Article
How to get the next window created set to floating in BSPWM (1 mins read).
How to tell BSPWM that the next window created should be floating.
Thu, 15 Aug 2024 11:16 by Jamie Tanna
.
#blogumentation
#bspwm .
Article
Why isn't Hugo regenerating my SCSS files? (1 mins read).
How to ensure you're using the right Hugo version to build SCSS files.
Mon, 05 Aug 2024 08:34 by Jamie Tanna
.
#blogumentation
#hugo .
Article
Why can't I use a comma with gcloud
? (1 mins read).
How to resolve commas being ignored when interacting with gcloud
, and how to escape them.
Thu, 01 Aug 2024 12:48 by Jamie Tanna
.
#blogumentation
#google-cloud .
Article
Using Spotless to auto-format Gradle Verification Metadata (3 mins read).
How to use Spotless to allow manual changes to the Gradle Verification Metadata to be auto-formatted as if Gradle generated it.
Wed, 31 Jul 2024 14:28 by Jamie Tanna
.
#blogumentation
#gradle
#spotless .
Article
Common issues faced with exec
ing an executable on Linux (2 mins read).
Some common issues you may face, with esoteric error messages, and how to fix them.
Tue, 30 Jul 2024 12:48 by Jamie Tanna
.
#blogumentation
#shell
#command-line
#linux .
Article
Migrating Renovate bots, while keeping existing PRs updated (2 mins read).
How to migrate between two Renovate bot accounts, in the case you want to do a 'big bang rollout'.
Thu, 18 Jul 2024 14:05 by Jamie Tanna
.
#blogumentation
#renovate .
Article
Manually triggering a Buildkite pipeline for a fork (1 mins read).
How to trigger a Buildkite pipeline to run on a fork, if you have access to trigger a build.
Tue, 16 Jul 2024 18:46 by Jamie Tanna
.
#blogumentation
#buildkite .
Article
Dynamically querying EndOfLife.date data for internal packages with Open Policy Agent and Dependency Management Data (3 mins read).
How you can retrieve End-of-Life data via EndOfLife.date using Dependency Management Data's Policies functionality.
Sun, 14 Jul 2024 20:33 by Jamie Tanna
.
#dependency-management-data
#blogumentation
#open-policy-agent .
Article
Creating a test harness for validating Renovate regex manager rules (4 mins read).
How to set up a test harness to make it eaiser to modify scary looking regexes in your Renovate configuration.
Fri, 28 Jun 2024 21:37 by Jamie Tanna
.
#blogumentation
#renovate .
Article
Modifying the response body of an httputil.ReverseProxy
response (2 mins read).
How to modify the response from a httputil.ReverseProxy
before it goes back to the caller.
Tue, 25 Jun 2024 21:26 by Jamie Tanna
.
#blogumentation
#go .
Article
Performing cross-database queries with SQLite (2 mins read).
How to query multiple database files with SQLite.
Wed, 19 Jun 2024 13:54 by Jamie Tanna
.
#blogumentation
#sqlite .
Article
Using Go's database/sql
to query an arbitrary columns of unknown type(s) (3 mins read).
How you can query an unknown number of columns, of unknown types, with Go's SQL package.
Thu, 13 Jun 2024 20:41 by Jamie Tanna
.
#blogumentation
#go .
Article
My workflow for writing SQL(ite) queries (2024 edition) (4 mins read).
Writing about my recent workflow for writing, executing, and sharing SQL queries with others.
Fri, 07 Jun 2024 10:53 by Jamie Tanna
.
#blogumentation
#sql
#sqlite
#neovim
#datasette
#lsp .
Article
Calculating the GitHub API's sha
representation of a local file (2 mins read).
How to locally calculate the same sha
of a given file, so you can compare it against the GitHub API's representation.
Thu, 30 May 2024 17:28 by Jamie Tanna
.
#blogumentation
#github
#go .
Article
Making it easier to schedule cross-timezones, with the tz
CLI (3 mins read).
Writing a command-line tool with Charm's Go libraries to compare the suitability of meetings across timezones.
Wed, 15 May 2024 21:34 by Jamie Tanna
.
#blogumentation
#command-line
#go
#charm
#elastic
#remote-work .
Article
Installing Google Cloud CLI components on Arch Linux (2 mins read).
How to install gcloud
components using pacman
, instead of using the officially supported method.
Sat, 11 May 2024 17:13 by Jamie Tanna
.
#blogumentation
#arch-linux
#google-cloud
#serverless .
Article
Lessons learned self-hosting Renovate (13 mins read).
What I've learned operating Renovate as a self-hosted app on GitHub Actions, GitLab CI, and the Mend Renovate Community Edition, and some tips for getting started
Fri, 03 May 2024 11:56 by Jamie Tanna
.
#blogumentation
#renovate .
Article
Automating the syncing of files between repos with GitHub Actions (2 mins read).
Creating a GitHub Action workflow to periodically update vendored files which are out-of-sync between GitHub repos.
Sat, 27 Apr 2024 14:24 by Jamie Tanna
.
#blogumentation
#github
#github-actions .
Article
Querying your organisation's Renovate configuration using SQL(ite) (3 mins read).
A new tool, renovate-config-sqlite
to pull Renovate configuration into an SQLite database.
Sun, 14 Apr 2024 10:58 by Jamie Tanna
.
#blogumentation
#renovate
#sqlite .
Article
Why I recommend Renovate over any other dependency update tools (10 mins read).
Explaining why Renovate is going to be my solution to keeping up-to-date with dependencies and it's not likely to change any time soon.
Fri, 12 Apr 2024 11:06 by Jamie Tanna
.
#blogumentation
#renovate
#dependabot
#snyk .
Article
What routes is my http.ServeMux
listening for? (2 mins read).
How to fairly quickly list the routes that your http.ServeMux
is handling, pre- and post-Go 1.22.
Mon, 04 Mar 2024 14:29 by Jamie Tanna
.
#blogumentation
#go .
Article
Why is Go 1.22's enhanced routing not working for me? (2 mins read).
Why you may be receiving 404 page not found
errors when using Go's new enhanced routing in Go 1.22.
Mon, 04 Mar 2024 13:45 by Jamie Tanna
.
#blogumentation
#go .
Article
Gotcha: Don't try and authenticate to URLs generated by GitHub Actions Artifacts v4 (3 mins read).
Why you may be receiving errors when trying to authenticate to download GitHub Actions Artifacts using the v4 Actions.
Thu, 15 Feb 2024 15:11 by Jamie Tanna
.
#blogumentation
#github-actions
#go .