Skip to content

Instantly share code, notes, and snippets.

View SizableShrimp's full-sized avatar
📞
Contact me on Discord!

SizableShrimp

📞
Contact me on Discord!
View GitHub Profile
@Commoble
Commoble / recordCodecBuilderBuilder.py
Last active August 4, 2021 21:24
RecordCodecBuilderBuilder
#usage:
#install python 3ish
#open cmd
#run `python.recordCodecBuilderBuilder.py`
#enter name of class, e.g. Thing
#enter fields one line at a time in the format
#FieldType field_name FieldType.CODEC
#java class is output to rcbb_Thing.txt
classTemplate = '''
@robotgryphon
robotgryphon / build.gradle
Created November 25, 2020 15:34
Forge De-Obfuscated JAR Mods
// Loads files in the format {modid}-{version}.jar, MC version optional but picky about hyphens.
// See the regex pattern.
def getModVersion(filename) {
// println(filename);
def pattern = /^(?<modid>[^-]+)(?:-(?<mcversion>[0-9.]+))?(?:-(?<modver>[0-9.\-]+))\.jar$/;
def matcher = filename =~ pattern
def found = matcher.find()
@matthewzring
matthewzring / markdown-text-101.md
Last active May 25, 2024 22:12
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers: