Mendhak / Code

Running Windows apps natively in Linux with Docker

Traditionally there have been two main ways to deal with having to run Windows applications when using a Linux environment as a daily driver. The first is to dual boot into Windows, and the other is to use an emulation layer such as Wine or Proton.

Talking to a local LLM in the Firefox sidebar

Firefox has a chatbot sidebar that can be used to interact with the popular LLM chatbot providers, such as Claude, Gemini, and ChatGPT. It is possible to allow it to also talk to a local LLM, although it’s not a readily visible option.

Managing multiple SSH keys for multiple GitHub organisations in a simple way

When working with multiple GitHub organisations, it is common to have to manage multiple SSH keys for git operations.

Developing personal Python apps for Android’s Linux environment

Since the Linux Terminal app was introduced for Android, I’ve been curious about the possibilities it could open up for personal app development.

Using Gemini CLI as an adhoc commandline question answerer

Google’s Gemini CLI is command line, context aware assistant: it looks at your current directory, tools, and tries to make helpful suggestions. Here I go over how I was able to somewhat trim it down to a simple adhoc helper. I just type ? "How do I..." and get an…

edit is a terminal text editor that doesn’t make me think

My terminal-based text editing almost always occurs in short sessions. I’ll usually want to modify something and get out. To me, it makes no sense to have to step on a learning curve for a text editor. A good tool gets out of your way, which is why I don’t…

There is a dearth of automatic infinite scroll mice

My favourite feature of any mouse that I’ve ever used is the automatic infinite scroll wheel mode. This is a mode where the scroll wheel, in its normal clicky mode, is flicked with enough force, and then continues to spin freely for a while, eventually slowing down and returning to…