Skip to content

Instantly share code, notes, and snippets.

View delaet's full-sized avatar

Thomas De Laet delaet

View GitHub Profile
@delaet
delaet / uuids.js
Created July 5, 2017 19:23 — forked from thepauljones/uuids.js
Retrieve some current AVOD and SVOD uuids for testing
module['exports'] = function listUUIDs(hook) {
getUUIDS('avod', avodData => {
getUUIDS('svod', svodData => {
postToSlack(avodData, svodData);
});
});
/**
* @param type String can be 'avod' or 'svod'
**/
@delaet
delaet / gist.js
Created July 5, 2017 19:23 — forked from thepauljones/gist.js
Used to generate the link in rtl slack to the debug portal
module['exports'] = function highFive(hook) {
// hook.io has a range of node modules available - see
// https://hook.io/modules.
// We use request (https://www.npmjs.com/package/request) for an easy way to
// make the HTTP request.
var request = require('request');
// The parameters passed in via the slash command POST request.
var params = hook.params;