Skip to content

Instantly share code, notes, and snippets.

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 16, 2026 22:31
Conventional Commits Cheatsheet
@Kenny2github
Kenny2github / copy-comment.user.js
Last active August 2, 2020 18:35
Copy Scratch comment links
// ==UserScript==
// @name Comment IDs
// @version 0.1
// @description Get Scratch comment IDs
// @author Kenny2github
// @match https://scratch.mit.edu/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @updateURL https://gist.githubusercontent.com/Kenny2github/a25dff9c52c90d6f062209df43ef0200/raw/copy-comment.user.js
// ==/UserScript==
@osipxd
osipxd / !paper-versions.md
Last active June 9, 2026 18:20
Paper versions links
@BoomerScratch
BoomerScratch / _scratch-view-stepping.user.js
Last active July 7, 2020 22:20
View stepping in Scratch editor
// ==UserScript==
// @name Scratch - view stepping
// @namespace none
// @version 1.1
// @description Allows you to see which block currently executes in the Scratch editor (scratch.mit.edu), which is useful for debugging.
// @author BoomerScratch
// @match https://scratch.mit.edu/projects/*
// @grant none
// @run-at document-start
// @homepageURL https://gist.github.com/BoomerScratch/0592337050810244236d69a4267b3913
// ==UserScript==
// @name Don't Load Project
// @description Do not load project when reading comments
// @author apple502j
// @match https://scratch.mit.edu/projects/*
// ==/UserScript==
// Credit to Florrie
const destroyGUI = () => {
const oldMap = Array.prototype.map;
@devxan
devxan / Scratch-Stats-Link.user.js
Last active June 8, 2021 02:57
Originally from https://github.com/Hans5958/userscripts/blob/master/Scratch/Shorter%20Scratch%20Stats%20Links.user.js. Made better by me. Now with working (hopefully? It doesn't seem too. Userscript developers, please help!) update link and a better name! Make sure to follow me on Scratch if you like it: https://scratch.mit.edu/users/-Xanimation-/
@MeguminSama
MeguminSama / Discord Experiments.js
Last active April 14, 2026 07:37
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";
@devxan
devxan / Free Nitro.md
Last active September 10, 2021 02:14

Free Nitro?!

For education purposes only. All code credit to @retronbv, I just decided to make this gist along with instructions because I wanted to share it with more people and I also thought you might like it. 😄 Click here to view the original console version. This also might be against the Discord TOS, so use at your own risk! ⚠️

Instructions

Select all the code of a version of the bookmarklet and drag that text into your bookmarks bar. Rename it if you would like. In the future you can open up a random website, click this, wait for the nitro to load, and if you didn't receive Nitro then click the bookmarklet again. To open up a new tab of possible Discord Nitro every time you click it, hold the Ctrl key as you press your mouse onto the bookmarklet. This will work even on chromium-based new tab pages! (Clicking the bookmarklet without holding the Ctrl key will not work on chromium-based new

@TheSunCat
TheSunCat / DisblockOrigin.theme.css
Last active March 20, 2026 22:19
Hide all Nitro & Boost upsells in Discord!
/**
* @name Adblock for Discord
* @author TheSunCat and contributors
* @version 1.0.0
* @description We have moved to Codeberg! Follow the link below:
* @source https://codeberg.org/AllPurposeMat/Disblock-Origin
*/
#app-mount::before {
content: "The Disblock Origin theme has moved to Codeberg! Please check https://codeberg.org/AllPurposeMat/Disblock-Origin";
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active May 23, 2026 13:17
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