You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🌸
*dramatic bongos*
nullicorn
TheNullicorn
🌸
*dramatic bongos*
Wrapped in a blanket ball, writing gibberish
//
Properly confused 💖💜💙
Enabling virtual printers in OpenFL PreForm 2.3.3 (Debug Mode)
It turns out OpenFL PreForm 2.3.3 does actually support virtual printers for the Form 1, Form 1+ and Form 2, which allows dumping a print’s .flp files to a local directory.
It is unfortunately disabled in the public build, but it is relatively simple to enable by editing PreForm.exe in a hex editor.
Notes:
This is specifically for the OpenFL 2.3.3 release of PreForm for Windows, found on the OpenFL GitHub page
Make a backup of PreForm.exe! exe files are extremely sensitive to edits, and if done incorrectly PreForm will crash when opened. If that happens, delete the edited PreForm.exe and replace it with your backup copy with the same name! Alternatively, reinstalling PreForm should overwrite the broken copy
Visit the above URL in a browser and log in. You'll be redirected to a blank page. The new URL in the address bar contains a Microsoft Live access token for your account, which is required for Xbox Live authentication.
I've just been pasting them into this CyberChef recipe while testing to get the access_token part out quickly.
Kotlin utility for reversing the order of bits in an Int
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kotlin's implementations of the algorithms described by Ross N. Williams in his paper, "A Painless
Guide to CRC Error Detection Algorithms". See below for a link.
This gist exists solely for the purpose of archive as I learn about CRC algorithms, and I wouldn't
recommend these implementations in practice due to my unfamiliarity with them at the time of writing
this.
Attributions 💞
Ross N. Williams: ["A Painless Guide to CRC Error Detection Algorithms"][ross_original]
A simple example of a Discord bot which returns the current Hypixel player count in an embed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Various utilities for converting to and from "trimmed" UUIDs (UUID strings without hyphens)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters