Everything I sell, with the measurements behind it: https://gem3match-dev.github.io/built-and-measured/
Each one exists because the existing options were heavier than the job. Every claim below was measured, not estimated. MIT licensed.
Download v1.0.1 · Documentation
pip install pe_doctor-1.0.1-py3-none-any.whl
pe-doctor diagnose suspect.dll # why won't it load
pe-doctor compare broken.dll good.dll # which section changed
pe-restore auto broken.dll good.dll # transplant only the damaged sections
pe-restore brutexor broken.dll --section .text --applyThe point most tools miss: entropy cannot detect XOR encryption. XOR is a bijection — it permutes byte frequencies, so Shannon entropy is identical before and after. Measured on a real 471 KB .text section:
original entropy 6.235 disassembly coverage 99.95%
XOR 0x5A entropy 6.235 disassembly coverage 0.2%
Same entropy, 500× difference in decodable instructions. The decisive test is capstone disassembly coverage. A tool that only measures entropy sees a XOR-encrypted section and reports "clean".
Verified: six corruption types constructed against real Windows DLLs, each classified correctly; three restoration paths return the file to a byte-identical SHA256. Exit codes: 0 = clean, 1 = blocking problem.
Boundaries: single-byte XOR only; Themida/VMProtect have no general unpack; truncated files need a reference copy.
Runs entirely offline on an 8 GB GPU. No API calls.
| Capability | Measured |
|---|---|
| TTS + 8-dim emotion vectors | happy 290 Hz / sad 5.03 s / angry 3.47 s — 123 Hz pitch spread |
| Voice cloning | 3–10 s sample, zero training, two references produce different output (RMS −21.6 vs −15.4 dB) |
| Speech-to-text | word-level timestamps, verified round-trip: TTS → STT recovered 9/9 words |
| Subtitles | SRT with UTF-8 BOM |
| Batch | 4/4 lines, ~5 s each |
Honest limitation: mixed-language transcripts misrecognise. On a Chinese/English sentence, lang=en mangled the Chinese completely; lang=zh got it back but still misread two characters. Voice conversion (STT + TTS) preserves words but not the original prosody — that needs RVC-class models, which do not fit in 8 GB.
Play in browser · Demo page · Why boards deadlock
Zero dependencies, one HTML file, 21.5 KB. Handles the state most tutorials ignore: a board where no adjacent swap creates a match. Detection works by simulating all 112 adjacent pairs rather than pattern-matching shapes, because shape heuristics produce false positives and reshuffle playable boards. Cascades resolve through a work queue, not recursion — recursion blew the stack on an adversarial board. 61 tests.
Open the generator · Download the ZIP (42 KB)
A single 14 KB HTML file. Fill the form, watch the A4 page update, click Export. Invoices, quotes, receipts — anything with a header, line items, and a total. Handles the geometry most HTML-to-PDF pipelines get wrong: A4 is 210 × 297 mm = 794 × 1123 px at 96 dpi, table pagination repeats headers, webfonts embed.
- Why your HTML invoice prints wrong — seven layout defects and the CSS that fixes each
- Blank pages and empty boxes: why headless Chrome PDFs lose their fonts
- Retry-safe webhook receiver — exactly-once delivery
- Why boards deadlock, and how this engine detects it
If you need any of this adapted to your system — a webhook that must not double-create, a PDF that must print exactly, a DLL that stopped loading, voice-over for a script — hire me on Freelancer or buy a template on Gumroad.
I quote after reading the actual problem, not before.