Welcome to the Dev section of my blog with development related articles.
I promised and people already asked, so here is the first part of the documentation about how I enabled ActivityPub support on my Hugo-based blog:
The first step to enable ActivityPub support, was to get Hugo to generate ActivityStreams representations for posts and the ActivityPub actor. I did this by adding a custom output format and published the code as a Hugo module on Codeberg. See the README file there to learn about how to use it.
I just updated my blogroll and thought that it might be a great idea to share my workflow to do exactly that.
I use Miniflux a lot. Using Miniflux, I read all the blogs and get all the news, get updates from all the YouTubers and even subscribe to some Mastodon accounts (fediverse microblogs). I use multiple categories to sort the feeds. One of those categories is “Blogs” with all the blogs, which I also list on my blogroll.
Although it’s great to self-host your web fonts instead of using a service like Google Fonts (that may decrease the privacy of your site’s visitors, because Google can log IP addresses and other stuff), it’s probably not necessary to use web fonts at all. Every PC or tablet or phone has a lot of fonts already pre-installed, which are more than perfect for displaying your website (unless you take a lot of care about corporate design or your personal brand and require a specific font).
After thinking about it, I finally figured out how to PESOS from Pocket to my own site using IFTTT. I tried to do it in a similar way to how Charlotte Allen did this.
The first step was to retrieve an IndieAuth access token using the tool Gimme a token. Then I created a IFTTT applet with the a new favorite item on Pocket as the trigger and a Webhook to execute.
Today I started sorting out a couple of old computers from the flat. To save the data from those, I took the hard drives, connected them via adapters to my PC and cloned each partition to a huge external hard drive. Now I have a bunch of NTFS partition image files. One also with Windows 2000. 😅
This post is more of a note to myself, to remember how to mount them on Linux (TIL).
In my previous post about the operating systems I use, I wrote:
And although it uses the Gnome desktop, it has some custom modifications I would like to deactivate (since I started using Fedora Silverblue, I got to love the stock Gnome desktop).
I didn’t know (and I honestly didn’t searched for solutions before), but it’s possible to use Vanilla GNOME with Wayland on Ubuntu. It’s just a matter of one command:
Yesterday, GitLab sent an email to all users (and wrote a blog post) telling that they are updating their terms & services (to which you have to agree) to include a new third party service to track and analyze the behavior of their users, so that they better understand how their users interact with GitLab.
That understandably created a lot of backlash from users who don’t want to get tracked. Sure, GitLab needs a way to see which features get used in which way, but it’s probably not necessary to use a third party service to accomplish this task.
If you want to use Linux applications on Windows you have multiple options. Using the Windows version of the application if it’s available, cross-compile the app, use a VM or Docker, or use the Windows Subsystem for Linux with a X Server.
A small and lightweight WSL distro is Alpine, which is also quite popular in the Docker world. It’s based on musl, uses busybox and just contains the most important things to be functional.
🖼️ Read more
This is just a quick post, I mainly write for myself, in case it should happen to me again. I temporarily broke my Fedora Silverblue installation for the second time by running the command:
sudo rpm-ostree ex livefs --i-like-danger after I installed a new package.
One has to append --i-like-danger for a reason, but I didn’t want to hear. I wanted to try the new package directly without rebooting my PC.