Skip to content

Instantly share code, notes, and snippets.

View suchmememanyskill's full-sized avatar
💭
bugs, bugs everywhere

Sims suchmememanyskill

💭
bugs, bugs everywhere
View GitHub Profile
@suchmememanyskill
suchmememanyskill / extended2.cfg
Last active February 14, 2026 22:48
Creality & Bambu Lab filament RFID Tag detection / decryption keys
creality_key: 713362755e74316e71665a2870662431
creality_encryption_key: 484043466b526e7a404b4174424a7032
bambu_key: 9A759CF2C4F7CAFF222CB9769B41BC96
;===== date: 20250109 =====================
M400 ; wait for buffer to clear
M140 S0 ;Turn-off bed
M106 S255 ;Cooling nozzle
M83
G92 E0 ; zero the extruder
G2 I1 J0 Z{max_layer_z+0.5} E-1 F3000 ; lower z a little
G90
{if max_layer_z > 50}G1 Z{min(max_layer_z+50, printable_height+0.5)} F20000{else}G1 Z100 F20000 {endif}; Move print head up
M204 S5000
@suchmememanyskill
suchmememanyskill / firmware.diff
Created September 18, 2025 09:55
Elegoo app strings diff 1.1.40 -> 1.1.42
diff --git a/1.1.40.txt b/1.1.42.txt
index 9e11fbd..5eb391e 100644
--- a/1.1.40.txt
+++ b/1.1.42.txt
@@ -1,3 +1,4 @@
+ptcE
/lib/ld-linux-armhf.so.3
librt.so.1
_ITM_deregisterTMCloneTable
@@ -100,12 +101,15 @@ pthread_join
@suchmememanyskill
suchmememanyskill / compare.py
Created August 18, 2024 10:40
Script that creates an ESPHome filter based on 2 sensors (one reference, one target). Input is a history graph from home assistant ("Download Data")
import csv, sys, datetime, numpy
if len(sys.argv) <= 1:
print(f"{sys.argv[0]} data.csv step[default=0.1] reference_sensor[default=None]")
exit()
csv_file_path = sys.argv[1]
step = float(sys.argv[2]) if len(sys.argv) >= 3 else 0.1
first = True
import json, os, sys, uuid
option_latest = "--latest" in sys.argv
with open("css_mappings.json") as fp:
mappings = json.load(fp)
with open("webpack.json") as fp:
webpack = json.load(fp)
# Based on https://gist.github.com/PartyWumpus/b1bc83b5b29b155e40742d0aa290f0db
# https://github.com/steamdatabase/steamtracking
# git diff HEAD~1 HEAD --unified=0 --no-color "*.css" > diff
# then
from collections import Counter
import cssselect
import json
import uuid
import os
@suchmememanyskill
suchmememanyskill / textSolidify.py
Created February 26, 2021 01:11
Blender text solidify
# Warning. Shit code ahead
# Solidify text using Control + T
bl_info = {
"name": "Text Solidify",
"blender": (2, 80, 0),
"category": "Object",
}
import bpy
Version: NX-9.2.0_exFAT
NcaCount: 216
Titleid: 0100000000000006
- Nca: a42ef448765278babf876b9e5516dd63.nca >> ID: 0100000000000006, Type: Meta
- Nca: ca3a59f9213844544a5efeff0d956bd0.nca >> ID: 0100000000000006, Type: Program
Titleid: 0100000000000007
- Nca: 10a435329a0f6581045c325e7da544cd.nca >> ID: 0100000000000007, Type: Meta
- Nca: 2a51b12998666fea37bb2a03237eb52f.nca >> ID: 0100000000000007, Type: Program