Skip to content

Instantly share code, notes, and snippets.

View byquanton's full-sized avatar

byquanton byquanton

  • localhost
View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active June 17, 2024 00:37
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

Float precision

Source:

double x = 0.2F;

Fernflower:

double x = 0.20000000298023224D;
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active June 7, 2024 18:40
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

@nemanjan00
nemanjan00 / README.md
Last active January 19, 2024 11:19
Disabling Android Setup wizard

Disabling Android Setup wizard

To disable setup wizard:

mv /system/priv-app/SetupWizard/SetupWizard.apk /system/priv-app/SetupWizard/SetupWizard.apk.bkp

To make device think setup is done:

@Minikloon
Minikloon / Definition
Created July 24, 2019 01:54
Slime World Format
“Blob” file format
2 bytes - magic = 0xB10B
1 byte (ubyte) - version, current = 0x03
2 bytes (short) - xPos of chunk lowest x & lowest z
2 bytes (short) - zPos
2 bytes (ushort) - width
2 bytes (ushort) - depth
[depends] - chunk bitmask
-> each chunk is 1 bit: 0 if all air (missing), 1 if present
-> chunks are ordered zx, meaning
@ramcq
ramcq / edu.mit.scratch.ScratchDesktop.json
Created April 10, 2019 00:52
Flatpak manifest for Scratch Desktop 3.0
{
"app-id": "edu.mit.scratch.ScratchDesktop",
"runtime": "org.freedesktop.Platform",
"runtime-version": "18.08",
"base": "org.electronjs.Electron2.BaseApp",
"base-version": "18.08",
"sdk": "org.freedesktop.Sdk",
"command": "scratch-desktop",
"separate-locales": false,
"finish-args": [
@lyshie
lyshie / config-deb-i386.json
Last active June 1, 2024 22:01
Scratch Desktop (Scratch 3.0 Offline Editor) on GNU/Linux
{
"src": "/tmp/scratch-desktop/",
"dest": "/tmp/",
"arch": "i386",
"icon": "/tmp/scratch-desktop/resources/Icon.png",
"categories": [
"Education"
]
}
/*****************
* cellBlockA.js *
*****************
*
* Good morning, Dr. Eval.
*
* It wasn't easy, but I've managed to get your computer down
* to you. This system might be unfamiliar, but the underlying
* code is still JavaScript. Just like we predicted.
*
@mindprint
mindprint / social-networks-colors.scss
Created December 6, 2018 10:05
Social Networks Colours
$facebook: #3b5998;
$twitter: #1da1f2;
$youtube: #ff0000;
$instagrammagenta: #c32aa3;
$instagramblue: #4c5fd7;
$instagrampurple: #7232bd;
$instagramorange: #f46f30;
$instagramyellow: #ffdc7d;
$googleblue: #4285f4;
$googlered: #ea4335;
@varqox
varqox / install_debian_with_debootstrap_howto.md
Last active June 14, 2024 02:58
Instructions how to install Debian using debootstrap