Skip to content

Instantly share code, notes, and snippets.

View zneix's full-sized avatar
❤️‍🩹
I'm rather inactive.

zneix

❤️‍🩹
I'm rather inactive.
View GitHub Profile
@aamiaa
aamiaa / RevertNewLayout.md
Last active April 29, 2024 21:25
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
@Zbizu
Zbizu / getVariables.lua
Last active December 24, 2023 13:38
get all Lua functions (and globals)
-- usage: just call it in a Lua environment and look for a file called out.txt
-- lists all global variables in a file
function writeAllGlobals()
local file = io.open("out.txt", "w+")
local seen={}
local function dump(t,i)
seen[t]=true
local s={}
@gempir
gempir / filters.md
Last active April 26, 2024 13:32
Chatterino Filter Collection
Filter out every user without color (greynames) 2.0
(!(author.no_color) || flags.system_message || flags.whisper || flags.highlighted || flags.points_redeemed || flags.sub_message)
Filter out every user without color (greynames)
!(author.no_color)
@WiBla
WiBla / README.md
Last active August 11, 2022 15:21
Add YouTube videos to plug.dj without having to search them.

What is this?

It's a script (think of it as mod) for plug.dj which will allow you to add YT (YouTube) videos to your playlists with one button.

Why is this necessary?

Plug.dj is having some trouble with their YT API Key (the thing that allows you to make YT related actions throughout the site, like searching for a song and adding the results to your playlists). Using this script, you will be able to add YT videos to your playlists again, even while plug.dj is dealing with YouTube's support to get this issue fixed.

How to use

@pajlada
pajlada / fruit
Last active July 1, 2020 06:06
fruit
NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏NaM🥝✈🏠🍒🍏
NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅NaM🍇🍉🍊🍎🍏🍒🍋🍓🍈🍅
🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈹🈴🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈹🈴🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈹🈴🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷🈶🈵🈚🈸🈲🈳NaM🈹🈴🈺🈯🈷
@methdev
methdev / discord-youtube-webhook.md
Last active March 20, 2023 06:18
Discord notifications for YouTube uploads using webhooks with Zapier

YouTube to Discord Webhook (using Zapier)

Generate a Discord Webhook

  1. Go to your channel settings and click on the 'Webhooks' tab
  2. Make your webhook and copy the link

Webhook Creation

Register for Zapier

@apaskulin
apaskulin / advanced-formatting-github-markdown.md
Created April 15, 2018 17:49
Tips and tricks for more formatting options in GitHub Markdown

Advanced Formatting in GitHub Markdown

GitHub Flavored Markdown lets you create useful documents in GitHub and GitHub Enterprise using .md files. Like other varieties of markdown, GitHub Markdown tries to be as readable as possible in its raw form, resulting in an intentionally limited set of formatting options. However, these options can feel restrictive when dealing with complex content.

Although GitHub Markdown strips out most HTML tags, here are a few tricks that can give you more flexibility when formatting your documents. These advanced formatting options can make your documents more useable, but they come at the expense of plain text readability, so use with caution.

@heroheman
heroheman / ranger-cheatsheet.md
Last active May 8, 2024 14:38
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@Danktuary
Danktuary / index.js
Last active May 13, 2022 09:43
Raw event reaction add example
const { Client } = require('discord.js');
const client = new Client();
client.on('ready', () => {
console.log('Ready!');
});
const events = {
MESSAGE_REACTION_ADD: 'messageReactionAdd',
MESSAGE_REACTION_REMOVE: 'messageReactionRemove',
@tung
tung / twitch-vod-chat.py
Last active March 10, 2023 10:34
Download chat from a Twitch VOD and print it to a terminal.
#!/usr/bin/env python3
#
# A script to download chat from a Twitch VOD and print it to a terminal.
# Chat will be downloaded all the way until it ends.
#
# Usage: TWITCH_CLIENT_ID=0123456789abcdef0123456789abcde twitch-vod-chat.py [video_id] [start]
#
# This script could break at any time, because Twitch's chat API is
# undocumented and likes to change at any time; in fact, this script was