Skip to content

Instantly share code, notes, and snippets.

@y0lopix
y0lopix / pkgl_extract.py
Created September 9, 2026 16:07
PKGL extractor for TH06C/TH06NC (quick vibe-coded slop)
#!/usr/bin/env python3
# PKGL extractor (TH06C/TH06NC)
# Either zstandard pip package or zstd cli is required
import sys, os, struct, zlib, subprocess, shutil
M = (1 << 64) - 1
def _mix(z):
z = (z ^ (z >> 30)) * 0xbf58476d1ce4e5b9 & M
z = (z ^ (z >> 27)) * 0x94d049bb133111eb & M
@y0lopix
y0lopix / windows-tweaks.reg
Last active August 20, 2026 11:47
Useful tweaks for Windows 11 and Windows 10
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search]
"BingSearchEnabled"=dword:00000000
"AllowSearchToUseLocation"=dword:00000000
"CortanaConsent"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000000
"DisableWebSearch"=dword:00000001