๐
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' } | |
]; |
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
// 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
'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
# Your snippets | |
# | |
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
# expand the prefix into a larger code block with templated values. | |
# | |
# You can create a new snippet in this file by typing "snip" and then hitting | |
# tab. | |
# | |
# An example CoffeeScript snippet to expand log to console.log: | |
# |
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
var callback = function(err, data) { | |
}; | |
SoapClient.retrieve( | |
'Email', | |
, ['ID','Name'] | |
, { | |
filter: {...} | |
, reqOptions: { |
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
var FuelSoap = require('fuel-soap'); | |
var options = { | |
auth: { | |
clientId: 'clientId' | |
, clientSecret: 'clientSecret' | |
} | |
, soapEndpoint: 'https://webservice.s6.exacttarget.com/Service.asmx' // default --> https://webservice.exacttarget.com/Service.asmx | |
}; | |
var SoapClient = new FuelSoap(options); |
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
<section id="wizard"> | |
<h2>Wizard</h2> | |
<div class="thin-box"> | |
<!-- you need to add this class ("rtl") to .wizard --> | |
<div class="wizard rtl" data-initialize="wizard" id="myWizard"> | |
<ul class="steps"> | |
<li data-step="1"><span class="chevron"></span><span class="badge">1</span>Campaign | |
</li> | |
<li class="active" data-step="2"><span class="chevron"></span><span class="badge">2</span>Recipients | |
</li> |
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
$ karma start | |
INFO [karma]: Karma v0.12.28 server started at http://localhost:9876/ | |
INFO [launcher]: Starting browser PhantomJS | |
INFO [launcher]: Starting browser Chrome | |
WARN [launcher]: PhantomJS have not captured in 60000 ms, killing. | |
WARN [launcher]: Chrome have not captured in 60000 ms, killing. | |
WARN [launcher]: PhantomJS was not killed in 2000 ms, sending SIGKILL. | |
WARN [launcher]: Chrome was not killed in 2000 ms, sending SIGKILL. | |
INFO [launcher]: Trying to start PhantomJS again (1/2). | |
INFO [launcher]: Trying to start Chrome again (1/2). |
NewerOlder