RSSAmplifier

Blog

Konstantin Tutsch

The RSS feed for Konstantin Tutsch's blog.

konstantintutsch.comRSS feed ↗4 posts

Latest posts

Grant Docker Access To Volume on SELinux Enforced System

When running Docker on a system enforcing SELinux, Docker Volumes require a special SELinux context to be accessible by the Docker Daemon and Container. This context is called container_file_t and can be set on a path recursively : semanage fcontext -a -t container_file_t "<path>(/.*)?" Afterwards, the context needs to be applied to already existing files : restorecon -Rv <path> Your <path> is now…

How To Compile a Java Program with Multiple Source Files

This blog post is just another note to my future self. This time, it is about compiling (and running) a Java application (with multiple source files) from only the command line. The Example Program Let's say, our application is made up of two files: Main.java and Combination.java . In this example, their contents look like this … // Main.java package com.konstantintutsch.Example; public class Main…

How-To Use BeaconDB as Your Geolocation Provider on Linux

MLS and It's Alternative On March 13, 2024, Mozilla decided to retire their geolocation service and database. 1 This is probably the reason you are currently reading this post and I can also safely assume that your system is not able to locate itself anymore. No worries though, there's a quick fix. It's BeaconDB ! An open-source alternative to the Mozilla Location Service. It's still in an…

Multiple Push URLs for a Single Git Remote

This post is just a note to my future self on how to add multiple push URLs to a single git remote. Adding The URLs First, add a new remote to your git repository. git remote add all git@server1:repo.git Then, redefine the push URL of the remote. git remote set-url --add --push all git@server1:repo.git Finally, add the URL of your second remote. git remote set-url --add --push all…