Tags » my tools
-

create_thumbnail: create smaller versions of images
I’ve made a new tool that allows me to reuse my thumbnailing code across all my projects.
-

emptydir: look for (nearly) empty directories and delete them
I’ve been writing tools in Rust again.
-

dominant_colours, a CLI tool for finding dominant colours in an image
A new tool for playing with images.
Creating a personal wrapper around yt-dlp
I’ve written a new script which calls yt-dlp with my preferred options, so I don’t have to copy my configuration across different projects.
Resizing images in Rust, now with EXIF orientation support
A new version of Rust’s image crate has support for EXIF orientation, which allows me to resize images without mangling their rotation.
Adding auto-generated cover images to EPUBs downloaded from AO3
I built a handy tool to generate cover images for stories downloaded from AO3, making them easier to browse. Along the way, I learnt about how EPUBs work, the power of static sites, and some gotchas of async JavaScript.
randline: get a random selection of lines in a file using reservoir sampling
I wrote a tiny Rust tool to get random samples in a memory-efficient way, and I learnt a lot while doing it.