Skip to content

Instantly share code, notes, and snippets.

View MMK21Hub's full-sized avatar

MMK21 MMK21Hub

  • England (UTC+00:00)
View GitHub Profile
@CarbonGhost
CarbonGhost / a_optifine-alternatives.md
Last active January 22, 2025 21:06
CarbonGhost's recommended OptiFine alternatives

CarbonGhost's OptiFine alternatives

This is my personal list of OptiFine replacements. Although other lists exist, this list aims to be an simple feature replacement list that aims not to overwhelm you.

This list was written with 1.18 and 1.17 in mind, but many mods should still be available for 1.16 and 1.15. The critiques of OptiFine aren't relevant to a specific version of the game.

@Patbox
Patbox / cardboard-not-so-great.md
Last active July 29, 2025 19:42
Why you shouldn't use cardboard, banner or any other "hybrid" server

By looking that you are here you most likely use Cardboard/Banner/some other weird bukkit + Fabric project (or just someone linked to it).

Don't do it, it will cause more harm/instabilities to your server than good. But let's start at the beginning.

Few definitions before we start:

  • Bukkit - It means bukkit, spigot, paper and any forks of these,
  • Cardboard - mod by IsaiahPatton that tries to port bukkit ecosystem to fabric.
  • Banner - another mod trying to make plugins work with Fabric, similar to Cardboard.
  • Fabric - a Minecraft modding platform, includes Fabric Loader and Fabric API, everything written in this gist also applies to Quilt.
  • Mods - Mods designed for fabric and compatible platforms

Ian: Well, hello everyone and welcome to the DDev stage channel. So just the heads up before we get started, we're recording this session. So you don't have to, you still can if you want.

Ian: You can share if your friends missed it afterwards. We'll post it. So, my name is Ian, I'm an engineering manager, and I'm joined here by Mason, the product manager for the Bots and API team at Discord along with pretty much the entire Bots team and about 500 of you.

Ian: And today, we're gonna have some fun. We're gathered here for some updates on some of the latest stuff that engineers on the team are building. And we've narrowed it down to four big changes that we've been cooking up. We've managed to get three Discord engineering staff in here and then there's Mason and together, they will talk through some of the changes that we're making.

Ian: And it's honestly very exciting to me just to be able to straight up present our work to the whole community. This is something that we'd like to do more of earlier. So,

@amishshah
amishshah / discordjs.md
Created October 22, 2021 22:36
tl;dr i'm stepping down as owner of discord.js!

Hello! I'm Amish (also known as hydrabolt), and I am the creator of discord.js.

I created discord.js as a hobby/learning project for myself in August 2015 while I was still a teenager in school.

More than 6 years later, discord.js has become more popular than I could ever imagine, and I cannot express how grateful I am to the other contributors and the community for this amazing experience.

A few of my favourite highlights include:

  • The countless voice rewrites (I think we're done with that now 😉)
  • The April Fools' traditions
// Core assets
let coreAssets = [];
// On install, cache core assets
self.addEventListener('install', function (event) {
// Cache core assets
event.waitUntil(caches.open('app').then(function (cache) {
for (let asset of coreAssets) {
cache.add(new Request(asset));
@MMK21Hub
MMK21Hub / custom.css
Last active April 8, 2022 16:10
Notable Custom CSS: Fixes for the Dracula custom theme in v1.9-beta.2 to v1.9-beta.7
body, html {
--bg-primary: #292a36;
--bg-primary-border: #404154;
--bg-secondary: #21222c;
--bg-secondary-border: #424457 /* --bg-secondary + 15% Lightness */;
--bg-secondary-hover: #2c2d3a /* --bg-secondary + 5% Lightness */;
--bg-secondary-active: #373849 /* --bg-secondary + 10% Lightness */;
--bg-tertiary: #1e1f29;
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active August 19, 2025 09:28
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:

\u001b[{format};{color}m

Password-based Authentication & E2EE

Setup

  • Encryption algorithm: aes-256-gcm
  • Hashing algorithm: sha512
  • Key derivation algorithm: pbkdf2

Signing up

@MMK21Hub
MMK21Hub / notable-custom-css.md
Last active October 4, 2023 16:14
Notable customisation tips and tricks

Tips & Tricks for Notable's Custom CSS

Customising colours

Adjusting the colour of various parts of the UI is a fun way to get started with Custom CSS.

Unfortunately, due to the way that Notable applies its own styles, you have to use !important whenever you want to change the colour of something - this includes background colours. On that note, be sure to use the background-color property over the shorthand background property so that the background colour is overridden correctly.

You may also need to use !important to override some other properties. Use the Styles pane in DevTools to check if that is the case.

⚠️ This guide has moved ⚠️

Updates for both 1.18.2 and newer versions can be found at https://minecraft.wiki/w/Tutorial:Custom_structures

Custom data pack structures in 1.18.2

This guide will showcase how to create a data pack that adds a custom structure to the world. There is also a data pack download of this complete example.

Always leave the world and rejoin to apply the new changes!

Pack.mcmeta