Skip to content

Instantly share code, notes, and snippets.

View kylenstone's full-sized avatar

Kyle kylenstone

  • Save Your Generation
  • Boulder, Colorado
View GitHub Profile
@kylenstone
kylenstone / index.js
Created September 13, 2020 17:32 — forked from arv25/index.js
Lambda calling lambda with trace id
// Lambda 1 - arv-foo
// Synchronous fn that will back API Gateway endpoint.
const AWS = require('aws-sdk');
const lambda = new AWS.Lambda();
const getRandomInt = (max) => Math.floor(Math.random() * Math.floor(max));
exports.handler = async (event, context) => {
console.log("event:", event)
@kylenstone
kylenstone / .block
Created March 2, 2020 02:45 — forked from mbostock/.block
Force-Directed Symbols
license: gpl-3.0