Skip to content

Instantly share code, notes, and snippets.

View Meshiest's full-sized avatar
🍰

Isaac Meshiest

🍰
View GitHub Profile

Homework 2 Rubric

An automatic grader for this assignment can be found here. This grader does not account for penalties.

Specification

  • The document should render properly on Chrome
  • 10pt Base grade:
    • 5pt - The student submits any form of css
  • 5pt - Valid CSS is submitted
<!DOCTYPE html>
<html>
<head>
<title>HW2 Grader</title>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js"></script>
<script src="https://cwdoh.com/cssparser.js/demo/cssparser.min.js?cachebust=20170317"></script>
<style type="text/css">
* {
margin: 0;
@Meshiest
Meshiest / youtubebruteforce.html
Last active March 25, 2018 04:04
Bruteforces all of a specific youtube extension as fast as possible
<!DOCTYPE html>
<html>
<head>
<title>URL checker</title>
</head>
<body>
<h3>Input String</h3>
<form onsubmit="test(event)">
<input name="text" placeholder="JSXGagNzNLw"><br/>
<input type="submit">
@Meshiest
Meshiest / hercMagic.js
Last active August 31, 2018 16:26
Website checklist script
(function() {
/* Create an element with tag `tag`, style `style`, and content `content` (array, ) */
function $el(tag, style, content, attrs) {
const el = document.createElement(tag);
Object.assign(el.style, style);
if(attrs && attrs.length)
Object.keys(attrs).forEach(key => el.setAttribute(key, attrs[key]));
@Meshiest
Meshiest / brsdemo.html
Created September 18, 2019 03:46
Brickadia save reading via JS demo
<!DOCTYPE html>
<script src="https://cdn.jsdelivr.net/npm/brs-js/dist/dist.js"></script>
<input id="fileInput" type="file">
<script>
fileInput.addEventListener('change', e => {
const file = e.target.files[0];
if (file) {
file.arrayBuffer()
<!DOCTYPE html>
<script src="https://cdn.jsdelivr.net/npm/brs-js/dist/dist.js"></script>
<script src="https://cdn.jsdelivr.net/gh/josephg/noisejs/perlin.js"></script>
<a id="anchor" download="generated.brs">Download</a>
<script>
// ported code from http://en.wikipedia.org/wiki/Hilbert_curve
function xy2d (n, p) {
@Meshiest
Meshiest / 3d simplex.html
Last active September 19, 2019 05:58
Generate 3d simplex terrain saves for brickadia in your browser!
<!DOCTYPE html>
<script src="https://cdn.jsdelivr.net/npm/brs-js/dist/dist.js"></script>
<script src="https://cdn.jsdelivr.net/gh/josephg/noisejs/perlin.js"></script>
<a id="anchor" download="generated.brs">Download</a>
<script>
// my identity :)
const cake = {
<!DOCTYPE html>
<script src="https://cdn.jsdelivr.net/gh/meshiest/brs-js/dist/dist.js"></script>
<script src="https://cdn.jsdelivr.net/gh/josephg/noisejs/perlin.js"></script>
<a id="anchor" download="generated.brs">Download</a>
<script>
const cake = {
@Meshiest
Meshiest / splitbot.py
Last active February 17, 2020 15:55
reheatedcake's Split or Steal game bot for splitting
"""
## cake's splitbot
You **will** get banned for using this bot. It may take a few hours but it will happen.
This will probably need tuning if you actually want to use it.
I wrote this to learn opencv and because I was too lazy to sit idly clicking a few buttons.
@Meshiest
Meshiest / simplexprogrammer.html
Last active April 12, 2020 21:41
Generate simplex noise from brick programs. Baseplate layout: https://i.imgur.com/kDt3fac.png Example output: https://i.imgur.com/XR5YMcO.png
<!DOCTYPE html>
<!--
Build Documentation
nothing above colored brick stack wavelength + amplitude see settings
this plate [ glow palette plate ] [ -- metal feature plate -- ] [ holo setting plate ]
[ holo gen plate ] [ ------------------------ plastic program plate ------------------------ ]
[ ------------ metal base plate ---------- ]