Archive

March 16, 2022

Hugo 0.95 - Update Notes

Hugo 0.95.0 brings some really useful features (next to smaller speed increases as always) and upgrades the used Golang version to 1.18. New feature: {{ break }} and {{ continue }} break and continue are keywords known to developers of any programming language.

March 16, 2022

The Pentaverate

Mike Myers does that thing where he plays multiple roles in the same movie. What if a secret society of five men has been working to influence world events for the greater good since the Black Plague of 1347? As this new series begins, one unlikely Canadian journalist finds himself embroiled in a mission to uncover the truth and just possibly save the world himself.

March 10, 2022

Hiding UpdraftPlus nagging screens after your subscription ran out

Nagscreens. You know them. Very annoying. Long story short: I recently stopped updating my subscription to a paid WordPress plugin and it started using nag screens to guilt me into renewing the subscription again. In this specific case we have the UpdraftPlus plugin that I really suggest everyone to use, but it did not really add new features or did anything else to make me feel like having a yearly subscription for the simple backup plugin would be something I want to do.

March 2, 2022

Create a Branch From Within an Issue on Github

You can now create a branch directly from an issue to begin development work that’s correlated to that issue. Branches connected to an issue are shown under the “Development” section, which has replaced “Linked pull requests”, in the sidebar of an issue.

March 2, 2022

Ubuntu, EFI and Acer

A while ago I found myself in front of my little baby-notebooks screen telling me in no uncertain terms, that “No Bootable Device (was) found”. Hmm. Somehow I remembered that. I also remembered that it’s just a little renaming routine that would solve this annoying issue.

March 1, 2022

Hugo Shortcode: Taglist

I needed a Hugo shortcode to show a list of posts that belonged to a certain tag, which is quite easy. Add the following to layouts/shortcodes/taglist.html or whatever name you like to use for the shortcode.

March 1, 2022

Notes from the Laboratory: February 2022

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.

February 23, 2022

Creating a GPG Key for Github/Gitlab Deployment

Every now and then I have to add a GPG-key to one of my projects. Last week for instance a key expired that I used for a year to sign my commits. And every time that happens, I have to google how to create my key again.

January 30, 2022

Notes from the Laboratory: January 2022

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.

January 19, 2022

Google's new (?) Not Found animation

Google has a nice little animation when you end up on a search result with no results. It’s a little blue monster fishing. Click it and it will start fishing for something. A fish, or a tin of fishes or, well, look for yourself.

January 4, 2022

Just another New Year

Every year my feeds (yes, I am still reading my news via feeds) are filled with New Years resolutions and Old Year reviews. I myself dabbled in it a while, but for the past 10 years I gave up on this.

December 31, 2021

Music for the New Year

Some mellow music to let the year run out to. No more programming for at least 10 hours ;)

December 10, 2021

Earth's Black Box

It looks like earths climate catastrophe now has it’s own black box. Earth’s Black Box will record every step we take towards this catastrophe. Hundreds of data sets, measurements and interactions relating to the health of our planet will be continuously collected and safely stored for future generations.

November 16, 2021

Hyper Shell

There is nothing, you can’t do with Electron, apparently. Newest proof is Hyper, a shell inside of Electron (you read that right). Developed by Vercel, the app is theme-able and extensible by plugins, like any other Electron app. It doesn’t look though like any init scripts like .

November 15, 2021

You got to...

… subscribe to Stefan Judis’ Newsletter (click this link, load his site, scroll to the footer and subscribe). Trust me. It’s good. Weekly. His topics touch everything web development related and there is never an issue from which I don’t learn something new.

November 2, 2021

Converting frontmatter in GoHugo

Some days ago I realised, that I keep all my configurations for GoHugo in the TOML format, while using YAML for the frontmatters in my content folder. That did not seem right ;) so I changed those too to TOML.

November 2, 2021

Learning to git with git

I like to learn things by doing them. Recently I found a couple of interesting game formats that teach certain aspects of full stack developer’s life by playing a game. Let’s play? Oh My Git! is a game to learn Git, by using Git.

October 29, 2021

Well... that's a unique... logo?

I had a weird reaction (““well… that’s a unique logo?”) to my really great weblog logo above recently, so I thought I might as well explain it.

October 28, 2021

Print ordinal date suffixes (1st/2nd/3rd/4th) in GoHugo

Golangs $date.Format is unable to add ordinal suffixes to dates (like 1st, 2nd, 3rd, 4th). Let’s not judge Golang for that. The following is how I remedy this issue: layouts/partials/func/formatOrdinalDate.html go-html-template 1{{- $format := .format -}} 2{{- $date := .date -}} 3{{- $shortened := "th" -}} 4{{- if in (slice 1 21 31) $date.

October 27, 2021

CSP vs. syntax highlighting in GoHugo

If you are using the code styling functionality of GoHugo then you might have stumbled over a common issue when you are using Content Security Policies (CSP) and inline styles. Using CSPs is the proper way these days to secure your site code but it is considered (in the realm of CSPs) bad style to have your style sheets or JavaScript inlined into your page.

October 27, 2021

Giscus Module for GoHugo

Giscus is a new star on the comment systems for static website generators orbit. It is inspired by the wonderful utterances and uses Github Discussions to save comments. It’s open source, easily configurable, themeable, translatable, and you can host it on your own server (it’s JavaScript based) if you like.

October 23, 2021

Game Off 2021 Part I

Game Off 2021 is this years iteration of a regular game development contest hosted by itch.io. I decided a while back to develop some form of program or game just because I can. This is the perfect opportunity to force myself to do so and I’ll program a little game throughout the month of November.