Skip to content

Instantly share code, notes, and snippets.

@startergo
startergo / KVM_in_WSL2.md
Last active August 13, 2026 04:40
KVM on WSL2 Windows 11
  • In WSL2 run:
sudo apt update
sudo apt install qemu qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils cpu-checker \
network-manager iptables-persistent linux-headers-generic \
qemu uml-utilities virt-manager git \
wget libguestfs-tools p7zip-full make dmg2img tesseract-ocr \
tesseract-ocr-eng genisoimage vim net-tools screen firewalld libncurses-dev -y
sudo apt install virt-manager
sudo addgroup kvm
@startergo
startergo / How to Download Full MacOS Installers
Last active August 1, 2026 07:07
How to Download Full MacOS Installer from Mac Command Line
// Mac OS Big Sur 11.2.3:
http://swcdn.apple.com/content/downloads/12/32/071-14766-A_Q2H6ELXGVG/zx8saim8tei7fezrmvu4vuab80m0e8a5ll/InstallAssistant.pkg
// Mac OS Catalina 10.15:
https://itunes.apple.com/us/app/macos-catalina/id1466841314?ls=1&mt=12
// Mac OS Mojave 10.14:
https://itunes.apple.com/us/app/macos-mojave/id1398502828?ls=1&mt=12
// Mac OS High Sierra 10.13:
@startergo
startergo / delete_adobe_plugin.md
Last active July 29, 2026 19:26
Run-time error '53': File not found: /Library/Application Support/Adobe/ MACPDFM/MacPDFM.framework/Versions/A/MacPDFM
cd '~/Library/Group Containers/UBF8T346G9.Office/User Content/Startup/' && rm Word/linkCreation.dotm && rm PowerPoint/SaveAsAdobePDF.ppam && rm Excel/SaveAsAdobePDF.xlam && open '/Applications/Microsoft PowerPoint.app' '/Applications/Microsoft Excel.app' 
@startergo
startergo / qemu_whpx.md
Last active July 23, 2026 04:27
Build QEMU with enabled Hyper-v acceleration (WHPX) and Intel acceleration (HAXM) on Windows
@startergo
startergo / Readme.md
Last active June 29, 2026 07:09
Robocopy Helper

Robocopy File Transfer Helper

A user-friendly batch script that simplifies robocopy operations with an interactive interface, advanced exclusion options, and robust error handling.

Features

🚀 Core Functionality

  • Interactive setup - Step-by-step prompts for source and destination
  • Smart destination naming - Automatically creates properly named destination folders
  • Edit options - Modify source, destination, or exclusions at any step
@startergo
startergo / USB-IP.md
Last active June 29, 2026 07:08
USB/IP Windows — Share a Physical USB Device Over the Network

USB/IP Windows — Share a Physical USB Device Over the Network

Share a locally attached USB device (e.g. a license dongle or USB mass storage key) from one Windows machine to another so it appears as a native physical USB device on the remote end.

Stack used:

  • Host side: usbipd-win — shares the USB device over the network
  • Client side: usbip-win2 — attaches the remote USB device as if it were locally plugged in
  • Optional networking: Tailscale — simplifies connectivity across networks and eliminates firewall configuration

@startergo
startergo / snow-leopard-clipboard-sync.md
Last active June 1, 2026 13:32
Snow Leopard Qemu clipboard sync through SSH and Win98 clipboard sync

Clipboard Sync: macOS Host ↔ Snow Leopard VM

SPICE guest tools don't exist for macOS, so this uses SSH + pbcopy/pbpaste instead.

Prerequisites

  • Snow Leopard VM running in UTM (or any virtualizer)
  • Network connectivity between host and VM
  • Know the VM's IP address (ifconfig en0 in Snow Leopard)
@startergo
startergo / Win98Share.command
Last active May 17, 2026 12:23
Win98 QEMU File Sharing (macOS Host)
cat > ~/Win98Share.command << 'SCRIPT'
#!/bin/bash
clear
echo "Win98Share Server"
echo "Shared: ~/shared | URL: http://10.0.2.2:8080"
echo "Ctrl+C to stop"
mkdir -p ~/shared
python3 - << 'EOF'
import http.server, os, mimetypes, zipfile, io
SHARE = os.path.expanduser('~/shared')
@startergo
startergo / qemu-img.md
Last active May 10, 2026 23:33
How to: Use qemu-img command to convert between vmdk, raw, qcow2, vdi, vhd, vhdx formats/disk images (qemu-img create, snapshot, resize etc.)
  • First we need to have qemu installed on the system, for most of Linux systems, we can install “qemu-utils” for Windows we can download QEMU disk image utility from here

  • Other related questions

How to open raw disk from VMware
How to open qcow2 disk from VMware
How to open vdi disk from VMware
How to open raw disk from Hyper-V
How to open qcow2 disk from Hyper-V
How to open vdi disk from Hyper-V
@startergo
startergo / Dockerfile
Last active May 2, 2026 19:53
Building win32 wine libraries
FROM --platform=linux/amd64 archlinux:base-devel
RUN sed -i '/^#\[multilib\]/{N;s/#\[multilib\]\n#Include/\[multilib\]\nInclude/}' /etc/pacman.conf && \
pacman-key --init && \
pacman -Syu --noconfirm --disable-sandbox && \
pacman -S --noconfirm --disable-sandbox \
wget \
mingw-w64-gcc \
mingw-w64-binutils \
mingw-w64-crt \