Archive
Notes from the Laboratory: January 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.
Google's new OSV scanner
Google recently published a security scanner named OSV Scanner, that checks your files for vulnerabilities that hide in your code. It connects and checks for all issues collected on the OSV database. It is a great tool for developers to quickly check their code for vulnerabilities before they are released to the public.
Notes from the Laboratory: December 2022 (and November too)
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.
Auditor
Improve your GoHugo website’s development with this auditing component. These auditing tools ensure you to find hidden performance boosts.
Mastodon and Me
When Twitter was sold and bought (after plenty of pretending and peacocking) a couple of weeks by the worlds leading vapor ware promoter many complained about “their Twitter” being opened up to misogyny and hate speech. Let’s not talk about that ;) I myself never found a “home” in Twitter and use(d) it more or less to add my own noise to the already existing noises only.
Fixing Double Ci Runs When Pushing to Gitlab Branches
A while back I realized, that every time I pushed some commits to a branch on GitLab two separate CI pipelines started. That soon took up lots of free CI-minutes and became a problem. After some research I found out that this is, while it’s to be expected due to the design of the system, avoidable with a specific configuration addition.
Protected .dotfile files with Keybase
For reasons I don’t want to go too deep into (I once again violated my rule to NOT install Ubuntu versions without a LTS in their name and ended up without eyes or ears) I had to reinstall my workstations and computers last week.
Notes from the Laboratory: October 2022 (and September too)
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.
The problem with VSCode
Geoffrey Huntley writes an extensive explanation on how “Visual Studio Code is designed to fracture” and unburies some (well, expected) shadyness on the part of Microsoft. The long story short version is summarised at the end: In short, this is what Microsoft did:
The evolution of the Rolling Stone logo
The Rolling Stone Magazine has a new logo, which one might have overlooked due to its references to its history. XYZ Type, the designer(s) behind the rework give a little insight into the illustrious history of the logo through the decades and the reasoning behind their updates.
Notes from the Laboratory: August 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.
A Cat and a Dog
Ok, so this is a cat and a dog living peacefully together. I had to add this just for some testing purposes ;) Keep calm and keep walking, there is nothing to see here (other than animals proving to us humans that one can live together with other kinds, but, well, whatever…)…
Mark word break opportunities in HTML
Today I tried to check my website, while frolicking on a beach somewhere on Koh Samui and was presented with the view on the left in the image above. That box looked weird, and of course that very long hashtag was the reason for it.
Giscus
This is a Hugo theme component to add the Giscus comment system, powered by GitHub Discussions, to static websites. Note: Giscus is still under active development. GitHub is also still actively developing Discussions and its API. Thus, some features of Giscus may break or change over time.
Simple multi-language pre-commit hooks
This is one of the posts that spent months in draft (fka ideas) mode. Recently I got to convert some people to use the tool described by this post, so I thought I might as well add some context to it.
Notes from the Laboratory: July 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.
Internals
This module attempts to replace internal templates used by Hugo with custom ones and other modules and plugins that add identical features more sophisticated or up-to-date. Internal templates of Hugo are highly opiniated, often out of time and not suitable for use in the production environment of a website.
Security
This module adds a security.txt file to your Hugo website with information about your preferred procedures to notify the developer team of your website about security issues on your website. Read more about security.txt, a proposed standard which allows websites to define security policies.
PWA
This is a Hugo theme component with helpers to convert your static GoHugo website into a PWA. This is work in progress and while many parts are already working, some changes to the setup will occur. Please watch the releases of this repository to be alerted about changes.
Netlification
This is a Hugo theme component with helpers to host your GoHugo generated static website on Netlify. If you don’t use Netlify, you DO NOT need this module. Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-modules/modules/netlification" disable = false ignoreConfig = false ignoreImports = false Latest Version modules/netlification/v1.
Hooks
Key Features Some things you need to know Installing Updating Hook principle Call hooks in layouts Simple Calls Extended Use (adding parameters to the call) Configuration Hooks for developers Directory based File based Module based hooks (plugin hooks) Best Practices RFC: “Global” Reusable Hooks Namespaced Hooks Sample hook usage Hooks for GoHugo layouts.
Debug
This module for GoHugo adds debugging partials for many use cases.
Feeds
This is a GoHugo theme component that implements various configurable feed formats. Currently implemented formats are RSS, Atom and JSONfeed. Find out more about the RSS, Atom and JSON feed formats Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-feeds" disable = false ignoreConfig = false ignoreImports = false Latest Version modules/feeds/v1.
Icons
This is a Hugo theme component that adds several icon sets to your Hugo website. Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-icons" disable = false ignoreConfig = false ignoreImports = false Latest Version modules/icons/v1.2023.3 (2023-10-15) Available Icon Fonts (bs/bootstrap): Bootstrap Icons (hr/heroicon): Hero Icons (tr/tablericon): Tabler Icons Usage This module adds sample pages with a list of all available icons when run in development mode:
.gitignore for GoHugo
This is a slight update on my previous post about the perfect .gitignore file for GoHugo. TLDR: The current optimum .gitignore content for a GoHugo project is the following (in addition to your own ignored files and folders): ini 1/public/ 2/resources/_gen/ 3/assets/jsconfig.