Skip to content

Instantly share code, notes, and snippets.

View johnzhou721's full-sized avatar

John johnzhou721

View GitHub Profile
@johnzhou721
johnzhou721 / detect_compile_sdk.py
Created March 27, 2026 01:46
detect_compile_sdk.py
import ctypes
MH_MAGIC = 0xfeedface
MH_MAGIC_64 = 0xfeedfacf
LC_BUILD_VERSION = 0x32
class MachHeader32(ctypes.Structure):
_fields_ = [
@johnzhou721
johnzhou721 / Toga 3026 Draft.md
Created December 19, 2025 22:41
Toga Implementor's Guide

Implement a New Backend