Skip to content

Instantly share code, notes, and snippets.

View vernak2539's full-sized avatar
👋
Yo yo yo

Alex Vernacchia vernak2539

👋
Yo yo yo
View GitHub Profile
@vernak2539
vernak2539 / config.tf
Last active October 23, 2017 10:33
terraform vsphere data source fail
data "vsphere_datacenter" "datacenter" {
name = "Sample DC"
}
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' }
];
@vernak2539
vernak2539 / app.js
Last active July 10, 2018 08:32 — forked from takeshy/app.js
app.use(express.session());
app.use(express.csrf());
app.get('/', index);
index = function(req,res,next){
res.render('index',{token: req.session._csrf});
}
@vernak2539
vernak2539 / 1_setup.js
Last active August 11, 2021 08:16
Fuel-SOAP Examples
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);