Move zet notes to blog posts

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-10 08:00:00 +01:00
parent 11ddf3d114
commit 2c517f1d39
34 changed files with 67 additions and 14 deletions

View file

@ -8,8 +8,6 @@ sculpin_content_types:
permalink: /blog/:basename/ permalink: /blog/:basename/
presentations: presentations:
permalink: /presentations/:basename/ permalink: /presentations/:basename/
zets:
permalink: /zet/:basename-:title/
services: services:
App\Experience\TwigExtension\ExperienceTwigExtension: App\Experience\TwigExtension\ExperienceTwigExtension:

View file

@ -1 +0,0 @@
{% extends "page" %}

View file

@ -7,6 +7,8 @@ tags:
- ARIA - ARIA
- Software Development - Software Development
- Web Development - Web Development
note: true
permalink: /notes/1-ellipsis-in-pager-template-fails-accessibility-tests
--- ---
```html ```html

View file

@ -2,6 +2,8 @@
title: git-instafix title: git-instafix
date: 2024-08-22 12:28:26 date: 2024-08-22 12:28:26
tags: [Software Developmemt, Git] tags: [Software Developmemt, Git]
note: true
permalink: /notes/10-git-instafix
--- ---
[git instafix](https://github.com/quodlibetor/git-instafix) is a tool that allows you to easily amend (or fix) previous Git commits. [git instafix](https://github.com/quodlibetor/git-instafix) is a tool that allows you to easily amend (or fix) previous Git commits.

View file

@ -2,6 +2,8 @@
title: Software Development Graduate website title: Software Development Graduate website
date: 2024-08-22 14:09:53 date: 2024-08-22 14:09:53
tags: [Sculpin, PHP, Transport for Wales] tags: [Sculpin, PHP, Transport for Wales]
note: true
permalink: /notes/11-software-development-graduate-website
--- ---
Shelley, the TfW Software Development Graduate, recently published [her own website](https://shell-web-dev.netlify.app) as her personal project to showcase the work she's been doing. Shelley, the TfW Software Development Graduate, recently published [her own website](https://shell-web-dev.netlify.app) as her personal project to showcase the work she's been doing.

View file

@ -2,6 +2,8 @@
title: The Gin admin theme title: The Gin admin theme
date: 2024-08-22 14:22:56 date: 2024-08-22 14:22:56
tags: [Drupal] tags: [Drupal]
note: true
permalink: /notes/12-the-gin-admin-theme
--- ---
Gin is a contrib admin theme for Drupal, and it has a dark mode. Gin is a contrib admin theme for Drupal, and it has a dark mode.

View file

@ -2,6 +2,8 @@
title: "Abbreviations are better than aliases" title: "Abbreviations are better than aliases"
date: 2024-08-25 01:02:35 date: 2024-08-25 01:02:35
tags: [Shell, zsh, Linux] tags: [Shell, zsh, Linux]
note: true
permalink: /notes/14-abbreviations-are-better-than-aliases
--- ---
Aliases are a way to shorten long or complicated commands or to easily add additional arguments when running commands. Aliases are a way to shorten long or complicated commands or to easily add additional arguments when running commands.

View file

@ -2,6 +2,8 @@
title: "Data attributes and feature flags" title: "Data attributes and feature flags"
date: 2024-08-26 21:34:15 date: 2024-08-26 21:34:15
tags: [Web Development, Software Development, Feature Flags, Drupal, CSS, PHP] tags: [Web Development, Software Development, Feature Flags, Drupal, CSS, PHP]
note: true
permalink: /notes/15-data-attributes-and-feature-flags
--- ---
I recently used the [Feature Toggle module](https://www.drupal.org/project/feature_toggle) to set a data attribute which enabled some new styling for buttons. I recently used the [Feature Toggle module](https://www.drupal.org/project/feature_toggle) to set a data attribute which enabled some new styling for buttons.

View file

@ -5,6 +5,8 @@ tags: [Linux, Command-Line, curl]
links: links:
- https://stackoverflow.com/questions/7172784/how-do-i-post-json-data-with-curl - https://stackoverflow.com/questions/7172784/how-do-i-post-json-data-with-curl
- https://linuxize.com/post/curl-post-request - https://linuxize.com/post/curl-post-request
note: true
permalink: /notes/16-sending-post-requests-with-curl
--- ---
```shell ```shell

View file

@ -4,6 +4,8 @@ date: 2024-08-27 20:21:17
tags: [Vim, Neovim, JSON, jq] tags: [Vim, Neovim, JSON, jq]
links: links:
- https://vi.stackexchange.com/a/19950 - https://vi.stackexchange.com/a/19950
note: true
permalink: /notes/17-format-json-file-in-vim
--- ---
Use `:%!jq` to format/beautify a JSON file within vim using `jq`. Use `:%!jq` to format/beautify a JSON file within vim using `jq`.

View file

@ -2,6 +2,8 @@
title: Using data attributes with Tailwind CSS title: Using data attributes with Tailwind CSS
date: 2024-08-27 23:39:23 date: 2024-08-27 23:39:23
tags: [HTML, CSS, Tailwind CSS] tags: [HTML, CSS, Tailwind CSS]
note: true
permalink: /notes/18-using-data-attributes-with-tailwind-css
--- ---
Adam Wathan mentioned this in his "Tailwind CSS: It looks awful, and it works" at Rails World 2023. Adam Wathan mentioned this in his "Tailwind CSS: It looks awful, and it works" at Rails World 2023.

View file

@ -2,8 +2,11 @@
title: Merging activities in Strava title: Merging activities in Strava
date: 2024-08-30 12:52:35 date: 2024-08-30 12:52:35
tags: [Running] tags: [Running]
note: true
permalink: /notes/19-merging-activities-in-strava
--- ---
Activities with multiple entries can be exported from the Strave website as .gpx files and combined using websites like <https://gotoes.org/strava>. Activities with multiple entries can be exported from the Strave website as .gpx
files and combined using websites like <https://gotoes.org/strava>.
Then, the combined file can be re-uploaded to Strava as a single activity. Then, the combined file can be re-uploaded to Strava as a single activity.

View file

@ -2,6 +2,8 @@
title: sshs title: sshs
date: 2024-08-21 18:17:29 date: 2024-08-21 18:17:29
tags: [Linux, SSH] tags: [Linux, SSH]
note: true
permalink: /notes/2-sshs
--- ---
A terminal user interface for SSH, based on your `~/.ssh/config` file. A terminal user interface for SSH, based on your `~/.ssh/config` file.

View file

@ -2,6 +2,8 @@
title: Sorting parameter arguments and array keys in Vim title: Sorting parameter arguments and array keys in Vim
date: 2024-09-03 19:03:27 date: 2024-09-03 19:03:27
tags: [PHP, Vim, Software Development] tags: [PHP, Vim, Software Development]
note: true
permalink: /notes/20-sorting-parameter-arguments-and-array-keys-in-vim
--- ---
Given this PHP code (for example): Given this PHP code (for example):

View file

@ -2,6 +2,8 @@
title: Extracting a custom module with a Git subtree title: Extracting a custom module with a Git subtree
date: 2024-09-04 20:12:00 date: 2024-09-04 20:12:00
tags: [Git] tags: [Git]
note: true
permalink: /notes/21-extracting-a-custom-module-with-a-git-subtree
--- ---
To extract a directory from a repository and keep the history, you can use the `git subtree split` command to create a new branch: To extract a directory from a repository and keep the history, you can use the `git subtree split` command to create a new branch:

View file

@ -4,6 +4,8 @@ date: 2024-09-10 08:51:49
tags: [MariaDB, MySQL, Databases] tags: [MariaDB, MySQL, Databases]
links: links:
- https://github.com/MariaDB/mariadb-docker/issues/467 - https://github.com/MariaDB/mariadb-docker/issues/467
note: true
permalink: /notes/22-setting-maxallowedpacket-in-mariadb
--- ---
If you need to set `max_allowed_packet` for MariaDB, you can specify it in Docker Compose as a `command`. If you need to set `max_allowed_packet` for MariaDB, you can specify it in Docker Compose as a `command`.

View file

@ -4,6 +4,8 @@ date: 2024-09-10 22:35:41
tags: [Linux, Nix, NixOS] tags: [Linux, Nix, NixOS]
links: links:
- https://discourse.nixos.org/t/error-unsupported-tarball-input-attribute-lastmodified/49435/4 - https://discourse.nixos.org/t/error-unsupported-tarball-input-attribute-lastmodified/49435/4
note: true
permalink: /notes/23-error-unsupported-tarball-input-attribute-lastmodified
--- ---
Yesterday, my laptop died and I needed to resurrect a spare laptop to work on. Yesterday, my laptop died and I needed to resurrect a spare laptop to work on.

View file

@ -4,10 +4,13 @@ date: 2024-09-14 13:39:01
tags: [Linux, curl] tags: [Linux, curl]
related: related:
- Sending POST requests with curl - Sending POST requests with curl
use: [zets] note: true
permalink: /notes/24-posting-data-from-a-json-file
--- ---
When sending JSON data in a POST request, instead of writing it inline with the `--data` or `--json` option, a filename can be entered - prefixed with an `@` symbol. When sending JSON data in a POST request, instead of writing it inline with the
`--data` or `--json` option, a filename can be entered - prefixed with an `@`
symbol.
For example, to POST the data from a data.json file: For example, to POST the data from a data.json file:

View file

@ -7,6 +7,8 @@ links:
- https://www.drupal.org/docs/develop/using-composer/using-drupals-lenient-composer-endpoint - https://www.drupal.org/docs/develop/using-composer/using-drupals-lenient-composer-endpoint
- https://github.com/mglaman/composer-drupal-lenient - https://github.com/mglaman/composer-drupal-lenient
- https://github.com/cweagans/composer-patches - https://github.com/cweagans/composer-patches
note: true
permalink: /notes/25-drupals-lenient-composer-endpoint
--- ---
Today, I tried to add the Content Access module to a Drupal 11 project, but there's no Drupal 11-compatible version. Today, I tried to add the Content Access module to a Drupal 11 project, but there's no Drupal 11-compatible version.

View file

@ -2,6 +2,8 @@
title: Should I learn React? title: Should I learn React?
date: 2024-09-25 19:33:28 date: 2024-09-25 19:33:28
tags: [React, JavaScript, Web Development] tags: [React, JavaScript, Web Development]
note: true
permalink: /notes/26-should-i-learn-react
--- ---
I've usually used Vue.js or, more recently, Stimulus when I write JavaScript. I've usually used Vue.js or, more recently, Stimulus when I write JavaScript.

View file

@ -7,6 +7,8 @@ links:
- https://github.com/frctl/fractal/issues/1167 - https://github.com/frctl/fractal/issues/1167
- https://storybook.js.org - https://storybook.js.org
- https://www.drupal.org/project/storybook - https://www.drupal.org/project/storybook
note: true
permalink: /notes/27-todo-re-evaluate-storybook
--- ---
I've used Fractal a lot for the past several years to build design systems and component libraries for projects, but as the last commit was in January 2023 and there was an issue saying the maintainers were stepping back and the project is unmaintained, it may be time to look at something else. I've used Fractal a lot for the past several years to build design systems and component libraries for projects, but as the last commit was in January 2023 and there was an issue saying the maintainers were stepping back and the project is unmaintained, it may be time to look at something else.

View file

@ -2,6 +2,8 @@
title: Excluding local files from Git title: Excluding local files from Git
date: 2024-11-07 10:10:19 date: 2024-11-07 10:10:19
tags: [git] tags: [git]
note: true
permalink: /notes/28-excluding-local-files-from-git
--- ---
As well as using a shared `.gitignore` file in a directory, I've had a convention of putting my own files I want to ignore in an `.ignored` directory and having that in a [global excludes file](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreexcludesFile). As well as using a shared `.gitignore` file in a directory, I've had a convention of putting my own files I want to ignore in an `.ignored` directory and having that in a [global excludes file](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreexcludesFile).

View file

@ -8,6 +8,8 @@ links:
url: https://www.drupal.org/node/3522189 url: https://www.drupal.org/node/3522189
- text: This Blog Is No Longer on Drupal CMS, and That's a Good Thing - text: This Blog Is No Longer on Drupal CMS, and That's a Good Thing
url: https://joshuami.com/blog/2025/recipe-unpack-blog-no-longer-drupal-cms-and-thats-good-thing url: https://joshuami.com/blog/2025/recipe-unpack-blog-no-longer-drupal-cms-and-thats-good-thing
note: true
permalink: /notes/29-drupal-recipe-unpacking
--- ---
Drupal now supports recipe unpacking. Drupal now supports recipe unpacking.

View file

@ -2,6 +2,8 @@
title: Writing bash scripts with Nix title: Writing bash scripts with Nix
date: 2024-08-21 18:30:24 date: 2024-08-21 18:30:24
tags: [Bash, Linux, Nix] tags: [Bash, Linux, Nix]
note: true
permalink: /notes/3-writing-bash-scripts-with-nix
--- ---
- Variables, such as username, can be injected. - Variables, such as username, can be injected.

View file

@ -8,6 +8,8 @@ links:
url: https://code.oliverdavies.uk/opdavies/nix-config/src/commit/a620888277654fa413d14413d0d2a4ce82d1ad56/packages/get-tags.nix url: https://code.oliverdavies.uk/opdavies/nix-config/src/commit/a620888277654fa413d14413d0d2a4ce82d1ad56/packages/get-tags.nix
- text: My count-tags script - text: My count-tags script
url: https://code.oliverdavies.uk/opdavies/nix-config/src/commit/a620888277654fa413d14413d0d2a4ce82d1ad56/packages/count-tags.nix url: https://code.oliverdavies.uk/opdavies/nix-config/src/commit/a620888277654fa413d14413d0d2a4ce82d1ad56/packages/count-tags.nix
note: true
permalink: /notes/30-counting-tags
--- ---
To see all the tags in a repository, run `git tag`. To see all the tags in a repository, run `git tag`.

View file

@ -3,6 +3,8 @@ title: Using Vim filters
date: 2025-07-12 23:13:54 date: 2025-07-12 23:13:54
tags: tags:
- vim - vim
note: true
permalink: /notes/31-using-vim-filters
--- ---
In Vim, insert some text into a file, such as `date`. In Vim, insert some text into a file, such as `date`.

View file

@ -4,6 +4,8 @@ date: 2025-07-12 23:25:52
tags: tags:
- drupal - drupal
- php - php
note: true
permalink: /notes/32-drupal-bundle-classes
--- ---
By overridding a given bundle type: By overridding a given bundle type:

View file

@ -2,6 +2,8 @@
title: Drush now uses Laravel Prompts title: Drush now uses Laravel Prompts
date: 2024-08-21 18:43:15 date: 2024-08-21 18:43:15
tags: [Drupal, Drush, Laravel, PHP] tags: [Drupal, Drush, Laravel, PHP]
note: true
permalink: /notes/4-drush-now-uses-laravel-prompts
--- ---
By Jess: By Jess:

View file

@ -2,6 +2,8 @@
title: Using code snippets for effective live demos title: Using code snippets for effective live demos
date: 2024-08-21 18:53:51 date: 2024-08-21 18:53:51
tags: [Vim, Neovim, Public Speaking, Laravel, PHP, Jenkins] tags: [Vim, Neovim, Public Speaking, Laravel, PHP, Jenkins]
note: true
permalink: /notes/5-using-code-snippets-for-effective-live-demos
--- ---
[This tweet](https://x.com/DCoulbourne/status/1820068237226262810) mentions using code snippets whilst doing live demos to make them easier and less risky: [This tweet](https://x.com/DCoulbourne/status/1820068237226262810) mentions using code snippets whilst doing live demos to make them easier and less risky:

View file

@ -2,6 +2,8 @@
title: Unveiling Laravel Prompts title: Unveiling Laravel Prompts
date: 2024-08-22 08:09:22 date: 2024-08-22 08:09:22
tags: [PHP, Laravel, Drush] tags: [PHP, Laravel, Drush]
note: true
permalink: /notes/6-unveiling-laravel-prompts
--- ---
Now [Drush is using Laravel Prompts](../4), I should re-watch this video from Laracon US last year where Prompts was unveiled by Jess Archer: Now [Drush is using Laravel Prompts](../4), I should re-watch this video from Laracon US last year where Prompts was unveiled by Jess Archer:

View file

@ -2,6 +2,8 @@
title: Scaling personal projects title: Scaling personal projects
date: 2024-08-22 09:00:00 date: 2024-08-22 09:00:00
tags: [PHPSW, Public Speaking, Software Development] tags: [PHPSW, Public Speaking, Software Development]
note: true
permalink: /notes/7-scaling-personal-projects
--- ---
Here are some quick notes from Ferdie De Oliveria's talk, "Scaling Personal Projects", at [PHP South West last week](https://www.meetup.com/php-sw/events/302521220): Here are some quick notes from Ferdie De Oliveria's talk, "Scaling Personal Projects", at [PHP South West last week](https://www.meetup.com/php-sw/events/302521220):

View file

@ -2,6 +2,8 @@
title: One of my earliest Tailwind CSS projects title: One of my earliest Tailwind CSS projects
date: 2024-08-22 09:01:00 date: 2024-08-22 09:01:00
tags: [CSS, Tailwind CSS, PHPSW] tags: [CSS, Tailwind CSS, PHPSW]
note: true
permalink: /notes/8-one-of-my-earliest-tailwind-css-projects
--- ---
[The PHPSW website](https://phpsw.uk) is one of the earliest Tailwind CSS projects I did, at least that I can remember. [The PHPSW website](https://phpsw.uk) is one of the earliest Tailwind CSS projects I did, at least that I can remember.

View file

@ -2,6 +2,8 @@
title: Git remotes can have more than one URL title: Git remotes can have more than one URL
date: 2024-08-22 09:43:42 date: 2024-08-22 09:43:42
tags: [Software Development, Git] tags: [Software Development, Git]
note: true
permalink: /notes/9-git-remotes-can-have-more-than-one-url
--- ---
If you want to have multiple URLs for a single remote so `git push origin ...` will push to multiple remotes, such as GitHub and GitLab, or a personal repository and a client repository, you can do `git remote set-url --add origin <url>`. If you want to have multiple URLs for a single remote so `git push origin ...` will push to multiple remotes, such as GitHub and GitLab, or a personal repository and a client repository, you can do `git remote set-url --add origin <url>`.

View file

@ -1,8 +0,0 @@
---
title: 'TODO: Try zellij as a potential tmux alternative'
date: 2024-08-23 16:52:06
tags: [Linux, Shell, Zellij, tmux, Command-Line]
---
- <https://zellij.dev>
- <https://mynixos.com/search?q=zellij>