Skip to content

Instantly share code, notes, and snippets.

@startergo
startergo / opencore.md
Last active November 16, 2025 14:50
Copy OpenCore's config.plist from a Snow Leopard VM for editing.
  • Copy the file:
scp -o HostKeyAlgorithms=+ssh-rsa,ssh-dss -o PubkeyAcceptedAlgorithms=+ssh-rsa -i vm-ssh-key [email protected]:/Volumes/EFI-LEGACY/EFI/OC/config.plist /tmp/config.plist
  • Edit it locally to add io=0xff
/usr/libexec/PlistBuddy -c "Set :NVRAM:Add:7C436110-AB2A-4BBB-A880-FE41995C9F82:boot-args '-v keepsyms=1 debug=0x12a vsmcgen=1 msgbuf=1048576 serial=5 io=0xff'" /tmp/config.plist
  • Copy it back to the VM:
@startergo
startergo / # qemu-3dfx - 2025-10-14_08-49-03.txt
Created October 14, 2025 16:32
qemu-3dfx (qemu-3dfx) on macOS 15 - Homebrew build logs
Homebrew build logs for qemu-3dfx on macOS 15
Build date: 2025-10-14 08:49:03
@startergo
startergo / GitHub_notification_delete.md
Created October 4, 2025 14:11
Delete unread notification in Github

Get notifications, look for the ID of the spam notification

gh api notification
[
  {
    "id": "19145803528",
    "unread": true,
    "reason": "mention",
    "updated_at": "2025-09-24T00:59:07Z",
@startergo
startergo / Readme.md
Last active September 6, 2025 15:31
SSH in macOS Recovery mode

macOS Recovery Mode SSH Setup

This repository contains tools and scripts to enable SSH access in macOS Recovery Mode for remote system recovery and administration.

🚀 Quick Start

Automated Setup (Recommended)

In Recovery Mode, you typically run as root by default. Simply execute:

@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