I hereby claim:
- I am gjohnson on github.
- I am gjohnson (https://keybase.io/gjohnson) on keybase.
- I have a public key whose fingerprint is 7B71 56A7 FD80 758A 7C28 9C1E CB19 3CB7 D752 24B2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Vagrant.configure(2) do |config| | |
| config.vm.provider "virtualbox" do |vb| | |
| vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
| vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"] | |
| vb.customize ["modifyvm", :id, "--nictype1", "virtio"] | |
| end | |
| end |
| package lunk | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "encoding/json" | |
| "fmt" | |
| "io" | |
| "strconv" |
| event.properties.* { | |
| key = "${lowercase(.)}" | |
| type = "string" | |
| max = 255 | |
| min = 1 | |
| } |
We're huge fans of open-source, and absolutely we love getting good contributions to segmentio/integrations! These docs will tell you everything you need to know about how to add your own integration to the library with a pull request, so we can merge it in for everyone else to use.
To start, you need a couple of tools that will help you integrate as fast as possible:
npm i -g khaos)| package main | |
| import "fmt" | |
| import "reflect" | |
| func main() { | |
| fn1 := createCallback() | |
| fn1() | |
| fn2 := createCallback(func() { |
| # Awesome Shit -- (forgot where I got these guys from, thanks random person on the internet!) | |
| alias idunnolol="echo -n '¯\(°_o)/¯' | pbcopy" | |
| alias disapproval="echo -n 'ಠ_ಠ' | pbcopy" | |
| alias fliptable="echo -n '(╯°□°)╯︵ ┻━┻' | pbcopy" |
| /** | |
| * Version: _V1404867306_ | |
| * Copyright 2011 Amazon.com, Inc., or its Affiliates. | |
| **/ | |
| if (!OffAmazonPayments || typeof (OffAmazonPayments) == "undefined") { | |
| var OffAmazonPayments = {} | |
| } | |
| OffAmazonPayments.ZERO_TIME = (new Date()).getTime(); | |
| var __cba__buttonversion = 0; | |
| document.write("<script type='text/javascript' src='https://images-na.ssl-images-amazon.com/images/G/01/cba/js/jquery-1.4.2.min.js'><\/script>"); |
A small convience layer above node-mysql's PoolCluster. It's convienent in situations where you would like load an array of hosts that may be located in a configuration file or system.
To create a pool cluster, just pass in an array of node options to the constructor. The same types of nodes that the driver supports are supported here, anonymous and identified.
The configuration options of each node are the same as the drivers, except with the addition of an id property. The id property is what is used to distingish between an anonymous and identified node.
| var crypto = require('crypto'); | |
| var assert = require('assert'); | |
| var debug = require('debug')('mandrill-verify'); | |
| module.exports = function (config) { | |
| assert(config, 'missing config'); | |
| assert(config.secret, 'missing secret') | |
| assert(config.url, 'missing url'); | |
| return function (req, res, next) { |