Skip to content

Instantly share code, notes, and snippets.

View egnappahz's full-sized avatar

Steven DB egnappahz

  • Redacted
  • Belgium
View GitHub Profile
@egnappahz
egnappahz / timewarp.sh
Created April 7, 2017 08:38
timewarping with git
#!/bin/bash
uncached=$(git diff --cached)
echo $uncached
if [ "$uncached" == "" ]; then
read -p "There is no cachediffrence, you probably already comitted. Do you want to DESTROY the last commit?? Type yes: " yes
if [ "$yes" == "yes" ]; then
git reset --hard HEAD~1
fi
else
read -p "There is a cachediffrence, you probably added the files but didnt commit them. Do you want to DESTROY the uncommited files ?? Type yes: " yes
@egnappahz
egnappahz / BMM.21.6.diff
Last active June 25, 2025 20:18
patch BMMarker to minecraft paper version 1.21.6
diff --git a/bmm-paper/build.gradle.kts b/bmm-paper/build.gradle.kts
index ca952fe..bdd0826 100644
--- a/bmm-paper/build.gradle.kts
+++ b/bmm-paper/build.gradle.kts
@@ -2,10 +2,12 @@ plugins {
`core-script`
`paper-script`
`shadow-script`
+ id("io.papermc.paperweight.userdev")
}