Near my new home. 🍂

🖼️ View
Tech, life and everything else
This section is for short notes, thoughts or IndieWeb interactions.
Near my new home. 🍂

🖼️ View
I’ve never really done test-driven development (TDD). But Advent of Code offers the perfect opportunity for that, because there is already an example input and an example result. So it is possible to create a test first and program until the test passes.
Thanks to AddToAny, there’s now a “Share” option on my blog. If you find an article share-worthy, simply click on that link and select how to share this article. It should be pretty simple.
In Hugo I use the following line of code to create a share link:
<a href="https://www.addtoany.com/share#url={{ .Permalink }}{{ with .Title }}&title={{ . }}{{ end }}" target="_blank" rel="nofollow noopener">{{ T "share" }}</a>
{{ T "share" }} is a translation string, but if you don’t care about translations, simply replace this with your preferred string.
These are the Nextcloud apps that are activated on my Nextcloud instance: