Skip to content

Instantly share code, notes, and snippets.

Brett brettswift

Block or report user

Report or block brettswift

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hakanson / aws-xray-utils.js
Last active Dec 28, 2018
adds an AWS X-Ray subsegment and Metadata for an Alexa Skills Kit triggered Lambda
View aws-xray-utils.js
'use strict';
* 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) {
bahmutov / Docker shell
Last active Sep 20, 2019
A personal cheat sheet for running local Node project in a Docker container
View Docker shell
# See list of docker virtual machines on the local box
$ docker-machine ls
default * virtualbox Running tcp:// v1.9.1
# Note the host URL - it will be used later!
# Build an image from current folder under given image name
$ docker build -t gleb/demo-app .
View gist:3868012
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http 200
npm http GET
npm http 200
You can’t perform that action at this time.