Skip to content

Instantly share code, notes, and snippets.

Madhusudhan Srinivasa madhums

Block or report user

Report or block madhums

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
View forgot-password.jade
//- app/views/forgot-password.jade
extends ../layouts/default
block heading
h2.center= title
block content
br
form.form-horizontal.col-md-5.col-md-offset-4(action="/users/forgot-password", method="post", role="form")
@madhums
madhums / pancakes.md
Created Mar 16, 2016
pancake recepie
View pancakes.md

For 4 servings:

  • 125g floor
  • 250ml milk
  • 1-2 eggs

For 8-10 servings

  • 250g floor
  • 500ml milk
View data-structure.js
var layers = [
{
image: 'image 1',
x1: 0,
y1: 0,
x2: 100,
y2: 100
},
{
View browserify_for_webpack_users.markdown

browserify for webpack users

There's been a strange explosion in misinformation about browserify recently, particularly in comparisons to webpack.

Generally speaking, most of this confusion stems from how webpack is more willing to pull features into its core to ease discoverability while browserify is more likely to push features out to userland instead.

I think that longer-term, separability has more benefits from a maintenance and

@madhums
madhums / to-go.md
Last active Sep 3, 2015
pleinvrees heroes
View to-go.md
  • n'to
  • workals
  • oliver schoris
  • oliver koletzki
  • andhim
@madhums
madhums / AngularJS-ES6-Test-Skeleton
Last active Jun 30, 2017 — forked from busypeoples/AngularJS-ES6-Test-Skeleton
AngularJS - Karma, Jasmine, Browserify, Stringify - ES6 Test Setup
We couldn’t find that file to show.
@madhums
madhums / gin_html_render.go
Last active Aug 29, 2019
render html templates in gin (go)
View gin_html_render.go
// Package GinHTMLRender provides some sugar for gin's template rendering
//
// This work is based on gin contribs multitemplate render https://github.com/gin-gonic/contrib/blob/master/renders/multitemplate
//
// Usage
//
// router := gin.Default()
//
// // Set html render options
// htmlRender := GinHTMLRender.New()
@madhums
madhums / Makefile
Created Aug 5, 2015
Makefile for golang projects
View Makefile
.PHONY: build doc fmt lint dev test vet godep install bench
PKG_NAME=$(shell basename `pwd`)
install:
go get -t -v ./...
build: vet \
test \
go build -v -o ./bin/$(PKG_NAME)
@madhums
madhums / gulpfile.js
Created Jul 18, 2015 — forked from danharper/gulpfile.js
ES6 project with Babel, Browserify & Gulp
View gulpfile.js
'use strict';
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var browserify = require('browserify');
var watchify = require('watchify');
var babel = require('babelify');
You can’t perform that action at this time.