This file contains 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'; | |
// http://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html | |
/* | |
* expected usage: | |
let AWS = require('aws-sdk'); | |
const AWSXRay = require('aws-xray-sdk-core'); | |
const AWSXRayUtil = require('./aws-xray-utils'); | |
if (process.env.AWS_XRAY_DAEMON_ADDRESS) { |
This file contains 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
# See list of docker virtual machines on the local box | |
$ docker-machine ls | |
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS | |
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1 | |
# Note the host URL 192.168.99.100 - it will be used later! | |
# Build an image from current folder under given image name | |
$ docker build -t gleb/demo-app . |
This file contains 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
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: npm http GET http://nj-npm.irisnpm.com/serialport | |
npm http GET http://nj-npm.irisnpm.com/colors | |
npm http GET http://nj-npm.irisnpm.com/kickstart | |
npm http GET http://nj-npm.irisnpm.com/socket.io | |
npm http GET http://nj-npm.irisnpm.com/requirejs | |
npm http 200 http://nj-npm.irisnpm.com/colors | |
npm http GET http://nj-npm.irisnpm.com/colors/-/colors-0.6.0-1.tgz | |
npm http 200 http://nj-npm.irisnpm.com/serialport |