Skip to content

Instantly share code, notes, and snippets.

View Lamby777's full-sized avatar
😼
haiiiiiii ^w^

&Cherry Lamby777

😼
haiiiiiii ^w^
View GitHub Profile
@Lamby777
Lamby777 / RevertUI.md
Created December 10, 2023 22:32 — forked from Xeukxz/RevertUI.md
Revert Discord UI

Revert Mobile Discord UI

The following code sends a patch request to discord which disables the new UI, this must be done via the the web/desktop client

Paste the following code into the developer console:

let headers = new Headers();
headers.append("Authorization", (webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken());
headers.append("Content-Type", "application/json");
fetch("https://discord.com/api/v9/users/@me/settings-proto/1", {
 method: "PATCH",
@Lamby777
Lamby777 / smurf.c
Created December 2, 2023 05:19 — forked from jpignata/smurf.c
/*
*
* $Id smurf.c,v 4.0 1997/10/11 13:02:42 EST tfreak Exp $
*
* spoofs icmp packets from a host to various broadcast addresses resulting
* in multiple replies to that host from a single packet.
*
* mad head to:
* nyt, soldier, autopsy, legendnet, #c0de, irq for being my guinea pig,
* MissSatan for swallowing, napster for pimping my sister, the guy that
@Lamby777
Lamby777 / Makefile
Created June 7, 2023 01:45 — forked from ttencate/Makefile
The best Makefile ever
ifeq ($(MAKECMDGOALS),me a sandwich)
.PHONY: me a sandwich
me a:
@true
sandwich:
@if [[ $$(id -u) == "0" ]]; then \
echo "Okay."; \
else \
echo "What? Make it yourself."; \
false; \