Skip to content

Instantly share code, notes, and snippets.

@startergo
startergo / 0001-DO-NOT-MERGE-venus-hack-to-align-mappings-to-16KiB.patch
Last active January 12, 2026 12:33 — forked from osy/ README.md
QEMU on Apple Silicon with Vulkan support
From 179f6f22addfcaa8582a9dd47bfbfc9d299b250a Mon Sep 17 00:00:00 2001
From: osy <osy@turing.llc>
Date: Mon, 1 Dec 2025 23:15:06 -0800
Subject: [PATCH 1/2] DO NOT MERGE: venus: hack to align mappings to 16KiB
---
src/virtio/vulkan/vn_renderer_virtgpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/virtio/vulkan/vn_renderer_virtgpu.c b/src/virtio/vulkan/vn_renderer_virtgpu.c
@startergo
startergo / force_cancel.md
Created January 8, 2026 17:53
Force cancel a GitHub Actions workflow
  • To force cancel a GitHub Actions workflow run: Using gh CLI (easier):
gh api -X POST \
  repos/OWNER/REPO/actions/runs/RUN_ID/force-cancel

i.e.

gh api -X POST \
 -H "Accept: application/vnd.github+json" \
@startergo
startergo / llvm_homebrew_mojave.md
Last active January 1, 2026 21:35 — forked from loradd/llvm_homebrew_mojave.md
LLVM Installation on MacOS Mojave using Homebrew

Installing LLVM on MacOS Mojave using Homebrew

This guide illustrates the steps required to install the latest version of LLVM on MacOS Mojave using Homebrew.

1) Install Homebrew In order to install Homebrew, simply open a terminal instance and paste the following command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@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 sl@slqemu.local:/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 / 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