Skip to content

Instantly share code, notes, and snippets.

View MMK21Hub's full-sized avatar

MMK21 MMK21Hub

  • England (UTC+00:00)
View GitHub Profile
@paolocarrasco
paolocarrasco / README.md
Last active July 11, 2025 09:57
How to understand the `gpg failed to sign the data` problem in git

Problem

You have installed GPG, then tried to commit and suddenly you see this error message after it:

error: gpg failed to sign the data
fatal: failed to write commit object

Debug

@scragly
scragly / discord_emoji.md
Last active May 27, 2025 03:00
Emoji for Discord Bots

Discord Emoji

Note: This is written for those using Python 3 and discord.py, so if you're using something else please reference the relevant documentation for your language or library if you choose to use this as a general reference.

On Discord, there are two different emoji types:

Each needs to be handled differently, as while unicode emoji are just simple unicode characters, Discord custom emoji are special objects available only in Discord, belonging to a specific Discord guild and having their own snowflake ID.

net.minecraft
net/minecraft/client/util/math/Quaternion (a)
net/minecraft/client/util/math/Vector3f (b)
net/minecraft/ChatFormat (c)
net/minecraft/util/crash/CrashReport (d)
net/minecraft/util/crash/CrashReportSection (e)
net/minecraft/util/crash/CrashCallable (f)
net/minecraft/util/UncaughtExceptionLogger (g)
net/minecraft/util/UncaughtExceptionHandler (h)
net/minecraft/MinecraftVersion (i)
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active August 20, 2025 08:07
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@RyanGreenup
RyanGreenup / NotableCustomCss.md
Last active February 7, 2022 16:17
Implementing Custom and Persistent CSS for Notable

Custom CSS in Notable

Tue 21 Jan 2020 08:20:34 PM

Custom CSS can be used in Notable by using the ! important specification in the CSS.

First download and extract the .AppImage with: [^1]

wget https://github.com/notable/notable/releases/download/v1.8.3/Notable-1.8.3.AppImage
chmod +x ./Notable-1.8.3.AppImage
@advaith1
advaith1 / top bots.md
Last active August 20, 2025 22:33
The top Discord bots ranked by server count
Rank Bot Approximate Server Count Library
1 MEE6 21,300,000 Custom Python
2 Rythm 14,900,000 JDA
3 carl-bot 🅱️ 12,100,000 Pycord
4 Dyno 10,600,000 Eris
5 Midjourney Bot
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active August 5, 2025 13:20
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?

@MMK21Hub
MMK21Hub / vt-datapacks.md
Last active August 4, 2020 18:11
The latest version of all VT datapacks. [Unofficial] https://vanillatweaks.net/picker/datapacks/
@tathamoddie
tathamoddie / demo2.yaml
Created August 30, 2020 05:23
ESPHome demo config for M5Stack Atom Lite
substitutions:
device_name: demo2
friendly_name: Demo 2
## Boilerplate
esphome:
name: ${device_name}
platform: ESP32
board: m5stack-core-esp32
@MeguminSama
MeguminSama / Discord Experiments.js
Last active July 18, 2025 05:34
Discord Experiments.js
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]);
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default;
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes);
var user = UserStore.getCurrentUser();
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [],
});
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN();
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done";