Skip to main content

Posts tagged with #100 days to offload

Recent Posts (Page 3)

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.

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.

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.

Back to top
Back Forward