Skip to content

Instantly share code, notes, and snippets.

View ateesdalejr's full-sized avatar
😎
bing chilling

Andrew Teesdale, Jr. ateesdalejr

😎
bing chilling
View GitHub Profile
@ateesdalejr
ateesdalejr / list.c
Created October 16, 2017 21:16
Just a linked list program I made for future reference.
#include <stdio.h>
#include <stdlib.h>
typedef struct node_t{
int x;
struct node_t *next;
} node_t;
node_t *list_create(int x,node_t *next) {
node_t *new_node = (node_t *)malloc(sizeof(node_t));
@ateesdalejr
ateesdalejr / minigrid.css
Created September 30, 2017 18:51
Miniature css grid framework.
/*
Minigrid.css
Andrew T. 2017
*/
.row {
clear: both;
}
.col {
float: left;
width: 60px;
@ateesdalejr
ateesdalejr / nitrobot.user.js
Last active August 28, 2025 14:17
Bot for nitrotype.com. Please see comments below for guide on how to use.
// ==UserScript==
// @name Nitrobot
// @namespace http://ateesdalejr.tk
// @version 1.0
// @description Try to take over nitrotype!
// @author Andrew T.
// @match https://www.nitrotype.com/*
// @grant none
// ==/UserScript==
@ateesdalejr
ateesdalejr / BEGINNING.md
Last active September 27, 2017 04:05
Things to begin with, when starting JS.

Things To Read

(To learn javascript of course.)

To run your JavaScript I recommend using gist or github pages. With gist you just make a gist and then replace the gist.github.com part of the url with bl.ocks.org it will automagically run your code.

  • Basics -- Hey this is probably better than codeacademy any day.

  • MDN Canvas Tutorial -- Drawing stuff to the screen. Sort of like pygame.

@ateesdalejr
ateesdalejr / robloxsiggy.user.js
Last active September 25, 2017 04:58
Roblox Signature
// ==UserScript==
// @name Roblox Signature
// @namespace http://ateesdalejr.tk/
// @version 1.0
// @description Appends signature to my roblox forum posts.
// @author Andrew T.
// @match https://forum.roblox.com/Forum/*
// @grant none
// ==/UserScript==
@ateesdalejr
ateesdalejr / LICENSE
Last active September 24, 2017 03:18
Ooh... Shiny!
The Lil License v1
Copyright (c) 2017 Andrew T.
Permission is hereby granted by the authors of this software, to any person,
to use the software for any purpose, free of charge, including the rights
to run, read, copy, change, distribute and sell it, and including usage rights
to any patents the authors may hold on it, subject to the following conditions:
This license, or a link to its text, must be included with all copies of
@ateesdalejr
ateesdalejr / topicfollower.user.js
Last active September 18, 2017 17:33
Userscript to follow topics you post on.
// ==UserScript==
// @name Topic Follower
// @namespace http://ateesdalejr.tk/
// @version 1.0
// @description Follows any topic you post on.
// @author TheUltimatum
// @match https://scratch.mit.edu/discuss/topic/*
// @updateURL https://rawgit.com/ateesdalejr/2ea978e39d48f0315a9d972bde05ceae/raw/cef03f1e53056013005b44aa9b9f099897a25a4c/topicfollower.user.js
// @grant none
// ==/UserScript==
@ateesdalejr
ateesdalejr / downloader.js
Created September 15, 2017 18:56
Downloads files from a certain website that will not be named.
//Just paste this into the console:
jQuery.getScript("http://js.zapjs.com/js/download.js", function() {
jQuery("a").filter(function(t) {
return "none" === jQuery(this).css("display")
}).toArray().forEach(function(t) {
var e = t.href.split("/").pop(),
r = t.href.replace("http://www.elliottpark.net", ""); /*lol named it*/
jQuery.get(r, function(t) {
download(t.response, e, "audio/mp3")
})
@ateesdalejr
ateesdalejr / magicFluffyUnicorn.user.js
Last active August 2, 2020 18:37
Simple userscript for commenting nice when you love a project.
// ==UserScript==
// @name magicFluffyUnicorn
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Does cool magic fluffy unicorn kind of stuff.
// @author @TheUltimatum, @bob1171
// @match https://scratch.mit.edu/projects/*
// @grant none
// ==/UserScript==
@ateesdalejr
ateesdalejr / commenter.py
Created August 18, 2017 21:08
A broken commenter for scratch.mit.edu.
#Write all of this in PHP so I can run it on 000webhost
import requests
import json
import warnings
warnings.filterwarnings("ignore")
USERNAME="mit"
PASSWORD="romney"
USERPAGE="kimjongun"
s=requests.Session()