๐
This file contains hidden or 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
'use strict'; | |
var TestConstructor = require('./test-module'); | |
var Testing = new TestConstructor(); | |
Testing.doSomething(function(err, data) { | |
// oh im done. an async process has happened | |
}); |
This file contains hidden or 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
// You've installed paket in your repo, but the .exe file isn't there, just paket.bootstraper.exe | |
// This sample can be used by gulp to make sure others working on your project can get setup correctly | |
var gulp = require('gulp'); | |
gulp.task('paket:init', [], function(callback) { | |
var paket = spawn('./.paket/paket.bootstrapper.exe', []); | |
var log = function(msg) { | |
msg = msg.toString('utf8'); |
This file contains hidden or 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
data "vsphere_datacenter" "datacenter" { | |
name = "Sample DC" | |
} |
This file contains hidden or 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
const got = require('got'); | |
const { parallelLimit } = require('async'); | |
const body = { feature: 'my_feature', other: 'yes' }; | |
const bodies = [ | |
{ feature: 'my_feature', other: 'yes' }, | |
{ feature: 'my_feature3', other: 'yes' }, | |
{ feature: 'my_feature2', other: 'yes2' } | |
]; |
OlderNewer