Skip to content

Instantly share code, notes, and snippets.

@timothyham
timothyham / ipv6guide.md
Last active July 20, 2026 18:26
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

@velzie
velzie / manifest-v2-chrome.md
Last active July 20, 2026 13:46
How to keep using adblockers on chrome and chromium

NOTE

by the time you're reading this, this probably no longer works since the policy has been removed. I reccomend you to check out https://github.com/r58Playz/uBlock-mv3 instead

How to keep using adblockers on chrome and chromium

  1. google's manifest v3 has no analouge to the webRequestBlocking API, which is neccesary for (effective) adblockers to work
  2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether
  3. this will inevitably piss of enterprises when their extensions don't work, so the ExtensionManifestV2Availability key was added and will presumably stay forever after enterprises complain enough

You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working

@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
@yuk7
yuk7 / my-macos-setup.sh
Created May 16, 2024 09:23
MacOS Setup
#!/bin/bash
# F**k Gatekeeper
sudo spctl —master-disable
# Enable Legacy Camera Plugin (Recovery only)
system-override legacy-camera-plugins-without-sw-camera-indication=on
# Set PATH for Finder & Dock
sudo launchctl config user path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/homebrew/bin
@rsms
rsms / macos-distribution.md
Last active April 15, 2026 12:15
macOS distribution — code signing, notarization, quarantine, distribution vehicles
@hym3242
hym3242 / macos_interesting_tools.md
Last active June 23, 2026 10:31
macOS interesting tools

macOS interesting tools

many are discovered by scouring the manpages apropos -s 1/8/? .

  • nettop
  • nscurl
  • (arp)
  • textutil
  • wish, tcl/tk etc.
  • last
@kitschpatrol
kitschpatrol / apple-photos-export.applescript
Last active December 9, 2024 10:10
AppleScript to automate image export from Apple Photos
-- Export images from Photos via automated GUI manipulation
-- It's an unsavory approach, but no other means of automation seems to yield higher quality edited image exports (so far)
-- Arguments are passed in their order of appearance in the GUI, and expect values exactly matching the UI strings in Photos.app
-- Accepts an individual photo UUID, or an album UUID (use osxphotos query to look up UUIDs)
on run { uuid, exportDirectory, photoKind, jpegQuality, tiffBitDepth, colorProfile, photoSize, maxSizeType, maxSizeValue, includeMetadata, includeLocation , fileName, sequentialPrefix, subfolderFormat}
tell application "System Events"
set wasRunning to (name of processes) contains "Photos"
end tell
@DJStompZone
DJStompZone / README.md
Created April 21, 2024 18:22
Running Macos Sonoma VM on Linux

Quickstart Guide for macOS Sonoma VM on Linux using QEMU/KVM

Prerequisites

  • Modern Linux distribution (e.g., Ubuntu 22.04 LTS or later)

  • CPU with Intel VT-x / AMD SVM support

  • Install necessary packages:

@usagimaru
usagimaru / HiddenMacOSDebuggingPanel.md
Last active July 6, 2026 15:06
Enables useful debugging panel in macOS apps

Use _NS_4445425547 or NS🐞 for enables debuggging panel. When enabled it, a ladybug 🐞 menu appears in the app menu bar.

“4445425547” means DEBUG in Unicode table.

0x44=D
0x45=E
0x42=B
0x55=U
0x47=G

@p-mng
p-mng / README.md
Last active July 22, 2026 13:58
Uninstall Rosetta 2 on macOS

Uninstall Rosetta 2 on macOS

1. Disable SIP (System Integrity Protection)

  1. Boot into recovery
  2. Open a terminal (Utilities > Terminal)
  3. Disable SIP using csrutil disable (confirm the prompt with y)
  4. Reboot into macOS

2. Uninstall Rosetta