Skip to content

Instantly share code, notes, and snippets.

@avoidik
avoidik / README.md
Last active October 7, 2025 19:07
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 31, 2025 06:37
macOS distribution — code signing, notarization, quarantine, distribution vehicles
@steven-michaud
steven-michaud / ThirdPartyKexts.md
Last active December 7, 2025 19:16
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 December 7, 2025 18:38
Thunderbolt Networking Setup

Thunderbolt Networking

this gist is part of this series

you wil need proxmox kernel 6.2.16-14-pve or higher.

Load Kernel Modules

  • add thunderbolt and thunderbolt-net kernel modules (this must be done all nodes - yes i know it can sometimes work withoutm but the thuderbolt-net one has interesting behaviou' so do as i say - add both ;-)
    1. nano /etc/modules add modules at bottom of file, one on each line
  1. save using x then y then enter
@scyto
scyto / proxmox.md
Last active November 26, 2025 09:15
my proxmox cluster

ProxMox Cluster - Soup-to-Nutz

aka what i did to get from nothing to done.

note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV

Purpose of Proxmox cluster project

Required Outomces of cluster project

@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 December 3, 2025 14:52
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';