Mirroring a website with Bashew and GitHub Actions • 19 May 2024
TL;DR: I decided to mirror the installation scripts for Unifi network controllers on GitHub using Bashew and GitHub Actions. Skip to the here marker to see the steps.
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.
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...