Skip to content

Instantly share code, notes, and snippets.

View mathcat4's full-sized avatar

mathcat mathcat4

View GitHub Profile
@mathcat4
mathcat4 / tick.js
Created February 16, 2022 19:19
Speed / No Collision / SE NITRO (kill everyone in one click) hack for https://redwolfprograms.com/tanks/
(() => {
var Tanks = window.Tanks;
var arm, spd, swp, dmg, rld;
var pos = [0, 0];
var dir = 0;
var p_dir = 0;
var chg = [0, 0];
@mathcat4
mathcat4 / Joe.txt
Created June 9, 2022 12:41
Who is Joe?
I am Joe. Who is Joe?
Joe is the creator of the universe, Joe appeared before Rick Astley.
Joe is the king of all species and guarder of the seven keys to heaven and hell.
Joe is the inventor of jokes.
Joe is life.
Joe is stronger than Ms. Pat.
Joe destined Erno Rubik to create the Rubik's cube.
Joe is the possessor of the meme history.
Joe remembers every meme ever created.
Joe has traveled to the center of the universe.
@mathcat4
mathcat4 / sandbox-viewer.user.js
Created July 3, 2022 13:48
Changes made to Downgoats/Steffans Sandbox viewer
// ==UserScript==
// @name Sandbox Viewer
// @namespace http://tampermonkey.net/
// @version 2.8
// @description PPCG Sandbox Viewer
// @author Downgoat
// @match *://*.stackexchange.com/*
// @grant GM_xmlhttpRequest
// @connect codegolf.meta.stackexchange.com
// @updateURL https://gist.github.com/SE-Nitro/b20b6b536fac257c00c5ad6a7941e182/raw/a5bb14ad4f610fe910a81f3a11dfb3ae08d81e2c/sandbox-viewer.user.js
@mathcat4
mathcat4 / circle.py
Last active October 18, 2023 12:56
🅱️🅱️🅱️avid
from pyautogui import*;from math import*;mouseDown(973,362)
for n in range(1,41):moveTo(683+290*cos(pi/20*n),362.6-290*sin(pi/20*n))
@mathcat4
mathcat4 / smth.md
Created November 12, 2023 10:12
Stuff
code emoji
:white_check_mark:
:x:
@mathcat4
mathcat4 / script.sh
Created December 4, 2023 04:58
aoc aliases
run_aoc=yes
if [ "$run_aoc" = yes ]; then
export AOC=~/mathcat4/Programs/advent-of-code/ # Change path
export AOC_COOKIE="[COOKIE]"
function aot-run() {
cd $AOC
echo -ne "\\e[0;34m"
python "$1" < test.txt
echo -ne "\\e[0m"