Fastest way to set up and manage an Mkdocs Material project • 09 Mar 2024
If I wouldn’t be able to control myself, I would create a new website every week. Creating a website about … any topic really, helps me structure the knowledge I have or am in the process of collecting about it....
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.
Benchmark: hash functions • 19 Apr 2022
Post #7 in this bash benchmark series,
measuring the speed of common bash text manipulations.
Benchmark: MacOS tr vs GNU gtr • 18 Apr 2022
Post #6 in this bash benchmark series,
measuring the speed of common bash text manipulations.
Benchmark: slugify text in Bash • 15 Apr 2022
Post #5 in this bash benchmark series,
measuring the speed of common bash text manipulations.
Benchmark: romanization in bash • 08 Apr 2022
Post #4 in this bash benchmark series,
measuring the speed of common bash text manipulations.
Benchmark: cut characters in bash • 25 Mar 2022
Post #1 in this bash benchmark series,
measuring the speed of common bash text manipulations.
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...
Every country in the world in 1 (Unsplash) photo • 14 Feb 2021
I wanted to demonstrate the power of my splashmark image markup script and did the following experiment using splashmark, Wikipedia, and Unsplash:
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...
Using Homebrew on Apple Silicon M1 natively (bash) • 19 Dec 2020
After reading all the raving reviews online about the new Apple M1-based Mac computers, and after losing too much time with my overheating MacBook Pro 2013 that’s on its last legs, I caved and bought a Mac Mini M1.
setver: Package (semver) version management for bash/PHP/Node • 31 Jul 2020
When you’re creating software packages that will be used by other people, you need to get your versioning in order. For PHP libraries, this means: both the version number in composer.json as well as the git tag for Github/Bitbucket. For...
Web services in the console (bash) • 06 Jun 2020
I spend a lot of my day in a terminal window, and I love automating stuff with bash scripts. Sometimes those scripts need to do perform actions based on external conditions: location (country), weather, bandwidth speed …
QR Experiments: QR-ized photos • 27 May 2020
This is my 2nd QR Experiments post: make QR-codes from images, also check the first one on QR Roulette!
Making the Pixel Movie Quiz • 07 May 2020
Imagemagick is a command-line tool to create and modify image files. It is an essential program if you want to work with media files (just like ffmpeg and sox). I have used it very often in my career and I...
New project: bash boilerplate generator on toolstud.io • 03 Jun 2018
I like to automate. I like it so much that I will not hesitate to spend 8+ hours on writing a script that replaces 5 minutes of work every month. Most of my automation is for CLI (command line interfaces)....