Skip to content

Instantly share code, notes, and snippets.

@NtTestAlert
NtTestAlert / decode.ts
Created March 21, 2023 01:22
IntelliJ Forgotten master key
// @ts-expect-error
import * as dpapi from 'win-dpapi';
import crypto from 'node:crypto';
import fs from 'node:fs/promises';
function rot13(txt:string) {
return txt.replace(/[a-z]/gi, c =>
"NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm"
[ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".indexOf(c) ] );
}
@NtTestAlert
NtTestAlert / ParsecHide.ahk
Created December 23, 2022 23:44
[AHK] Parsec dual cursor fix
;based on:
;https://www.autohotkey.com/boards/viewtopic.php?f=6&t=37781
;https://www.autohotkey.com/boards/viewtopic.php?t=51265
#Persistent
;-------------------------------------------------------------------------------
show_Mouse(bShow := True) { ; show/hide the mouse cursor
;-------------------------------------------------------------------------------
; WINAPI: SystemParametersInfo, CreateCursor, CopyImage, SetSystemCursor