jlelse’s Blog

Thoughts, stories and ideas

👨‍💻 Dev

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


Private diary with GoBlog and Tailscale

Published on in 👨‍💻 Dev

Yesterday I wrote about Tailscale. Really cool service! And I’m a little bit obsessed with it, too. Now that I have connected my devices to a network, I had the idea to make my GoBlog diary available only via Tailscale instead of a public domain.

View

Follow websites without RSS using the XPath RSS-Bridge

Published on in 👨‍💻 Dev

I currently use RSS-Bridge to follow Telegram channels and read new messages in Miniflux. RSS-Bridge is a really cool project that tries to provide RSS (or ATOM, JSON, HTML…) feeds for sites that don’t do that directly.

View

Configure Google’s caching Docker Hub mirror

Published on in 👨‍💻 Dev

Today I learned that it is possible to use a caching proxy for the Docker Daemon.

View

go-shutdowner: Simple graceful shutdowns in Go

Published on in 👨‍💻 Dev

As I already mentioned, I’m trying to modularize parts of GoBlog to make the code more organized and to be able to test it better (thanks to the tests, I always notice small bugs that I can then correct).

View

XOR Operator in Java

Published on in 👨‍💻 Dev

At work today I came across an Eclipse feature for cleaning up Java code. It helps you to improve the code, for example to add final to attributes or parameters, or to improve boolean expressions.

View

Simply cache form fields in localStorage

Published on in 👨‍💻 Dev

Have you ever started typing something into a web form and then you accidentally closed the browser and lost everything you typed there? Because of that I usually use an external text editor for long posts and later copy the text into my blog editor.

View

TIL: gob

Published on in 👨‍💻 Dev

Today I learned about gob. gob is a package from the standard library of Go and allows to store structs efficiently as a byte array. Faster than encoding data in JSON for example. Useful for communication between Go programs or for temporarily storing data. In GoBlog, I’ve recently been using gob for a SQLite-based queue for verifying webmentions and sending ActivityPub requests. gob has the same interface as the JSON package.

View

Miniflux scraper rules

Published on in 👨‍💻 Dev

Speaking of web comics that I follow via RSS, ATOM or JSON feed: ideally I would like to see the comics directly in my feed reader (Miniflux). Some feeds already show the images directly in the content, others do not.

View

Be careful when using “::file-selector-button”!

Published on in 👨‍💻 Dev
Updated on

A reader pointed out to me today that the styling of buttons on my sites was broken in the Firefox ESR version 78. I took this notice as a reason to search for the root cause, because I had already noticed the error in the Tor browser, but I always thought it was due to some security rules.

View

Find broken links with GoBlog

Published on in 👨‍💻 Dev

Even though it is often said that the Internet does not forget, it does forget some things. When people shut down their websites, delete sites or even sell their domains.

View

Next

Jan-Lukas Else