Skip to content

Instantly share code, notes, and snippets.

View twisted-nematic57's full-sized avatar
๐Ÿ“
on the grind

twisted-nematic57

๐Ÿ“
on the grind
View GitHub Profile
@twisted-nematic57
twisted-nematic57 / hztest1.cpp
Last active December 8, 2022 19:31
A simple Hex-Zip test
//Recursive division test by HackerDaGreat57
#include <iostream>
int main()
{
std::cout << "Please enter a number: ";
unsigned long long int input_num;
std::cin >> input_num;
std::cout << "Recieved number " << input_num << ". Now seeing what it's divisible by..." << std::endl;
@twisted-nematic57
twisted-nematic57 / darkpdf.css
Created February 19, 2023 01:44
Paste this into your console to make PDFs dark mode! (this also inverts the color of images) Works best on Firefox
viewer.style = 'filter: grayscale(100%) invert(84%) contrast(178%) brightness(82%)'
@artman41
artman41 / build_erlang_remarkable.sh
Created June 20, 2023 22:56
Compile erlang for Remarkable
#!/bin/bash
# This script assume that:
# * You have installed the toolchain in the default location
# * You are using toolchain 3.1.15 for rm11x
set -x
export CC=clang;
export CXX=clang;
@aamiaa
aamiaa / RevertNewLayout.md
Last active August 26, 2025 06:39
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror