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
@reveng007
reveng007 / All_about_static_and_dynamic_in_linux.md
Last active November 20, 2024 14:38
`Static` vs `Dynamic` library in `Linux`, `PIC`,`PIE`, `plt`, `got`, `Virtual vs Physical Addresses`:

Static vs Dynamic library in Linux, PIC, PIE, plt, got, Virtual vs Physical Addresses:


plt ---> procedure linkage table
logical addresses ---> virtual addresses
virtual address space (VAS) or address space ---> is the set of ranges of virtual addresses that an operating system makes available to a process.
memory management unit (MMU) or paged memory management unit (PMMU) ---> is a computer hardware unit having all memory references passed through itself, primarily performing the translation of virtual memory addresses to physical addresses.
Virtual address space randomization ----> Address space layout randomization ----> (ASLR)

NOTE:

@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 April 25, 2025 04:48
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: