Skip to content

Instantly share code, notes, and snippets.

View jinman's full-sized avatar

Jinesh Varia jinman

View GitHub Profile
@realadeel
realadeel / dash_lambda_food.js
Last active April 2, 2018 13:48
Pressing an Amazon AWS IoT Button to Find the Rright Restaurant - Node.js on AWS Lambda
var AWS = require('aws-sdk');
var sns = new AWS.SNS();
var GoogleMaps = require('googlemaps');
var GooglePlaces = require('node-googleplaces');
var weather = require('openweather-apis');
var stripe = require('stripe')(STRIPE_SECRET_KEY);
var googleConfig = { key: GOOGLE_API_KEY };
var maps = new GoogleMaps(googleConfig);
var places = new GooglePlaces(googleConfig.key);
var direction_params = {
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active April 19, 2024 01:50
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html