Roll your own jwt.io in the terminal
Pasting a jwt token into someone else's website feels wrong. Let's roll a small diy version of it in the terminal.
Connecting Stable Diffusion WebUI to Ollama and Open WebUI, so your locally running LLM can generate images as well! All in rootless docker.
I don't enjoy configuration files with secrets kept in plaintext. Here's how to move docker credentials to the macos keychain when you are running colima.
For the longest time I have been troubled by a mouse cursor offset when running Windows in a VM with qemu. The -usbdevice tablet option fixes it.
Nix can launch developer environments with all the programs your build or project needs, readily available on the path. With nescessary environment variables set and custom scripts at your fingertips.
Nix can be daunting at first, as many parts of it really differs from other languages. But you don't really need to know that much of nix the language to simply install some software and manage a little configuration.
The obscure workings of bash never cease to amaze me. The commands : and [ are two bash commands I never knew was runnable on their own.
Like NixOS can setup your linux distribution, nix-darwin can setup your macos installation!
I installed NixOS on my personal computer. Here are some thoughts, three months in.
My journey with Nix continues, and I discover so many new bits and pieces about its workings. Here's a little series of posts in an attempt to document some of it along the way.
Installing Proxmox on some old hardware at home or in a homelab is a great way to virtualize some of the services you need to run at home.
Playing around with ChatGPT text-to-speech in emacs, I discovered that the macos `say` command can do a lot more than I knew about.
Tailscale developer Xe Iaso shows how to deploy a Go program as a NixOS service.
My previous HEIC to webp conversion sometimes messes up the rotation. Here's how to fix it using imagemagick.
WebP offers a compelling combination of features for images on the web; small image sizes, high image quality with both transparency and animation support. Convert to webp on macos.
Hugo bundles need file name set to index for post permalinks to work.
Every week we assign one person to monitor and keep on top of our team's running data pipelines, applications and services. This was getting tedious, so we automated it.
There are so many great Alfred workflows! I use a lot of them every day. One gripe I have with a few of them is that they bundle some kind of unsigned binary that I cannot look at or vet. This post investigates how you can roll your own Alfred workflow with a single, standalone shell script.
When you started a download with `wget`, but you don't have time for it to complete.
Some scripts that need to be initialized when your terminal starts take a long time - too long to run them on every shell you spawn.
The other day we tried to controllably DDOS a colleague's web server using a shell script. Like every time I dig into the quicks of bash I learn something new.
Useful default terminal shortcuts I can't live without.
Create you own local tap repository, extract an old formula and install it with brew.
Bash variables are expanded before your command runs. Beware if you set them in front of your commands.
Read 1Password secrets from the command line, load them into environment variables and config files.
A GitHub Pages Hugo site on https with a Let's Encrypt certificate