Skip to content

Instantly share code, notes, and snippets.

@davy-tw
davy-tw / 00-README.md
Last active August 17, 2021 06:48
Open GitHub in VS Code Remote Repository without cloning repo

Open GitHub repo with VSCode Remote Repository

How to use

Configuration

@mh-firouzjah
mh-firouzjah / better_powershell.md
Last active February 26, 2026 10:27
how to add zsh-like theme and feature to windows powershell

Better PowerShell

Theme | History | KeyBinding

MyPowershell

in order to make windows powershell more comfortable and add a some theme and features like history binding, auto complete on keypress and so on, if you have used linux teminl wiht zsh for example, we are going to make powershell like that as much as we can.

What we will achieve

@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active March 29, 2026 13:43
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2026-02-08

@bmaupin
bmaupin / nsui-via-wine.md
Last active December 22, 2025 22:55
Run New Super Ultimate Injector with Wine

Installation

Prerequisites

Install NSUI

@hexdefined
hexdefined / jd-gui.sh
Last active December 29, 2025 20:15
Patch JD-GUI to use a dark theme
sed -i '/<lookAndFeel>/{s/javax\.swing\.plaf\.metal\.MetalLookAndFeel/com\.bulenkov\.darcula\.DarculaLaf/}' ~/.config/jd-gui.cfg
java -Dhidpi -Dswing.aatext=true -Dawt.useSystemAAFontSettings=on -jar jd-gui-mod.jar
<?php
//movable.sed_bak is the movable of the old/source 3ds extracted from a backup or wherever
$fileContentOriginal = file_get_contents('movable.sed');
$keyYOriginal = substr($fileContentOriginal, 0x110, 16);
//id0 of the new system that you want to find keyY for
$targetId0 = "ID0 here";
function getId0($keyY) {
$sha = hex2bin(hash("sha256", $keyY));
@LukeZGD
LukeZGD / NekoparaExtraction.md
Last active October 25, 2025 08:13
Nekopara Data Extraction for Vol. 1, 0, 2, 3, 4, and Extra

Nekopara Data Extraction for Vol. 1, 0, 2, 3, 4, and Extra

  • This guide can also be used in other VNs that have the Kirikiri/CatSystem2 engine

Tools Needed:

@n-ts
n-ts / worker.js
Created October 3, 2018 20:21
Cloudflare Workers - Load balancing to nearest datacenter from current POP
/*
--------------------------------------------------------
Please note that this grouping is just for example...
You can rearrange POPs, remove or add dacaneters according to your needs.
--------------------------------------------------------
First, we have to get all Cloudflare POP codes (three letter airport codes) from https://www.cloudflarestatus.com/
North America is routed to Chigaco datacenter;
Europe, Africa and Middle East is routed to Amsterdam datacenter;
@haroldcris
haroldcris / ConvertWinServer2016ToStandard
Created November 5, 2017 15:49
Convert WIndows Server 2016 Evaluation to Standard
dism /online /set-edition:ServerStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula
---------------------------------------------------------------------------------------------------
The product key that is used here is the KMS key for Windows Server 2016 Standard Edition.
Reboot the server (it will reboot twice!).
Checking winver.exe:
03-windows-server-2016-eval-to-licensed