RSSAmplifier

Blog

equk's blog

I'm equilibriumuk, a software engineer. I write about programming & computer related topics

equk.co.ukRSS feed ↗10 posts

Latest posts

11ty Type Validation Schema

Adding a data schema for type validation to eleventy using zod. Zod is a TypeScript-first validation library. Using Zod, you can define schemas you can use to validate data, from a simple string to a complex nested object. intro - Zod Eleventy DataSchema # Eleventy has the ability to add validation using eleventyDataSchema. Use the special eleventyDataSchema data property to validate data in your…

11ty Switching to Oxlint

Oxc is part of VoidZero's vision for a unified, high-performance toolchain for JavaScript. Oxlint is the fastest linter for JavaScript and TypeScript. It targets compatibility with the ESLint ecosystem. Our benchmarks show Oxlint is 50 to 100 times faster than ESLint. Oxlint - The JavaScript Oxidation Compiler Migrating from ESLint # Migrating was easy as Oxlint has a migration tool…

Screenshots in Sway

NoteThis is an update to tools documented in a previous post Hyprland Screenshots Using Grim - October 20, 2023 I made some basic scripts for capturing screenshots in sway using grim as scrot doesn't have support for wayland. Changes # I updated the previous scripts by switching hyprctl with swaymsg to get the active window or active monitor. I left the code used for hyprland commented in the…

Using Sway in 2026

NoteConfiguration is similar to Hyprland which is documented in a previous post Switching to Wayland - September 8, 2023 Why Change # I was getting some stability problems on one of my systems where the system would hardlock with no way of recovering. Sometimes the system locked up with graphical corruption on the screen. Switching to sway didn't fix the problem I was having but with sway the…

Firefox Forcing LLM Features

Mozilla has been adding in llm & ai related features to Firefox for a while, enabling them by default without asking the user. The main problem with this is users are having this forced on them with no gui option to disable these features. There have been reports of high cpu & ram usage with firefox local ai features. Mozilla also had some trouble with their wording in their ToS relating to user…

11ty OpenGraph & SEO

I wanted to reimplement seo features on the site for a few reasons. There were some bugs with the plugin I was using & I also wanted to remove unused tags for social media as opengraph seems to be the standard. Everything is implemented using nunjucks templates & metadata.js instead of using a plugin. SEO Features # Core tags take data set in src/_data/metadata.js page number in title on…

BlackWidow Macro Keys Rewrite

I decided to rewrite most of the code in this old project to make it easier to add devices. I also replaced all the code relating to opening usb devices. Info # This is a C program that sends the init code to initialize the 'macro' keys on Razer BlackWidow keyboards on Linux. Linux users can then use the macro keys on their keyboard. NoteMore info on the original project can be found in my old…

Switching to Fish Shell

I have had a basic zsh setup for ages with the gentoo style PS1. After reading about fish shell being ported to rust I thought I would give it a try. fish’s core code has been ported from C++ to Rust we’ve rebuilt the foundation in Rust to embrace modern computing What's new in fish 4.0 - fish blog Release fish 4.0.0 - fish-shell/fish-shell Advantages # Clean Scripting Command Suggestions…

Obsidian Notes in Neovim

Recently I've been noticing Obsidian is really slow. In comparison Neovim opens instantly & has a small memory footprint. Using Neovim also allows all the plugins, vim motions, keymapping etc of neovim. Obsidian.nvim # Github - epwalsh/obsidian.nvim I setup this plugin to make it easier to create notes as electron based obsidian can be slow. There were a few steps involved in this. Custom…

11ty Font Awesome SVG Plugin

I have been looking at changing font icons on the site to svg & it seems most implementations use clientside javascript so I just kept the old font based setup. Then I watched a talk a few days ago at 11ty Meetup relating to moving the font awesome blog from wordpress to eleventy which included information about a plugin by Zach Leatherman which removes the need for clientside javascript as it…