Archive
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.
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.
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?
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.
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.
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.
Pomplamoose does Moby
Today I learned, that Pomplamoose did a cover of Moby’s “Extreme Ways.” Nuff said.
WordPress Drops PHP 5
The WordPress blog announced on July 6th that starting from the next release (WP 6.3 on August 8th, 2023), the CMS will no longer support PHP 5. Yes, that’s correct. PHP 5.6, the final version of PHP 5, reached the end of its lifecycle on December 31st, 2018, but it was still supported by the most widely used CMS until recently.
Removing all local and remote tags in Git
Every now and then I find myself in the situation of needing to tidy up my projects and remove large amounts of local and remote tags in my Git repositories. The procedure is not too hard, but I have to look it up again each time, so why not just writing it up.
Notes from the Laboratory: June 2023
It’s that time of the month again where I am trying this “new thing” of “reporting” what I was up to in a certain time period this year. So bear with me while I am typing up this report. 100DaysToOffload: I recently realised, that theoretically this whole 100 posts in one year thingy here on the blog is going on for 1.
Ping Goes Poof
Google on Monday announced that they will change several things regarding to sitemaps and pinging the search engine about updates of the sitemap. The main points are: Pings are not accepted anymore starting in 6 months, due to them being unreliable.
Changes to Hugo's debugging abilities on the CLI
Hugo in version 0.114.0 finally introduced the changes I wrote about a while back. The hugo command on the CLI now dropped the --log and --verboseLog flags and deprecated the --verbose and --debug flags. Instead, it now uses the --logLevel as an indicator of verbosity.
npkill - cleanup heaps of node_modules
Discover npkill, a command-line tool to clean up space wasted by node_modules folders. Easy to use, fast, and minimal dependencies.
How to handle key issues with apt on Ubuntu
For some time now, I was receiving the following warnings after an otherwise successful run of apt update: plain COPY 1W: http://linux.dropbox.com/ubuntu/dists/disco/Release.gpg: 2Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), 3see the DEPRECATION section in apt-key(8) for details. 4W: http://prerelease.keybase.io/deb/dists/stable/InRelease: 5Key is stored in legacy trusted.
Switching content types in Hugo: A step-by-step guide
Hugo, the little static site generator that powers this website, offers two main content organization options known as page bundles. Page bundles provide a way to group page resources in leaf and branch bundles, allowing for more structured content management. In this quick guide, I will show you how to easily switch between the two types without much manual work.
Notes from the Laboratory: May 2023
I am trying this new “thing” of “reporting” what I was up to in a certain time period this year, and monthly reviews just sound like something normal people would do. So bear with me while I am typing up this report.
What if Wes Anderson… (Part 2)
What if Wes Anderson would have directed a horror movie? I think it would have been awesome.
Creating a Hugo site index
I recently cut out a feature from this website that exported all the content to a JSON file, which I then used to populate my Algolia search index. However, I removed this functionality because I found a more efficient search engine for my small blog.
Patch Notes: Hélène Vogelsinger
I am a huge fan of electrically created soundscapes. People with cables punching them into holes connecting things that rotate elecrons, reverb waves, negate sounds, and create, what is not there. Hélène Vogelsinger is one of these artists. She creates beautiful soundscapes with her modular synthesizers.
What if Wes Anderson… (Part 1)
What if Wes Anderson would have directed a Star Wars movie? I think it would have been awesome.
Notes from the Laboratory: April 2023
I am trying this new “thing” of “reporting” what I was up to in a certain time period this year, and monthly reviews just sound like something normal people would do. So bear with me while I am typing up this report.
That wasn't my fault
A slight spoiler warning for the third season of “Star Trek: Picard” ahead. I am binging currently (maybe later some notes about this habit) the third and final season of “Star Trek: Picard.” So many of my “peers” were unhappy about it and the whole three-season run.
React, visualized
Are you new to React and feeling overwhelmed by its concepts and syntax? Or maybe you’re a seasoned developer looking for a quick refresher on React’s fundamentals? Either way, the folks at react.gg and ui.dev got you covered with their just released visualized guide to React.
Notes from the Laboratory: March 2023
I am trying this new “thing” of “reporting” what I was up to in a certain time period this year, and monthly reviews just sound like something normal people would do. So bear with me while I am typing up this report.
Safe npm commands
Socket’s “safe npm” is a command-line tool that wraps the npm command transparently and protects developers from malware, typo squats, install scripts, protestware, telemetry, and more. It works with all npm commands that can install new third-party code, including npm install, npm update, npm uninstall, npm rm, npm exec, and npx.