Skip to content

Instantly share code, notes, and snippets.

View kvba0000's full-sized avatar

kvba kvba0000

View GitHub Profile
@kvba0000
kvba0000 / 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"],
@kvba0000
kvba0000 / messagelatency-manipulation.js
Created May 29, 2024 00:04
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
;((sn,n)=>{
if(window[n] instanceof Array && window[n].includes(sn)) return "Snippet has already been loaded. Restart discord to update the code."
// Number of days to show on MessageLatency plugin
const days = 1337
// ONLY ISSUE!!! -> Some messages might look like duplicated but it's only Client Side
const shift = 14200704e5
const fromNonce = e => Math.floor(Number(e) / 4194304) + shift
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active July 9, 2024 02:47
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

This no longer works if you're alone in vc! Somebody else has to join you!

Warning

There are now two quest types ("stream" and "play")! Pay attention to the instructions!

body::before {
content: " ";
position: fixed;
background-image: url("https://i.imgur.com/cEOBMVS.png");
width: 100vw;
height: 100vh;
z-index: -9999;
left: 0;
top: 0;
background-repeat: no-repeat;
@kvba0000
kvba0000 / df-pogs-calc.py
Last active February 4, 2024 15:37
DONTFORGET Pog Calculator - Calculate how many gold do you need to get Rainbow soul in DONTFORGET - game by RickyG!
from sys import platform
nmbrs = []
pog_cost = 250
all_pogs = 24 * 999
def up_line():
if platform != "win32":
print("\033[1A\033[K\033[1A")
@kvba0000
kvba0000 / bitflip.py
Last active February 4, 2024 20:51
Bitflip script written in Python with chunk reading function. Mainly used to de-anti-decompile Gamemaker fangames like MTO (Mysterytale Online).
from os import fstat
from time import sleep
filename = "data.win"
new_filename = f"new_{filename}"
chunk_size = 1024
# Main progress
wf = open(new_filename, "wb")
with open(filename, "rb") as f:
@kvba0000
kvba0000 / vencord-msg-logger-edit.js
Created May 7, 2023 14:15
Vencord funny messagelogger editor
/*
Script edits message with contents from msgs variable before removing it
this makes content be visible forever only for MessageLogger users (and for people who are fast enough to read it)
dont use too many messages as it might ratelimit you
*/
const msgs=[
`██░█░░█▀░███░█░░░█`,
`█░█░█░██░█░█░█░█░█ hi messagelogger users`,
`█░█░█░█▄░███░█████`
],originalRemove = findByProps('editMessage', 'deleteMessage').deleteMessage,currentUser = findByProps('getCurrentUser').getCurrentUser(),getMessage = findStore('MessageStore').getMessage;findByProps('editMessage','deleteMessage').deleteMessage=async(...args)=>{const[cID, mID]=args;if(getMessage(cID,mID).author.id!==currentUser.id)return originalRemove(...args);for(const mc of msgs){await fetch(`https://discord.com/api/v9/channels/${cID}/messages/${mID}`,{"headers":{"authorization":findByProps('getToken').getToken(),"content-type":"application/json"},"body": JSON.stringify({content:mc}),"method": "PATCH"});}return originalRemove(...args)}
@LapisOnTheMoon
LapisOnTheMoon / regex.js
Last active August 23, 2023 19:48 — forked from anishshobithps/regex.js
Various regex for Discord
module.exports = {
mentions: {
userOrMember: /^(?:<@!?)?(\d{17,19})>?$/,
channel: /^(?:<#)?(\d{17,19})>?$/,
role: /^(?:<@&)?(\d{17,19})>?$/,
snowflake: /^(\d{17,19})$/,
},
misc: {
emoji: /^(?:<a?:\w{2,32}:)?(\d{17,19})>?$/,
username: /.{2,32}/,
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active July 4, 2024 10:09
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@flanger001
flanger001 / zalgo.js
Created September 23, 2015 14:05
I stole a Zalgo text generator
/* <![CDATA[ */
//============================================================
// ZALGO text script by tchouky
//============================================================
// data set of leet unicode chars
//---------------------------------------------------
//those go UP
var zalgo_up = [