Skip to content

Instantly share code, notes, and snippets.

View PatheticMustan's full-sized avatar
🌠
starry eyed

Nat PatheticMustan

🌠
starry eyed
View GitHub Profile
@PatheticMustan
PatheticMustan / hackers_cmd
Created March 19, 2019 04:52
Hacker's CMD
color 0A
@PatheticMustan
PatheticMustan / internalScreaming.js
Last active April 17, 2019 15:07
INTERNAL SCREAMING ON DISCORD
//80 chars long! Not bad.
const internalScreaing=s=>`***${s.split(' ').join(' ').split('').join(' ')}***`
/*
How to use:
1. Open Discord.
2. Open script, and run this function with the phrase of your choice
3. Paste the result into Discord.
Examples!
@PatheticMustan
PatheticMustan / LevelsQuickView.html
Created December 31, 2019 05:52
HTML Page for quick viewing of LEVELS Events
<!DOCTYPE html>
<html>
<head>
<title>Levels Quickview</title>
<style>
#flexbox {
position: fixed;
top: 0;
left: 0;
bottom: 0;
@PatheticMustan
PatheticMustan / Dino Game Hacks
Created February 10, 2020 04:45
Hacks for Google Chrome's offline dino game
// Override death function, INVINCIBLE!!!
Runner.prototype.gameOver = () => {}
// Super speed oh yeah
Runner.instance_.currentSpeed = 9001
@PatheticMustan
PatheticMustan / EdpuzzleGetSource.js
Last active April 9, 2020 17:22
Wow, now a handy dandy bookmarklet to get the source of a video!
// Alert src
alert(document.getElementsByTagName("video")[0].children[0].src)
// Open new tab
window.open(document.getElementsByTagName("video")[0].children[0].src, '_blank')
// Alert src bookmarklet
javascript:alert(document.getElementsByTagName("video")[0].children[0].src)
@PatheticMustan
PatheticMustan / Mudae waifu note removal helper
Last active May 15, 2020 03:12
Puts noted waifus/husbandos into string that allows me to copy paste and remove notes real fast
x = `Amethyst | SU
Aries (Himawari) | Strange alien girl???
Atsuko Kagari | Popular
Azuki | Nekopara
Backpack | Meme
Ball Guy | Meme
Bianca | PKMN
Bloody Painter | CRPY
Celebi | PKMN
Chloe | DBH
sendMessage = msg => {
socket.emit('webhooksend', {
username: document.getElementsByClassName('infoname')[0].value,
avatar: localStorage.getItem('avatar'),
content: msg,
banned: false,
ID: Math.floor(Math.random() * 1000)
});
}
// an array with all the lines in the document.
let lines = $("pre").innerHTML.split("\n");
// filter out all the names, we only want the 4 numbers at the end
let discrimList = lines.map(v => v.split("#").pop());
// Change each string discriminator into a number
discrimList = discrimList.map(v => parseInt(v));
// init the missing array
let missing = [];
@PatheticMustan
PatheticMustan / badcode.js
Created June 16, 2020 16:30
Totally valid code... It works, I swear!
const readline
=
require
(
"readline"
)
;
const rl
=