Skip to content

Instantly share code, notes, and snippets.

View jakobkmar's full-sized avatar
💜
Rust & Kotlin

Jakob K jakobkmar

💜
Rust & Kotlin
View GitHub Profile
@jakobkmar
jakobkmar / hetzner_minecraft_srv.md
Last active September 9, 2024 22:26
Setup a Minecraft SRV record in Hetzner DNS

Setup a Minecraft SRV record in Hetzner DNS

With an SRV record you can let your domain point to a Minecraft server without subdomains and without the need for taking the whole @ namespace.

Create a simple A record

First, we'll create a normal A record which the SRV record can point to. Let's choose play.yourdomain.com for this.

image

@jakobkmar
jakobkmar / fabric_transitive_include.md
Last active November 18, 2023 22:45
Make fabric-loom's `include` transitive

fabric-loom transitive include

First of all, this should only be used in very special cases. Including dependencies in your mod transitively means that you always have to check whether there are any unwanted dependencies down the line, and exclude these.

Note: if you use languages other than Java, e.g. Kotlin, the likelyhood that you need transitive includes increases

Create the custom configuration

First, create a custom configuration. This is also where you specifiy the excludes.