Skip to content

Instantly share code, notes, and snippets.

View meowabyte's full-sized avatar

meowabyte meowabyte

View GitHub Profile
@meowabyte
meowabyte / 1-PATCH-README.md
Last active December 6, 2025 19:57
(PYLANCE/C++/...) Patch Microsoft extensions not working on VSCode Forks (VSCodium / Cursor / etc.)

Patcher for Microsoft Extensions

This script works for patching any Microsoft VSCode extension so it will work on it's forks including:

  • VSCodium
  • Cursor
  • Windsurf

This discussion motivated me to make this simple script: VSCodium#1641
Currently tested only on Pylance/VSCodium but as long as it's Microsoft's extension that blocks VSCode forks, it should be fine. The code uses fairly generic patterns to ensure it's cross-compatible with other extensions than the one I tested!

@meowabyte
meowabyte / prepare_messages.js
Created October 26, 2025 21:00
Simple script for preparing "CHANNEL_ID/MESSAGE_ID" formatted file out of Discord package. Just for support removal purposes
import { readdirSync, readFileSync, writeFileSync } from "fs"
const channelIds = (() => {
const files = readdirSync("Messages", { withFileTypes: true })
.filter(x => x.isDirectory() && x.name.startsWith("c"))
return files.map(x => x.name.slice(1))
})()
const messages = channelIds.reduce((acc, id) => {
@mary-ext
mary-ext / bluesky-osa.md
Last active December 6, 2025 09:27
Bluesky's age assurance sucks, here's how to work around it.

Bluesky's age assurance sucks, here's how to work around it.

Bluesky has implemented age verification measures in response to regional laws that restrict access:

  • UK users are shown a banner for attempting identity verification through Epic Games' Kids Web Services before they could access adult content, following the Online Safety Act.

  • Mississippi users are completely blocked from acccessing Bluesky due to

@meowabyte
meowabyte / tags-20250509.json
Last active May 9, 2025 10:54
List of captured Discord server tags 2025-05-09 (774)
[
{
"identityGuildId": "1172245377395728464",
"identityEnabled": true,
"tag": "ATL",
"badge": "73d86ffb81cdcdc4f275eaf3b82fca31"
},
{
"identityGuildId": "1369745124669653083",
"identityEnabled": true,
@meowabyte
meowabyte / friend-anyone.js
Last active July 24, 2025 22:24
Vencord snippet that adds a super power of adding anyone to friends! (VISUAL ONLY)
(() => {
const {
FluxDispatcher,
UserStore
} = Vencord.Webpack.Common
const RelationshipActions = Vencord.Webpack.findByProps("addRelationship", "removeRelationship")
RelationshipActions.addRelationship = ({ userId, type = 1 }) => {
console.log(`+ ${userId} (${type})`)
FluxDispatcher.dispatch({
@meowabyte
meowabyte / patchFromContext.js
Last active October 26, 2025 21:08
Script hooks into generic `Function.bind` function that serves purpose of binding `this` to custom value and returns the context, returning the original bind value after hit.
// Callback
const foundContext = (ctx) => {
console.log(ctx)
}
// Look for context by these keys
const searchBy = [
"chat",
"generateImage"
]
@meowabyte
meowabyte / cleanVencord.js
Created August 2, 2024 06:02
Simple script for cleaning Vencord out of old themes/configurations of nonexistant plugins
// You need to save configuration after that by for example
// force saving config to cloud or by clicking save on any
// plugin settings
Vencord.Settings.enabledThemes = []
console.log("Disabled all local themes")
const pluginsNow = Object.keys(Vencord.Plugins.plugins).map(p => p.toLowerCase())
let pc = 0
Object.keys(Vencord.Settings.plugins).forEach(p => {
if(!pluginsNow.includes(p.toLowerCase())) {
@meowabyte
meowabyte / NO-NFT-CRYPTO.css
Created June 8, 2024 21:07
Few CSS snippets for Old Twitter Layout for hiding certain content
/* Tweet */
div.tweet:has(
/* Disable tweets with crypto/nft tags */
a[href^="/search?q=%24"], a[href^="/hashtag/BTC"], a[href^="/hashtag/ETH"], a[href^="/hashtag/btc"],
a[href="/hashtag/eth"], a[href^="/hashtag/Bitcoin"], a[href^="/hashtag/Btc"], a[href="/hashtag/Eth"],
a[href^="/hashtag/Etherium"], a[href^="/hashtag/etherium"], a[href^="/hashtag/BITCOIN"], a[href^="/hashtag/ETHERIUM"],
a[href^="/hashtag/Altcoins"], a[href^="/hashtag/Altcoin"], a[href^="/hashtag/altcoins"], a[href^="/hashtag/altcoin"],
a[href="/hashtag/xrp"], a[href="/hashtag/XRP"], a[href="/hashtag/Xrp"], a[href^="/hashtag/Crypto"],
a[href^="/hashtag/crypto"], a[href^="/hashtag/CRYPTO"], a[href^="/hashtag/nft"], a[href^="/hashtag/Nft"],
a[href^="/hashtag/NFT"],
@meowabyte
meowabyte / messagelatency-manipulation.js
Last active July 30, 2025 14:49
A fairly simple snippet for MessageLatency plugin manipulation for Vencord. It doesn't use any Vencord-depending variables so you can use Vanilla Discord to troll others
/** _changeLatency(days) to change your latency */
window._changeLatency = await (async () => {
const NONCE_SHIFT = 14200704e5,
SHOULD_MANIPULATE_SYMBOL = Symbol("should manipulate?"),
ORIGINAL_NONCE_SYMBOL = Symbol("original nonce")
const fromNonce = val => Math.floor(Number(val) / 4194304) + NONCE_SHIFT
const toNonce = val => {
let t = val - NONCE_SHIFT;
return t <= 0 ? "0" : (BigInt(t) << 22n).toString()
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 6, 2025 18:34
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter: