Skip to content

Instantly share code, notes, and snippets.

@startergo
startergo / QEMU_Windows_XP_SP3_VM.md
Created July 5, 2025 22:56
QEMU Windows XP SP3 VM
./qemu-img create -f qcow2 wxp.qcw 6G

Boot from Windows XP SP3 ISO into OS installation with

RedHat VirtIO Windows Installation floppy that provides drivers for VIOSTOR, NetKVM and optional WINNT.SIF for unattended install.Press F5 to select Windows XP HAL. Press F6 to install VIOSTOR driver

./qemu-system-i386 -nodefaults -rtc base=localtime \
-L ./qemu-7.2.0/pc-bios \
-M pc, accel-whpx, kernel-irqchip=off -m 512 -display sdl
@startergo
startergo / icloud_drive.md
Created June 23, 2025 18:13
Clean Local IcloudDrive storage
  • Clean local IcloudDrive :
killall bird
rm -rf ~/Library/Application\ Support/CloudDocs/session
@startergo
startergo / copy_angle_headers.md
Last active April 8, 2025 14:53
Install Virgl Angle headers systemwide

Copy headers to system includes (requires admin privileges)

sudo cp -r angle/include/* /usr/local/include/

Copy pkg-config files:

mkdir -p /usr/local/lib/pkgconfig/
cp angle/egl.pc /usr/local/lib/pkgconfig/
@startergo
startergo / # libangle - 2025-03-11_07-19-11.txt
Created March 11, 2025 12:08
libangle (libangle) on macOS 15.3 - Homebrew build logs
Homebrew build logs for libangle on macOS 15.3
Build date: 2025-03-11 07:19:11
@startergo
startergo / debugging_qemu.md
Created January 24, 2025 03:51
Debugging a crashing QEMU session on a Windows host

1.Enable Debugging in QEMU: Start QEMU with debugging options enabled. You can use the -s and -S options to start QEMU in a paused state and listen for a debugger connection:

qemu-system-x86_64 -s -S -hda your_image.img

2.Use GDB for Debugging: Connect to the QEMU instance using GDB. Open a new terminal and run:

gdb
target remote localhost:1234

3.Set Up WinDbg: If you prefer using WinDbg, you can set up a debugging session with QEMU. Follow these steps:

@startergo
startergo / qemu_mingw64.md
Last active January 21, 2025 14:59
QEMU MINGW64 compiling

Upgrade installed packages

pacman -Suy --noconfirm

Install basic packets:

pacman -Sy --noconfirm --needed base-devel mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc git mingw-w64-x86_64-meson rsync
@startergo
startergo / Mingw64_here.reg
Created January 4, 2025 01:16
Open Mingw64 terminal right click here
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Mingw64]
@="Open Mingw64 here"
"Icon"="C:\\msys64\\mingw64.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Mingw64\command]
@="C:\\msys64\\mingw64.exe bash"
@startergo
startergo / Snow_Leopard_kextcache.md
Last active June 20, 2025 20:02
Rebuilding mkext caches in Snow Leopard
  • Repair Permissions and run:
sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/ /System/Library/Extensions
@startergo
startergo / cpuid.md
Last active December 26, 2024 18:38
Intel Processors extracted from the Microcode repository of "UEFI BIOS Updater" and sorted by Architecture
  • Intel Processors extracted from the Microcode repository of "UEFI BIOS Updater" and sorted by Architecture
  • 906EA
  • 906EB
  • 906EC
  • 906ED

[Socket 1200]

  • A0650
@startergo
startergo / allow_write.md
Created December 25, 2024 18:01
Allow write access to removable drives not protected by BitLocker

(Deny write access to removable drives not protected by BitLocker) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FVE

RDVDenyWriteAccess DWORD

(delete) = Allow (default)

1 = Deny

0 = Allow