Skip to content

Instantly share code, notes, and snippets.

View douira's full-sized avatar

douira douira

View GitHub Profile
@douira
douira / convert-waypoints.js
Last active July 19, 2021 07:22
Wynntils waypoint import converter
/*
USAGE:
Do to http://wynnwaypoints.tk/ and look for the download "For Xaero's Map".
Extract the .zip and find a text file with a name like "mw4,0,5_1.txt".
I suggest renaming it to something sane like "waypoint-data.txt".
Then run `node convert-waypoints.js waypoint-data.txt`.
This script will convert the waypoints
into a json format in a file "waypoint-data.txt_converted.json".
Take the copy the contents of this file and paste them into
the text field of this other converter: https://mitalashok.github.io/wynn-waypoints
@douira
douira / latest.log
Created June 25, 2021 01:30
ShulkerBoxTooltip - Disabling the "Server Integration" option disables the whole mod
[03:22:13] [main/INFO]: Loading for game Minecraft 1.16.5
[03:22:13] [main/INFO]: [FabricLoader] Loading 52 mods:
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.16
- [email protected]+c88702897d
- [email protected]+6aebe11a7d
- [email protected]+3661eaa17d
- [email protected]+ca58154a7d
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Name;MC Version;In use;Bleeding edge;URL;Jar;Notes
ctm;1.17.1;TRUE;FALSE;https://www.curseforge.com/minecraft/mc-mods/ctm-fabric/files;ctm-fabric-0.5.0+1.17.jar;
fabric;1.17.1;TRUE;FALSE;https://fabricmc.net/use/;fabric-loader-0.11.6;
fabric api;1.17.1;TRUE;FALSE;https://www.curseforge.com/minecraft/mc-mods/fabric-api/files;fabric-api-0.37.0+1.17.jar;
FerriteCore;1.17.1;TRUE;FALSE;https://www.curseforge.com/minecraft/mc-mods/ferritecore-fabric/files;ferritecore-3.0.1-fabric.jar;
Hydrogen;1.17.1;TRUE;FALSE;https://github.com/CaffeineMC/hydrogen-fabric/tree/mc1.17.1-0.3.1;hydrogen-fabric-mc1.17.1-0.3.jar;apparently we can use both ferritecore and hydrogen
indium;1.17.1;TRUE;FALSE;https://github.com/comp500/Indium/actions;indium-1.0.0+mc1.17.1.jar;
Iris;1.17.1;TRUE;TRUE;https://www.curseforge.com/minecraft/mc-mods/irisshaders/files;iris-mc1.17-1.1.0+rev.e110d24.jar;built from source for sodium 0.3
itemscroller;1.17.1;TRUE;FALSE;https://www.curseforge.com/minecraft/mc-mods/item-scroller/files;itemscroller-fabric-
@douira
douira / reddit search.md
Last active August 9, 2021 22:28
Fixed version of the reddit search information document
This file has been truncated, but you can view the full file.
"Area","MTU","Biomass - Actual Aggregated [MW]","Fossil Brown coal/Lignite - Actual Aggregated [MW]","Fossil Coal-derived gas - Actual Aggregated [MW]","Fossil Gas - Actual Aggregated [MW]","Fossil Hard coal - Actual Aggregated [MW]","Fossil Oil - Actual Aggregated [MW]","Fossil Oil shale - Actual Aggregated [MW]","Fossil Peat - Actual Aggregated [MW]","Geothermal - Actual Aggregated [MW]","Hydro Pumped Storage - Actual Aggregated [MW]","Hydro Pumped Storage - Actual Consumption [MW]","Hydro Run-of-river and poundage - Actual Aggregated [MW]","Hydro Water Reservoir - Actual Aggregated [MW]","Marine - Actual Aggregated [MW]","Nuclear - Actual Aggregated [MW]","Other - Actual Aggregated [MW]","Other renewable - Actual Aggregated [MW]","Solar - Actual Aggregated [MW]","Waste - Actual Aggregated [MW]","Wind Offshore - Actual Aggregated [MW]","Wind Onshore - Actual Aggregated [MW]"
"Germany (DE)","01.01.2021 00:00 - 01.01.2021 00:15 (CET)","4586","11594","n/e","5606","3749","404","n/e","n/e","
@douira
douira / update-runtime-git-hook.js
Created August 12, 2022 02:28
Script to update the JDK Version for VSCode to match the one defined in the Brachyura Buildscript.java after switching branches
#!/usr/bin/env node
// copy this file into .git/hooks/post-checkout
const path = require("path")
const fs = require("fs")
//find the required java version from the build script
const javaVersion = parseInt(
fs
.readFileSync(
path.join(__dirname, "../../buildscript/src/main/java/Buildscript.java")