basnotes

 

Tip

October 26, 2024

Micro:bit on Linux

Using Micro:bit on a Linux machine is apparently not evident…

read more

January 19, 2023

Linux: Too many files open

I’m a happy Linux desktop user and running Zorin OS 16.2. Every now and then some Gnome extensions stop working without any error message. I found out what happens.

read more

January 10, 2024

Ubuntu Freeze After Suspend Fix

I recently got a new Lenovo ThinkPad T14 laptop and decided to install Zorin 16.1 on it. But, consistently, after suspending, the laptop froze…

read more

January 11, 2022

Docker image best practices

When building your own docker images, there are several best practices you can follow to optimize on security and size of your image. I came across a video on YouTube that mentions 8, and I think they make sense.

read more

January 6, 2022

Hibernate Zorin

I’ve been using Zorin 16 since around August 2021 on an external SSD. But, out-of-the-box Zorin does not support hibernation. As a result, I have to restart my work environment on every restart.

My daily driver is Windows 10, so hibernation is something I use often, especially when I switch to my Zorin installation. Would Linux support hibernation?

read more

December 7, 2022

Wireguard

It was sometime ago that I setup Wireguard as my VPN server. I have configured my mobile to use it and it works flawlessly.
But, every now and then, I want to add a client and I have to search how to do it every time…

read more

February 2, 2021

Break free of your ISP's or Google's DNS

I have been using PiHole for some time now and have experimented a bit with the upstream DNS servers. Do I use my ISP’s one or Google’s or any other one out there on the internet? Either choice didn’t feel optimal with respect to our privacy, but what alternative(s) do I have?

I have been doing it all wrong!

read more

September 27, 2023

Reclaiming Unused Docker Space

This morning I noticed my server’s disk space was already used more than 90% and trends shown by my InfluxDB dashboards showed, it would be fully depleted soon if I didn’t do anything about it. So, I used du -hn 1 starting from / to track down where the disk space was used, and it showed Docker was the culprit.

read more

January 10, 2024

Site CI/CD

Whenever I write a new article for my site, I would like to have it published automatically. As mentioned earlier, I’m using Hugo to generate it and I have seen several solutions of other Hugo users for automated deployment.

read more

August 27, 2021

Vaultwarden

While I have been quite satisfied using a self-hosted official Bitwarden server, the large amount of containers and high resource usage has always seemed over the top for a “simple password vault”. Now, I ran into Bitwarden RS Vaultwarden, which is a server-api compatible server written in Rust as a single docker image having a lower resource demand.

read more

September 23, 2020

WordPress to Hugo

When I started the graduation of my study Software Engineering in 2015, I was required to have a blog to log and share my findings with my university. At that time WordPress was an easy-to-setup and easy-to-use solution. That is still true, but it does have its disadvantages too.

read more

September 16, 2020

Hugo Search

Although my site does not yet contain much content, I thought it would be nice to have some kind of search functionality. I found some nice solutions and this is what I did:

read more

January 29, 2021

Fix email address in Git commits

As probably many of you, I have a personal and work email address. When working on my personal stuff, I want to use my personal email address for personal code commits and my work email address for work related commits.

Many a time I find I have used my work related email address for my personal work…

read more

September 16, 2020

Garmin export

With the system outage at Garmin between July 23rd and July 29th 2020, it became clear that a user is really dependent on the Garmin systems for access to their own data. This made me think about ways to at least have a copy in my own possession.

read more

September 16, 2020

scrcpy

Using scrcpy, you can control your Android phone in a window as if it runs on your machine.

read more