Skip to main content

Posts tagged with #100 Days To Offload

Recent Posts (Page 5)

Versions of versions

Howto get the next semver version number in a bash script

In my projects, I often encounter situations where I need to update the version number of the project before making a release. I follow the Semantic Versioning (Semver) standard for versioning. In this blog post, I’ll demonstrate how to retrieve the next Semver version number using a Bash script.

Carefully implemented forms

Reusable Gohugo Forms via Configuration

A while back (pre-COVID-19 era), I had the idea to create a GoHugo module that would allow me to create forms via configuration files. I also wanted to easily translate the form into different languages. I sketched out a solution but never got around to implementing it.

Photo by Roman Synkevych via Unsplash

Git’s missing status Hook

Despite its many advantages and nifty features of Git, there’s one feature it lacks: a status hook. In Git, hooks are scripts that I can execute automatically at specific points during the version control process. These hooks perform custom actions, such as running tests, enforcing coding standards, or sending notifications, at various stages like pre-commit, post-commit, and post-merge.

Photo by Paul Esch-Laurent via Unsplash

Update Npm Packages in All Available Nvm Environments

If you are like me, then you are probably using nvm to manage your node environments. I have a few projects that are using different node versions, and I have to switch between them from time to time. Sometimes then I forget having switched and type some globally installed npm command and end up, not having it installed in the current environment or not updated to the latest version.

Why is the sky blue?

Why is the sky blue?

Did you ever ask yourself why the sky is blue? Here is what you need to know: The color of the sky is a result of a phenomenon called Rayleigh scattering. Sunlight is composed of different colors of light, each with its own wavelength - just think of Pink Floyds album cover for The Dark Side of the Moon or the Rainbow flag.

Photo by Kelsy Gagnebin via Unsplash

Kurzschnitte II - First Edition

Welcome to the first edition of Kurzschnitte II, a collection of links I came across in recent weeks. These links were noteworthy to me, but I don’t want to write a full blog post about them. Instead, I’ve gathered them here for you to enjoy.

Back to top
Back Forward