Skip to content

Instantly share code, notes, and snippets.

View Col-E's full-sized avatar

Matt Col-E

View GitHub Profile
@Col-E
Col-E / Refactor_to_use_PixelBuffer.patch
Created June 2, 2025 17:39
GLCanvas PixelBuffer patch
Subject: [PATCH] Refactor to use PixelBuffer
---
Index: src/main/java/software/coley/glcanvasfx/GLCanvas.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/main/java/software/coley/glcanvasfx/GLCanvas.java b/src/main/java/software/coley/glcanvasfx/GLCanvas.java
--- a/src/main/java/software/coley/glcanvasfx/GLCanvas.java (revision 0b9c86da003f4529142f481ecc8ec37e2268605c)
+++ b/src/main/java/software/coley/glcanvasfx/GLCanvas.java (date 1748885813652)
@Col-E
Col-E / decompile.java
Last active August 23, 2025 13:21
Recaf 4X decompile script for command line use
/*
An example script showcasing how batch decompilation can be enriched with
multiple Recaf features such as:
- Inserting comments into classes & members
- Pre-processing classes to clean up some obfuscation
Usage: Add arguments for this task after the ';' character - see below for how this is handled and arg options
java -jar recaf.jar -i <jar-to-decompile> -s decompile.java -h -q ; <args-for-this-script>
java -jar recaf.jar -i <jar-to-decompile> -s decompile.java -h -q
*/
@Col-E
Col-E / ReadSpeedTest output.txt
Created September 5, 2025 01:03
1brc snippets
java.vm.vendor: Eclipse Adoptium
java.vm.name: OpenJDK 64-Bit Server VM
java.vendor.version: Temurin-22+36
java.vendor.url.bug: https://github.com/adoptium/adoptium-support/issues
os.name: Windows 10
os.arch: amd64
=================================
Samsung SSD 990 Pro 2TB (7.4 GB/s)
Input: 1,000,000,000 rows (13.4 GB)
=================================