Skip to content

Instantly share code, notes, and snippets.

View onix's full-sized avatar
🚲
Bike Inventor

Vadym Ne. onix

🚲
Bike Inventor
  • Kharkiv, Ukraine
View GitHub Profile
@akshayverma1
akshayverma1 / BootCamp Driver Installation Guide.md
Last active September 7, 2025 22:07
How to get Apple peripherals to work on a Windows PC

How to get Apple peripherals to work on a Windows PC

Published: 8 February, 2024

This guide will help you get your Apple Studio Display, ProDisplay XDR, Magic Keyboard, Magic Mouse, Magic Trackpad, etc. to work with a Windows 11 PC that doesn’t have native support for BootCamp. I wrote this guide because most methods that I could find elsewhere were either out of date, had sketchy download links, had compatibility issues with Windows 11 version 23H2, didn't support Windows Precision Touchpad, didn’t support all the modules in the BootCamp app, or didn’t explain how to get the most up to date Apple official drivers.

Please note that to get Apple displays to work will require either a thunderbolt output from your graphics card or the right DisplayPort to USB-C cable. Please refer to other guides elsewhere to find out what hardware you’ll need.


Preliminary installation

@hyperupcall
hyperupcall / settings.jsonc
Last active October 11, 2025 12:44
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@kconner
kconner / macOS Internals.md
Last active October 21, 2025 15:03
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@robsteriam
robsteriam / az104studymaterials.md
Last active October 6, 2025 12:56
AZ-104 Study Materials Compilation
// by dave @beesandbombs
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
@rudolfschmidt
rudolfschmidt / free-3-letter-domains.sh
Created June 2, 2020 21:04
Check Free 3 Letter Domains
#!/usr/bin/env bash
array=( a b c d e f g h i j k l m n o p q r s t u v w x y z )
for a in "${array[@]}"
do
for b in "${array[@]}"
do
for c in "${array[@]}"
do
@beesandbombs
beesandbombs / sineShine.pde
Created January 21, 2020 01:14
sine shine
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
if (p < 0.5)
return 0.5 * pow(2*p, g);
@ChrisPenner
ChrisPenner / Optics Cheatsheet.md
Last active August 12, 2025 12:57
Optics Cheatsheet
// "donut strings" by davey @beesandbombs
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
@mattifestation
mattifestation / ExpandDefenderSig.ps1
Created March 28, 2019 20:17
Decompresses Windows Defender AV signatures for exploration purposes
filter Expand-DefenderAVSignatureDB {
<#
.SYNOPSIS
Decompresses a Windows Defender AV signature database (.VDM file).
.DESCRIPTION
Expand-DefenderAVSignatureDB extracts a Windows Defender AV signature database (.VDM file). This function was developed by reversing mpengine.dll and with the help of Tavis Ormandy and his LoadLibrary project (https://github.com/taviso/loadlibrary). Note: Currently, "scrambled" databases are not supported although, I have yet to encounter a scrambled database. Thus far, all databases I've encountered are zlib-compressed.