Skip to content

Instantly share code, notes, and snippets.

View benajaero's full-sized avatar

ben ajaero benajaero

View GitHub Profile
@ivanoats
ivanoats / post.json
Created June 17, 2016 00:25
contentful JSON example
{
"sys": {
"space": {
"sys": {
"type": "Link",
"linkType": "Space",
"id": "changeme"
}
},
"id": "changeme",
// ==UserScript==
// @name Scrollable Scratch Signatures
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @updateURL https://gist.githubusercontent.com/Blaze349/eb8eade386c0380e8e5fbec0d87a9283/raw/6adb2ade07eebb404f958a3ff274affb6ffaccdf/scrollablescratch.js
// @match https://scratch.mit.edu/*
// @grant none
// ==/UserScript==
@benajaero
benajaero / mathwork.cpp
Last active July 28, 2017 01:16
A little library I made for my maths homework because I'm lazy
#include <cmath>
#include <iostream>
struct Point {
double x;
double y;
};
double distLength(struct Point point1,struct Point point2) {
double xlength = point1.x - point2.x, ylength = point1.y - point2.y;