Jan-Lukas Else

Thoughts of an IT expert

πŸ‘¨β€πŸ’» Dev: XXXX-XX-13

Welcome to the Dev section of my blog with development related articles.


How I sync my Nextcloud with an S3 bucket using Drone CI and rclone

Published on in πŸ‘¨β€πŸ’» Dev

A few days ago, an OVH data center went up in flames and was completely destroyed. This reminded me that it is important to store backups in another place on earth if possible, so better not in the same data center as the server that might burn down.

View

Advent of Code 2020 in Go: Week 1 and Week 2

Published on in πŸ‘¨β€πŸ’» Dev

Instead of making a post every other day with all the solutions, here are my approaches for the rest of week 1 and week 2 of Advent of Code 2020.

View

Find broken links on your website with muffet

Published on in πŸ‘¨β€πŸ’» Dev

Today I wanted to check if my blog contains some broken links and it actually did. I used the Go-based tool muffet which crawls a website and checks for HTTP errors when following links. To speed up the process, I started a local Hugo server and used the following command for muffet (after installing it):

View

Pure CSS Lightbox in Hugo theme

Published on in πŸ‘¨β€πŸ’» Dev

Hugo themes have the option to override the default rendering of Markdown images by using β€œMarkdown Render Hooks” since version 0.62.0. By creating a file in layouts/_default/_markup named render-image.html it is possible to use a custom template for rendered images. This gives a lot of flexibility. I just used that flexibility to create a lightbox with pure CSS (without using JavaScript, like many lightbox implementations do). After clicking (or tapping) on an content image, you will see it filling the browser view. Another click brings you back to the content.

View

Jan-Lukas Else