Skip to content

Instantly share code, notes, and snippets.

@mh-firouzjah
mh-firouzjah / better_powershell.md
Last active October 3, 2025 16:01
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 November 10, 2025 01:38
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2025-09-25

@bmaupin
bmaupin / nsui-via-wine.md
Last active August 26, 2025 21:11
Run New Super Ultimate Injector with Wine

Installation

Prerequisites

Install NSUI

@hexdefined
hexdefined / jd-gui.sh
Last active September 8, 2024 15:22
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
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active November 11, 2025 21:23 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.