Skip to content

Instantly share code, notes, and snippets.

@CorruptionHades
CorruptionHades / build_icons.py
Last active January 2, 2026 23:06
ImGui SVG Icon font generator, ttf compressor, header generator, requires fontforge
import os
import subprocess
import urllib.request
import argparse
import sys
# --- CONFIGURATION: UPDATE THIS PATH ---
# Point this to your actual fontforge.exe
FONTFORGE_PATH = r"SET EXECUTABLE PATH TO FONT FORGE HERE"
# ---------------------------------------
@CorruptionHades
CorruptionHades / webarchive_extractor.py
Created October 26, 2025 17:36
Extract the contents of a safari .webarchive.
import os
import sys
import base64
import plistlib
def extract_webarchive(path, output_dir):
# Ensure output directory exists
os.makedirs(output_dir, exist_ok=True)