Skip to content

Instantly share code, notes, and snippets.

'use strict';
var express = require('express'),
morgan = require('morgan'),
bodyParser = require('body-parser');
var tasksArray = ['Groceries', 'Take the dog out', 'Something else'];
// Create the express application object
var app = express();
@alexciarlillo
alexciarlillo / artisan-runner.js
Created August 29, 2018 03:16
Artisan Runner Plugin For Angular
let exec = require('child_process').exec;
function ArtisanRunnerPlugin(options) {
this.startTime = Date.now();
this.prevTimestamps = {};
this.firstRun = true;
}
function puts(error, stdout, stderr) {
if (error) {
@alexciarlillo
alexciarlillo / custom.json
Created November 30, 2018 22:34
VSCode customizations for Nord color theme
// color customizations for Nord
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"settings": {
"foreground": "#d1d5dc",
"background": "#2f343f"
}
},
{
Sub GenerateSummary()
'Keep track of current sheet
Dim ws As Worksheet
'Keep a reference to the Summary sheet
Dim summarySheet As Worksheet
summarySheet = Sheets("Summary")
'Disable screen updates to make this run faster
let rtcConnection = null;
let rtcLoopbackConnection = null;
let loopbackStream = new MediaStream(); // this is the stream you will read from for actual audio output
const offerOptions = {
offerVideo: true,
offerAudio: true,
offerToReceiveAudio: false,
offerToReceiveVideo: false,
};