Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View an-OK-squirrel's full-sized avatar

squirrel guy an-OK-squirrel

View GitHub Profile
# coding: utf-8
import re
L_LETTERS = 'abcdefghijklmnopqrstuvwxyz'
U_LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
DIGITS = '0123456789'
ALL_LETTERS = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
OPERATORS = L_LETTERS + '+*/-='
WHITESPACE = ' \t'
// ==UserScript==
// @name imgurify
// @namespace affsafdffasfdafsa
// @include http://prntscr.com/*
// @version 1
// @grant none
// ==/UserScript==
document.location.href = $("#screenshot-image").attr("src")
// ==UserScript==
// @name NFE
// @namespace an-OK-squirrel.github.io
// @description NFE marker yey
// @include https://scratch.mit.edu/projects/*
// @version 1
// @grant none
// ==/UserScript==
if ($("meta[content='noindex']").length > 0) $("#project > div:nth-child(1) > div:nth-child(1)").append('<div id="nfe" class="wip on" style="left:611px"><span>Not For Everyone</span></div>')
package ;
import openfl.display.Sprite;
class Ball extends Sprite {
public function new() {
super();
this.graphics.beginFill(0xffffff);
this.graphics.drawCircle(0, 0, 10);
this.graphics.endFill();
}
@an-OK-squirrel
an-OK-squirrel / packager.user.js
Created August 29, 2015 17:11
packager for scratch
// ==UserScript==
// @name Package
// @description turns :P into :package:
// @namespace scratch_userscripts
// @include https://scratch.mit.edu/*
// ==/UserScript==
x = $("img");
for (var i = $("img").length - 1; i >= 0; i--) {
var imageToChange = $($("img")[i])
// Not Very Meaningful Statement
// also my first P3 program :P
// By an-OK-squirrel
void setup() {
size(500, 500);
noStroke();
fill(255, 255, 255, 10);
doAThing();
}