Skip to content

Instantly share code, notes, and snippets.

View Absolucy's full-sized avatar
👀
looking for a job

Lucy Absolucy

👀
looking for a job
View GitHub Profile
@slimlime
slimlime / uupdump ConvertConfig.ini explained.md
Created October 8, 2022 22:45
uupdump ConvertConfig.ini explained (convert-UUP, AutoStart, AddUpdates, Cleanup, ResetBase, NetFx3, StartVirtual, wim2esd, wim2swm, SkipISO, SkipWinRE, LCUwinre, UpdtBootFiles, ForceDism, RefESD, SkipEdge, AutoExit, Store_Apps, SkipApps, AppsLevel, CustomList, create_virtual_editions, vAutoStart, vDeleteSource, vPreserve, vwim2esd, vwim2swm, vS…

note: some of the information is posted in comments,
if you'll fork this gist, you'll loose that information,
it is best to just bookmark this one..

WIM

WIM (ESD,SWM) is an image of an OS file system,
it can be mounted, and modified (to some degree) .
there are two possible ways, through DISM or through mounting it directly through an older way, using a driver named imagex (Windows Imaging Utility).
regardless,

terminology

@slavistan
slavistan / cuda-ready-archlinux-for-wsl2.md
Last active January 5, 2025 18:14
CUDA-ready Archlinux for WSL2

This is a brief guide on how to install Archlinux as a WSL2 distribution and how to set up CUDA afterwards.

As of late, Window's WSL2 offers GPU passthrough from WSL2/Linux to Windows for NVidia graphics cards which allows to run (and develop) CUDA-based applications on the WSL2/Linux-side with almost native performance. Unfortunately, the official guides for the CUDA setup for WSL2/Linux are predominantly Ubuntu-specific. Here's to you, Arch!

1. Install Archlinux

  1. Make sure that your Windows meets the dependencies and that your WSL2 is set up. See these instructions.

Archlinux is not among the default distributions available for WSL2. We'll install it from a tarball instead, a functionality offered natively by the WSL.

@Absolucy
Absolucy / lib_rs_fixer.js
Last active July 8, 2020 19:21
A userscript to fix lib.rs's titles to respect snake_case.
// ==UserScript==
// @name lib_rs_fixer
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Fixes lib.rs disrespecting snake_case crate names.
// @author aspen <[email protected]>
// @match https://lib.rs/crates/*
// @grant none
// @require https://code.jquery.com/jquery-3.x-git.slim.min.js
// ==/UserScript==
@coolstar
coolstar / libblackjack.h
Last active October 10, 2022 10:56
libhooker/libblackjack headers
//
// libblackjack.h
// libblackjack
//
// Created by CoolStar on 2/24/20.
// Copyright © 2020 CoolStar. All rights reserved.
//
#include "libhooker.h"
@pixeljellyfish
pixeljellyfish / cloudSettings
Last active May 30, 2021 11:59
Visual Studio code settings
{"lastUpload":"2021-05-30T11:59:06.313Z","extensionVersion":"v3.4.3"}
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
// // https://twitter.com/settings/your_twitter_data/twitter_interests
// Lots of discussion and improvement of the original script in the comments
// Here's the best version that works well
// Because Twitter stops the script working after unchecking 50 interests, so you will almost certainly have to run the script multiple times
function sleep(milliseconds) {
return new Promise(function (resolve) {
return setTimeout(resolve, milliseconds);
});
@andrewwiik
andrewwiik / docs.md
Last active March 14, 2022 10:41
Packix DRM API

Packix DRM API

Packix now has a DRM API that tweak developers can hit from their servers to verify purchases for DRM reasons. You will need to send the package identifier (com.author.tweakname thing), device UDID, device Model (like iPhone7,2) and a developer access key you have generated in the Packix Developer Portal under "Developer->Keys". You should always use your server as an inbetween with the packix DRM API as to not reveal your developer access key that you generated.

The endpoint is:

POST https://repo.packix.com/api/drm/check: Get Information on whether the UDID and Device Model own the package

Request