Skip to content

Instantly share code, notes, and snippets.

View JovannMC's full-sized avatar
💭
working on random stuff

Maya JovannMC

💭
working on random stuff
View GitHub Profile
@lunginspector
lunginspector / iosdevicecolor.md
Last active December 9, 2024 14:45
How to change trick an iOS device into thinking it has a different enclosure color

How to change trick an iOS device into thinking it has a different enclosure color

Notice: I am not responsible if you mess something up. Do this at your own risk.

This is NOT a tutorial. This just shows what needs to be edited in MobileGestalt for this to work.

The Keys

  • DeviceEnclosureColor - JhEU414EIaDvAz8ki5DSqw
  • DeviceColor - mumHZHMLEfAuTkkd28fHlQ

Important Notice: These keys are already in MobileGestalt, so you do not need to add them.

@aamiaa
aamiaa / RevertNewLayout.md
Last active March 2, 2025 16:04
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
/* The world's smallest Brainfuck interpreter in C, by Kang Seonghoon
* http://j.mearie.org/post/1181041789/brainfuck-interpreter-in-2-lines-of-c */
s[99],*r=s,*d,c;main(a,b){char*v=1[d=b];for(;c=*v++%93;)for(b=c&2,b=c%7?a&&(c&17
?c&1?(*r+=b-1):(r+=b-1):syscall(4-!b,b,r,1),0):v;b&&c|a**r;v=d)main(!c,&a);d=v;}