Skip to content

Instantly share code, notes, and snippets.

View smarajitdasgupta's full-sized avatar

Smarajit Dasgupta smarajitdasgupta

  • Sydney, Australia
View GitHub Profile
@smarajitdasgupta
smarajitdasgupta / dabblet.css
Created January 18, 2018 05:43
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@smarajitdasgupta
smarajitdasgupta / index.js
Created July 11, 2017 04:25
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
var fs = require('fs'),
JSONStream = require('JSONStream'),
es = require('event-stream');
var getStream = function () {
var jsonData = 'http://api.yummly.com/v1/api/metadata/ingredient?_app_id=1ec27dec&_app_key=ef78a12f28358f52077bb10d670efcee',