Skip to content

Instantly share code, notes, and snippets.

View j-fischer's full-sized avatar

Johannes Fischer j-fischer

View GitHub Profile
@j-fischer
j-fischer / incomingCalls.js
Last active October 28, 2021 02:49
Twilio functions to forward phone calls to multiple cell phones. See https://cloudthingsyyc.wordpress.com/2018/01/15/hpaas-home-phone-as-a-service/ for more details.
const format = require('string-format');
// These are the numbers to forward the call to
const destinations = ['+1', '+1'];
// These are the numbers that will be forwarded to the cell phones
const allowedCallers = [
'+1', //
];
@j-fischer
j-fischer / Gruntfile.js
Created December 22, 2017 05:29
Sample Gruntfile and batch script to work with SFDX Projects
module.exports = function (grunt) {
// load all grunt tasks needed for this run
require('jit-grunt')(grunt);
// configurable paths
var config = {
module: 'force-app',
src: 'force-app/main/default',
test: 'force-app/test/default',
bundles: 'resource-bundles',