This file contains 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
console.log('starting function'); | |
const moment = require('moment-timezone'); | |
const _ = require('underscore'); | |
const VoiceReponse = require('twilio').twiml.VoiceResponse; | |
exports.handle = function(e, ctx, cb) { | |
console.log('processing event: %j', e) | |
var twiml = new VoiceReponse(); |
This file contains 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
console.log('starting function'); | |
const qs = require('qs'); | |
const VoiceReponse = require('twilio').twiml.VoiceResponse; | |
exports.handle = function(e, ctx, cb) { | |
console.log('processing event: %j', e) | |
var twiml = new VoiceReponse(); | |
var noanswerurl = process.env.NOANSWERURL || null; |
This file contains 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
console.log('starting function'); | |
const qs = require('qs'); | |
const snsPublish = require('aws-sns-publish'); | |
exports.handle = function(e, ctx, cb) { | |
console.log('processing event: %j', e) | |
var snsarn = process.env.SNSARN; | |
var body = {}; |
This file contains 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
// https://www.emberjs.com/api/ember/2.15/classes/Ember.Route | |
App.LibraryRoute = App.ApplicationRoute.extend({ | |
activate: function () { | |
//no longer enter | |
this._super(); | |
only called once on entering a route. | |
}, | |
beforeModel: function (transition) { |
This file contains 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
_.forOwn({"foo": "bar"}, function(value, key) { | |
console.log(key); | |
}); |
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
This file contains 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
[ | |
"Africa/Abidjan", | |
"Africa/Accra", | |
"Africa/Addis_Ababa", | |
"Africa/Algiers", | |
"Africa/Asmara", | |
"Africa/Asmera", | |
"Africa/Bamako", | |
"Africa/Bangui", | |
"Africa/Banjul", |
This file contains 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
{ | |
"type": "{{event.type}}", | |
"incident": {{{JSONstringify incident}}}, | |
"original_webhook_data": {{{JSONstringify incident.s_log.body}}}, | |
"ConfigurationItem": "{{incident.s_log.body.ConfigurationItem}}", | |
} |
This file contains 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
{ | |
"text": "<https://app.pagertree.com/#/incident/{{incident.id}}|{{incident.title}}> has been {{replace event.type "incident." ""}}" | |
} |
OlderNewer