This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[Javascript object orderer]" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var charMap = {}; | |
charMap.backspace = 8; | |
charMap.delete = 46; | |
charMap.space = 32; | |
charMap.a = 65; | |
charMap.b = 66; | |
charMap.c = 67; | |
charMap.d = 68; | |
charMap.e = 69; | |
charMap.f = 70; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div class="foo" style="background:red;">123 | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random as r | |
class snigs: | |
def __init__(self, wordlist = None): | |
self.addquestions(wordlist) | |
@staticmethod | |
def getwords(): | |
questions = [ | |
'Coming to America', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Boogie is a command line math program for kids, great for the raspberryPi | |
import random as r | |
import math as m | |
import re | |
class boogie: | |
def __init__(self, mathtype = 'ADDITION', level = 'EASY', offset = 0, sets = 10): | |
self.mathsign = None | |
self.mathtype = mathtype |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(w,d){ | |
/*Animate all images buffering 240 images at a time, 20 sec of footage | |
@ 12fps (images/sec) | |
*/ | |
//get all image data | |
var metaData = { | |
cf: 0,//The current image shown | |
cfs: 0, //The current buffer segment | |
lfb: 0, //last buffered frame (image url number in raw array) | |
buffer: [], //currently buffered images |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
from Tkinter import * | |
import tkMessageBox | |
class Application(Frame): | |
def show_handicap(self): | |
grossScore = self.grossScore.get() | |
courseRating = self.courseRating.get() | |
courseSlope = self.courseSlope.get() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(d){ | |
var drawNinja = function(){ | |
//var wrapper = d.getElementById('wrapper'); | |
var wrapper = d.getElementsByTagName('body'); | |
//the ninja head | |
var ninjaCanvas = d.createElement('canvas'); | |
ninjaCanvas.style.position = "absolute"; | |
ninjaCanvas.style.zIndex = 9999999999; | |
ninjaCanvas.id = "ninjafied"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[Javascript object orderer]" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Test using PhantomJS instead of Zombie | |
* Author: RA Sims II | |
* Twitter: @mantisOrange | |
* 01.31.2015 | |
*******************************************************************************/ | |
var domain = 'localhost'; | |
var port = '3000'; | |
var page = require('webpage').create(); |