Skip to content

Instantly share code, notes, and snippets.

@avoidik
avoidik / README.md
Last active October 16, 2026 21:57
Run Windows 11 IoT ARM on Mac M1 or similar

How to run Windows on Mac

We're going to run Windows 11 IoT (ARM) on Mac M1 (ARM) using the native binary translation, thanks to up-to-date version of qemu which has native hardware support.

Prerequisites

Install qemu and required tools (coreutils - we need truncate/gtruncate, dd/gdd CLI tools, samba - to share files between host and guest VM).

$ brew install qemu coreutils samba
@rsms
rsms / macos-distribution.md
Last active October 13, 2026 07:13
macOS distribution โ€” code signing, notarization, quarantine, distribution vehicles
@steven-michaud
steven-michaud / ThirdPartyKexts.md
Last active October 29, 2026 10:55
Running Third Party Kernel Extensions on Virtualization Framework macOS Guest VMs

Running Third Party Kernel Extensions on Virtualization Framework macOS Guest VMs

As of macOS 12 (Monterey), Apple's Virtualization framework has nice support for macOS guest virtual machines, but with severe limitations: For example you can't install a macOS guest on Intel Macs, install guests with newer versions of macOS than the host, copy and paste between the host and the guest, or install third party kernel extensions in the guest. As usual for Apple, the functionality they do support is nicely implemented, but they've left out so much that the result is only marginally useful -- at least compared to

@scyto
scyto / proxmox-tb-net.md
Last active August 24, 2026 02:04
Thunderbolt Networking Setup

๐Ÿ“– This guide has moved

The maintained version now lives at Thunderbolt Networking, part of scyto/homelab-docs.

Questions or troubleshooting? Continue the conversation here โ€” a Q&A discussion where replies thread properly, answers can be marked, and everything is searchable. The 388 comments below stay exactly where they are as an archive.

@scyto
scyto / proxmox.md
Last active November 1, 2026 09:31
my proxmox cluster
@peternguyen93
peternguyen93 / arch_linux_uefi_m1.md
Last active May 8, 2023 20:14
Install ArchLinux ARM64 UEFI boot on Apple Silicon Virtualization.framework

Install ArchLinux UEFI on M1 Virtualization.framework

1. Preparation

  • ISO gentoo aarch64 installation
  • tart a command line to create and run Virtual Machine in command line.

2. Setup

  • Create virtual machine with tart and boot into Gentoo Linux
tart create โ€”linux archlinux
tart run --disk ./install-arm64-minimal-20221218T221711Z.iso archlinux
@Vogtinator
Vogtinator / README.md
Last active September 21, 2026 09:56
Run Win11 on ARM in QEMU

Guide updated to use the official installation .iso from Microsoft, which finally became available in Dec. 2024! For the VHDX disk image based guide check an earlier version of this gist.

When following this guide on a host not capable of aarch64 virtualization, replace -cpu host -accel kvm with -cpu neoverse-n1 (faster to emulate then -cpu max).

  1. Download the installation .iso from https://www.microsoft.com/en-us/software-download/windows11arm64. Win11_24H2_EnglishInternational_Arm64.iso is known to work.
  2. Download the the latest virtio-win.iso from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/.
  3. Create a disk image for the Windows installation, e.g. qemu-img create -f qcow2 win11.qcow2 80G
  4. Start the installation with generic (ramfb for display, usb-storage for .isos) as well as virtio (virtio-gpu-pci, virtio-block) devices: `qemu-system-aarch64 -M virt -cpu host -accel kvm -m 4G -smp 4 -device ramfb -device virtio-gpu-pci -bios /usr/share/qemu/qemu-uefi-a
@ethankhall
ethankhall / Dockerfile
Last active June 4, 2023 09:43
Sorbet Linux-ARM build
# syntax=docker/dockerfile:1.4
FROM gusto/ruby:2.7.6-ubuntu20.04 as build
ARG GIT_TAG=0.5.10458.20220926130158-4007ec60a
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN <<END_OF_RUN
set -ex
apt-get update
apt-get install -y software-properties-common
@astreknet
astreknet / OpenBSD_on_Apple_M2_QEMU.md
Last active October 25, 2024 21:27
OpenBSD on Apple M2 with QEMU

OpenBSD on Apple M2 with QEMU

Minimalist installation of OpenBSD on the Apple M2 using QEMU

Ingredients

Installation

  1. install QEMU with Homebrew brew install qemu, also possible with MacPorts
  2. Write a script with execute permissions chmod +x qemu_aarch64_install_openbsd.sh for installing the image.
@wabrit
wabrit / GraphQLPactV3.ts
Created June 24, 2022 14:06
POC for GraphQL DSL for Pact-JS V3
import {
MatchersV3,
PactV3,
PactV3Options,
V3Request,
V3Response,
GraphQLVariables
} from '@pact-foundation/pact';
import { gql } from '@apollo/client/core';
import { ASTNode, print } from 'graphql';