Skip to main content
Photo by Mystery Cat via Unsplash

Diogenes vs. Plato

According to Diogenes Laërtius, when Plato gave the tongue-in-cheek definition of man as “featherless bipeds”, Diogenes plucked a chicken and brought it into Plato’s Academy, saying, “Behold! I’ve brought you a man”, and so the academy added “with broad flat nails” to the definition.

Source: Wikipedia

Recent Posts

How to make browsers download a linked file

How to make browsers download a linked file

The download attribute for anchor (<a>) tags is a nifty feature that often flies under the radar but can significantly enhance the user experience on a website. This attribute, when added to an <a> tag, instructs the browser to download the resource linked by the anchor tag instead of navigating to it.

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.

Back to top
Back Forward