Skip to content

Instantly share code, notes, and snippets.

Avatar

Srinivas skippy123

View GitHub Profile
View gulp pipe debugger
var through = require('through2')
.pipe(through.obj(function (chunk, enc, cb) {
console.log(chunk._contents.toString())
cb(null, chunk)
}))
function buildUserscript() {
// Helpers
gutil.log('Building userscript');
@skippy123
skippy123 / index.js
Last active Jul 6, 2016
requirebin sketch
View index.js
// 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 config = {
debug: true,
url: "https://localhost:3001",
routes: {
bundled_message_url: "/",
login: "/login",
get_user_config: "/getUserConfig",
@skippy123
skippy123 / interview
Created May 6, 2016
Interview questions for python Web services Backend Dev
View interview
http://collabedit.com/kj92a
Given a yaml file or a json file like below, expose a dict object that can
be used to hold file's contents in memory and access it's differnt elements.
#Sample content:
#logging:
# file: service.log
# level: INFO
#
You can’t perform that action at this time.