I hereby claim:
- I am collingo on github.
- I am nickcollings (https://keybase.io/nickcollings) on keybase.
- I have a public key ASDJT7MiibfkLE9iG8ir_3QcEWI8LWr9vfpekldkYFYh8Ao
To claim this, I am signing this object:
// resuable shortcut for module definition that works in Node (cjs) and the browser (Requirejs) | |
// (to save boilerplate may consider making umd function a global var - I know, I know!) | |
var umd = function (root, dependencies, factory) { | |
var requiredDependencies = []; | |
if (typeof define === 'function' && define.amd) { | |
define(dependencies, factory); | |
} else if (typeof exports === 'object') { | |
for (var i = dependencies.length - 1; i >= 0; i--) { | |
dependencies[i] = require(dependencies[i]); | |
} |
// simple path observing | |
function O(original, parentsWatcher, path) { | |
this.original = original; | |
this.path = path; | |
this.parentsWatcher = parentsWatcher; | |
Object.observe(this.original, function(changes) { | |
changes.forEach(function(change) { | |
if((change.type === 'add' || change.type === 'update') && typeof this.original[change.name] === "object") { |
const fs = require('fs') | |
const path = require('path') | |
const casual = require('casual') | |
const { makeExecutableSchema, addMockFunctionsToSchema } = require('graphql-tools') | |
const { graphql } = require('graphql') | |
fs.readFile(path.join(__dirname, './schema.graphql'), (error, schemaBuffer) => { | |
const schemaString = schemaBuffer.toString() | |
const schema = makeExecutableSchema({ | |
typeDefs: schemaString |
I hereby claim:
To claim this, I am signing this object:
{ | |
"AlarmName": "cpuUtilTest", | |
"AlarmDescription": "testing alarms for cpu utilization", | |
"AWSAccountId": "08931xxxxxx", | |
"NewStateValue": "ALARM", | |
"OldStateValue": "OK", | |
"NewStateReason": "Threshold Crossed: 1 datapoint (5.199) was greater than or equal to the threshold (5.0).", | |
"StateChangeTime": "2012-08-05T22:31:25.524+0000", | |
"Region": "US - N. Virginia", | |
"Trigger": { |