Skip to content

Instantly share code, notes, and snippets.

@antigeky
antigeky / Sublime Text 4 - Mini Patch.md
Created August 17, 2025 17:20
Sublime Text 4 Mini Patch
Version(s) Original bytes Patched bytes
4107 / 4113 80 38 00 0F 94 C1 C6 00 01 48 85 C9
4121 / 4126 / 4142 / 4143 / 4151 / 4152 / 4166 / 4169 80 78 05 00 0F 94 C1 C6 40 05 01 48 85 C9
4180 / 4186 / 4189 / 4192 80 79 05 00 0F 94 C2 C6 41 05 01 B2 00 90
4200 0F B6 51 05 83 F2 01 C6 41 05 01 31 D2 90

Use a hex editor, for example, an online tool like HexEd.it or a desktop application such as ImHex.

@antigeky
antigeky / cpu_instruction_sets.py
Created August 7, 2025 19:09
Check extensions ISA
# Détecte les jeux d'instructions du CPU en pur Python, sans dépendance externe.
# cf https://learn.microsoft.com/fr-fr/cpp/intrinsics/cpuid-cpuidex
import ctypes
import struct
import sys
from typing import Dict, Tuple, List, Callable
if sys.platform != "win32" or struct.calcsize("P") != 8:
raise NotImplementedError("Fonctionne uniquement sur Windows x64.")