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 / 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 / macos-distribution.md
Created November 1, 2024 12:02 — forked from rsms/macos-distribution.md
macOS distribution — code signing, notarization, quarantine, distribution vehicles
@startergo
startergo / fix-xcode
Last active June 20, 2025 13:12 — forked from rnapier/fix-xcode
Links Xcode SDK from the ~/SDKs directory (which you maintain yourself)
#!/usr/bin/env python3
# fix-xcode
# Rob Napier <robnapier@gmail.com>
# Script to link in all your old SDKs every time you upgrade Xcode
# Create a directory called ~/SDKs (or modify source_path).
# Under it, put all the platform directories:
# MacOSX.platform iPhoneOS.platform iPhoneSimulator.platform
# Under those, store the SDKs:
@startergo
startergo / change-sdk.sh
Created October 30, 2024 16:11 — forked from bodja/change-sdk.sh
Download MacOSX SDK version and change minimum sdk version in info.plist
SDK_VERSION=$1
SDK_NAME="MacOSX${SDK_VERSION}.sdk"
TAR_FILE_NAME="${SDK_NAME}.tar.xz"
DOWNLOAD_URL="https://github.com/phracker/MacOSX-SDKs/releases/download/MacOSX10.11.sdk/${TAR_FILE_NAME}"
TAR_FILE_DEST="/tmp/${TAR_FILE_NAME}"
SDK_MIN_VERSION_FILE="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist"
SDK_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/"
echo Downloading $SDK_NAME
curl -L $DOWNLOAD_URL -o $TAR_FILE_DEST --progress-bar
@startergo
startergo / Instructions.md
Created October 29, 2024 16:44 — forked from robvanoostenrijk/Instructions.md
Install Mac OS X 10.6 SDK on newer Xcode
@startergo
startergo / kernelcache
Created October 27, 2024 16:15 — forked from krmnn/kernelcache
rebuild OS X kernelcaches from Mavericks upward
kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions
@startergo
startergo / Service KMS
Created June 22, 2024 19:44 — forked from judero01col/Service KMS
Volume License Activation Key Service - KMS
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions
## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato

Disable:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Enable:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

@startergo
startergo / README.en.md
Last active December 26, 2025 17:33 — forked from akihikodaki/README.en.md
Linux Desktop on Apple Silicon in Practice

Linux Desktop on Apple Silicon in Practice

I bought M1 MacBook Air. It is the fastest computer I have, and I have been a GNOME/GNU/Linux user for long time. It is obvious conclusion that I need practical Linux desktop environment on Apple Silicon.

Fortunately, Linux already works on Apple Silicon/M1. But how practical is it?

  • Two native ports exist.