Skip to main content

Archive

Jul 19 2022

Sitemap

This is a Hugo theme component with layouts to add a configurable sitemap to your website. Hugo itself has internal templates that add sitemaps, but this component has additional setup options per page. Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-sitemap" disable = false ignoreConfig = false ignoreImports = false Latest Version v1.

Jul 19 2022

Robots

This component for GoHugo adds a customizable robots.txt to your website. This module overrides the internal robots.txt generation of Hugo and lets you configure what robots.txt in your public folder will contain. It also offers a meta-robots tag for your head section.

Jun 28 2023

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.

Jun 21 2023

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.

Jun 21 2023

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.

Jun 21 2023

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 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.

Jun 19 2023

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.

Jun 3 2023

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.

May 24 2023

What if Wes Anderson… (Part 2)

What if Wes Anderson would have directed a horror movie? I think it would have been awesome.

May 23 2023

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.

May 5 2023

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.

May 2 2023

What if Wes Anderson… (Part 1)

What if Wes Anderson would have directed a Star Wars movie? I think it would have been awesome.

Apr 28 2023

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.

Apr 21 2023

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.

Apr 11 2023

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.

Apr 3 2023

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.

Mar 28 2023

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.

Mar 13 2023

Sandworm security audit

Sandworm Audit is a free and open source command-line tool designed to scan your project and dependencies for security vulnerabilities, license compliance issues, and other metadata problems. It works with any modern JavaScript package manager and supports custom license policies. With Sandworm Audit, you can generate easy-to-read reports that include JSON issue and license usage reports, CSV files of all dependencies and license information, and SVG dependency tree and treemap visualizations.

Mar 10 2023

Install and link Firefox Developer Edition on Ubuntu

Firefox Developer Edition is a specialized version of the Firefox browser, designed for developers and early adopters. It’s kind of a beta version, but with much more features. It comes with various tools, such as the Visual Editing, Debugging, an inspector that shows you details about the used CSS Grid, unused CSS and so on.

Mar 9 2023

Saving Github Access Token in Local Encrypted Storage via Gh Cli

GitHub CLI has in it’s latest version introduced a new feature that allows users to store their access token in an encrypted local storage system. This new option is available through the --secure-storage flag when using the gh auth login and gh auth refresh commands.

Mar 9 2023

Netlify's new logo

Netlify, one of my favorite deployment options and a web development platform, has recently introduced a new logo, marking a significant step towards a new overall visual identity. The company has used its signature teal gem logo for the past eight years, which has remained unchanged since its inception.

Mar 8 2023

Refactoring my screenshot script

My go-to-script to create a screenshot as header images of posts about a website was for a long time this: js 1const { chromium } = require('playwright'); 2(async () => { 3let browser = await chromium.launch(); 4 let page = await browser.

Mar 6 2023

Fixing package dependency issues on Ubuntu with APT

Have you ever tried installing a program on your Ubuntu and ran into error messages about unconfigured dependencies? Don’t worry; it happens to the best of us. For example, when you install a program, it might rely on other software packages to run correctly; if those dependencies are not met, the program won’t work.

Feb 26 2023

Notes from the Laboratory: February 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.

Feb 21 2023

Jetbrains Mono

My currently favourite developer font is Jetbrains Mono. (Stefon voice on) It has everything! Distinctive characters (no more wondering if that is a zero or an uppercase O), code ligatures and more more more (Stefon voice off). I personally like the way the ligatures give a unique and coherent look to my editor experience.

Back to top