Put your (software) version in a file • 01 Jul 2023
I’ve started using my setver bash tool for easy semver versioning of components and projects. One of the design decisions I made back then, is that I would always have a VERSION.md version file in the root of my project....
Using bashew in GitHub Actions • 15 Oct 2022
GitHub Actions, used in countless CI/CD setups, are a good example of the ubiquity of bash scripting. Most of the run: lines in an Action YML document are nothing but (a sequence of) bash command lines.
Bash benchmarks • 24 Mar 2022
When writing bash scripts, one needs to find ways to do things that aren’t built in to bash. String manipulation like lowercase conversion, parsing, removing whitespace… all use tools/binaries built-in to the OS, but not in the language itself. I’m...
Advanced dotenv config files for bash scripts • 25 Apr 2021
A technique commonly used practice in (deployment of) software projects is to put your local configuration, environment variables and secrets in a .env file in the root of your project. This .env file is structured as a one-dimensional lookup table...
Find installation folder for bash scripts • 24 Apr 2021
This is the start of a series on some bash tricks and features that I’ve developed for the bashew bash scripting micro-framework.
Generate individual tag/category/author pages for your Jekyll website • 21 Mar 2021
I’ve been migrating more and more of my websites to Jekyll static sites, from WordPress. The advantages are clear: version management with git suits me (it’s how I develop software). deployment/hosting with GitHub Pages is very easy and can be...
Detecting excessive SSD wear on Apple Silicon M1 machines • 22 Feb 2021
Some more professional users of the new M1 Macbooks are experiencing extremely high drive writes over relatively short time. The most severe cases have “consumed” about 10-13% of the maximum warrantable TBW (Total Bytes Written) value of the SSDs (given...
Creating image reveal videos with ffmpeg and primitive (bash) • 21 Jan 2021
One of the projects I started during the lockdown is @squaredforwork which is now named “Guess the movie?” . It is based on years of experimenting with image manipulation and information reduction. Basically: how much visual information do you need...