Skip to main content

Recent Posts (Page 4)

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.

Photo by Todd Quackenbush via Unsplash

Notes from the Laboratory: July 2023

I am trying this new “thing” of “reporting” what I was up to in a certain period this year, and monthly reviews just sound like something normal people would do. Bear with me while I am typing up this report.

Back to top
Back Forward