This guide explains how to create, mount, and maintain a VHDX drive for use with WSL (Windows Subsystem for Linux).
- Windows 10/11 with WSL2 installed
- Administrative access
- PowerShell
- Sufficient disk space
| /* | |
| most of this code was reverse engineered from PidGen.dll, with hashes: | |
| MD5: 3e275cb6c964ad9e3bffa3f37e1eef1e | |
| SHA-1: 325d4bc9b603075ba96c48bfaf31588cb57026c6 | |
| SHA-256: 62361c9b86f7899d736986829d7a8529573e030c6656f04f3244f3b792a6b291 | |
| how to debug: | |
| * ensure Halo is not installed OR temporarily rename the following registry key: | |
| HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft Games\Halo | |
| * run the Halo CE installer off the CD |
GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.
For more information, visit our search help section.
0x8545: Original 84 -> 850x08FF19: Original 75 -> EB0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)| /* | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| * GNU General Public License for more details. |
| @echo off | |
| SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f | |
| @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f | |
| @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f |
| /* Generic Min/Max Binary Heap | |
| * for /r/javaexamples | |
| * | |
| */ | |
| import java.util.Arrays; | |
| @SuppressWarnings("unchecked") | |
| /** | |
| * Creates an array-based binary heap. Defaults to 'min' (Priority Queue) |
| // Language is OpenGL ES, but gist.github.com doesn't know that language | |
| // | |
| // Approximation is based on multiply/accumulate, because thats the only | |
| // thing Videocore can do quickly! | |
| precision highp float; | |
| float sinf(float x) | |
| { | |
| x*=0.159155; |
| package main | |
| import "io" | |
| import "os" | |
| import "fmt" | |
| import "encoding/hex" | |
| import "crypto/sha256" | |
| import "path" | |
| import "strings" |