Skip to content

Instantly share code, notes, and snippets.

Jonathan Spies jspies

  • Austin, TX
Block or report user

Report or block jspies

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tests.js
const glob = require("glob");
(async () => {
const matches = glob.sync("**/*_test.mjs");
for (const match of matches) {
await import(`../${match}`)
}
run();
})()
@jspies
jspies / install
Created Mar 19, 2019
Prep for CF Demo
View install
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
nvm install 11.4
npm install serverless -g
serverless create --template cloudflare-workers-enterprise —path demo
View webpack.config.js
const path = require('path');
module.exports = {
entry: {
hello: path.join(__dirname, './src/handlers/hello.ts')
},
resolve: {
extensions: ['.ts', '.js']
},
module: {
View keybase.md

Keybase proof

I hereby claim:

  • I am jspies on github.
  • I am jspies (https://keybase.io/jspies) on keybase.
  • I have a public key ASC5crRFyQVXTAUGMtvR3KpoH4j3MZXo8ADGUEvUEHMCxQo

To claim this, I am signing this object:

View gist:3345388
[
{
id: 63679,
name: null,
guid: "a00a766a-404a-4cd7-b45c-b3643021d1b2",
description: null,
tier: null,
point_cost: null,
skill_type: "Buff",
chain_skill_guid: null,
View gist:435337
// loop through the 'paper' variable from Raphael JS and build up the JSON object describing all images and paths within it.
loadJSON = function(paper, json) {
var set = paper.set();
$.each(json, function(index, node) {
try {
var el = paper[node.type]().attr(node);
set.push(el);
} catch(e) {}
});
return set;
You can’t perform that action at this time.