Skip to content

Instantly share code, notes, and snippets.

View charliemoseley's full-sized avatar

Charlie Moseley charliemoseley

View GitHub Profile
[Creatures]
4 Noble Hierarch
1 Birds of Paradise
2 Spellskite
2 Eldrazi Skyspawner
3 Matter Reshaper
4 Eldrazi Displacer
4 Thought-Knot Seer
4 Reality Smasher
4 Drowner of Hope
48.46584, -125.27715
49.05946, -123.3435
49.03786, -104.0625
41.01305, -104.05152
41.00895, -102.03551
36.96744, -102.01904
36.99597, -102.98858
36.50963, -102.98858
31.99409, -103.049
31.99875, -106.5921
var bookmarkletTest = {
// Responsible for initial loading and setup
setup: function () {
alert('hello');
}
}.setup();
var bookmarkletTest = {
// Responsible for initial loading and setup
setup: function () {
alert('hello');
}
}.setup();
(function(){
// the minimum version of jQuery we want
var v = "1.3.2";
// check prior inclusion and version
if (window.jQuery === undefined || window.jQuery.fn.jquery < v) {
var done = false;
var script = document.createElement("script");
script.src = "http://ajax.googleapis.com/ajax/libs/jquery/" + v + "/jquery.min.js";
@charliemoseley
charliemoseley / gist:6e28000bd83613eb3cf4
Created April 9, 2015 14:24
Simple script to add demo monitors to API Science (v2).
var https = require("https");
loopCount = process.argv[2];
if (typeof loopCount === 'undefined') {
loopCount = 1;
}
location = process.argv[3];
if (typeof location === 'undefined') {
location = 'or';
@charliemoseley
charliemoseley / gist:3fd6b0590893ae0baf05
Created April 9, 2015 13:22
Simple script to load a bunch of test monitors into API Science.
var https = require("https");
loopCount = process.argv[2];
if (typeof loopCount === 'undefined') {
loopCount = 1;
}
location = process.argv[3];
if (typeof location === 'undefined') {
location = 'or';
#%RAML 0.8
title: apiscience.com
baseUri: "http://api.lvh.me:5000/v1"
"/up":
get:
description: |
A ping check to see if the API is up.
responses:
200:
body:
{
"meta": {
"status": "Success"
},
"data": {
"id": 8347876, <- For a test now, should this be NULL?
"href: NULL, <- Same?
"monitor": {
"id": 393,
"url": "https://api.apiscience.com/v1/monitors/393"
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "invoice.created",
"object": "event",
"request": null,
"data": {
"object": {
"date": 1403309323,