Latest
I love worn out well-loved/used notebooks as much as crisp new ones. Transcribing stuff for my students into their reference/data collection book with “help” from my playful assistant who keeps trying to bat the pens and lie on the books. I love these pens, they’re nice to write with and the bright colours are really bright.
small quality of life hugo scripts
Finally got around to writing a couple of bash scripts to chain the image modifying and deployment stuff together so I can do all of that with one command instead of 2-3. Named without extensions to make my life easier and located in /.local/bin/ because it was already on the path and seemed like a good idea at the time.
blogify (usage: blogify image01 image02 etc or blogify *.ext)
#!/bin/bash
# "apply" orientation flags by actually rotating the image, resize to 1000px on the longest side with a quality of 90 to everything matching whatever was entered
mogrify -auto-orient -resize 1000x1000 -quality 90 $@
# remove all exif data and don't make a backup (if you want backups remove -overwrite_original, alternately make sure you're working on a copy)
exiftool -all= -overwrite_original $@
I’m pretty sure I tested it with the wildcard but am currently second-guessing myself and will find out the hard way when I next need to do it