Mendhak / Code

Enhancing Kobo with text-to-image generation and simple explanations

I’ve modified my Kobo device to generate images from passages of text that I highlight. I select a passage of text, choose the “Visualize” option from the menu, and that…

Use KeePassXC to sign your git commits

Git 2.34 introduced a new feature: the ability to sign commits using an SSH key instead of just a PGP key. This means you can now manage your SSH key…

The userscript that kept me fed

When the lockdown was announced in March 2020, there was a surge of traffic to online grocery sites. Although I had been an early adopter and frequent user of several…

Automatically hyperlinking the selected text when pasting a URL

A really nice quality of life feature I’ve noticed in some applications is the ability to automatically hyperlink some selected text when pasting a URL over it. To be clear…

GraphQL’s poor developer experience

GraphQL’s touted advantages are numerous, including data retrieval efficiency, and flexibility that it can enable. This page even calls its developer experience its greatest benefit, but this is only true…

Hands on introduction to LLM programming for developers

In this post I will go over an approach to getting developers familiar with, and write code against LLMs. The aim is to get developers comfortable interacting and programming with…

LLM output is malicious user input

The most common programmatic interaction with Large Language Models (LLMs) and LLM APIs (ChatGPT, Claude) is to give it some natural language instructions and get a shaped, specific output back.…