Skip to content

Instantly share code, notes, and snippets.

View MWGMorningwood's full-sized avatar
🍺
Having a great time

Logan Cook MWGMorningwood

🍺
Having a great time
View GitHub Profile
@MWGMorningwood
MWGMorningwood / Typesense-Synonyms.sh
Created October 2, 2025 15:45
Typesense Synonyms
#!/usr/bin/env bash
set -euo pipefail
: "${TYPESENSE_API_KEY:?Please export TYPESENSE_API_KEY}"
TYPESENSE_HOST="${TYPESENSE_HOST:-http://localhost:8108}"
COLLECTION="${COLLECTION:-articles}"
put_syn() {
local id="$1"; shift
[06Aug2023 20:38:10.026] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 47.1.3, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412, -nogui]
[06Aug2023 20:38:10.030] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.3 by Private Build; OS Linux arch amd64 version 5.15.0-76-generic
[06Aug2023 20:38:13.321] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is forgeserver
[06Aug2023 20:38:13.378] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2365!/ Service=ModLauncher Env=SERVER
[06Aug2023 20:38:14.608] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraft
@MWGMorningwood
MWGMorningwood / gist:839a9c09d3f94dc2cf735243befe52bf
Created August 6, 2023 18:51
Discord Int 3.0.0 Crash/Error
---- Minecraft Crash Report ----
// Sorry :(
Time: 2023-08-06 00:04:45
Description: Exception in server tick loop
java.lang.NullPointerException: Cannot invoke "de.erdbeerbaerlp.dcintegration.common.DiscordIntegration.getServerInterface()" because "de.erdbeerbaerlp.dcintegration.common.DiscordIntegration.INSTANCE" is null
at de.erdbeerbaerlp.dcintegration.common.storage.linking.LinkManager.isPlayerLinked(LinkManager.java:213) ~[dcintegration-forge-3.0.0-1.20.1.jar%23455!/:3.0.0] {re:mixin,re:classloading}
at de.erdbeerbaerlp.dcintegration.forge.DiscordIntegrationMod.playerLeave(DiscordIntegrationMod.java:523) ~[dcintegration-forge-3.0.0-1.20.1.jar%23455!/:3.0.0] {re:mixin,re:classloading}
at de.erdbeerbaerlp.dcintegration.forge.__DiscordIntegrationMod_playerLeave_PlayerLoggedOutEvent.invoke(.dynamic) ~[dcintegration-forge-3.0.0-1.20.1.jar%23455!/:3.0.0] {re:classloading,pl:eventbus:B}
@MWGMorningwood
MWGMorningwood / index.html
Last active May 23, 2022 15:07
Custom Discord Widget
<div class="wrap">
<div class="name--header">
<div class="name"></div>
<div class="discord">
<a href="https://discordapp.com/" class="discord--link" target='_blank'>Powered by WoodBot<img src="https://discordapp.com/assets/4f004ac9be168ac6ee18fc442a52ab53.svg" alt="" /></a>
</div>
</div>
<div class="channels">