Skip to content

Instantly share code, notes, and snippets.


souparno majumder souparno

View GitHub Profile
marcusoftnet / getApp.js
Last active Aug 29, 2015
Simple GET test with supertest
View getApp.js
var app = require("express")();
app.get('/user', function(req, res){
res.send(200, { name: 'marcus' });
// In order to reach the app from other modules
// we need to export the express application
module.exports.getApp = app;
zachstronaut / gist:1184900
Created Aug 31, 2011
Stretch HTML5 canvas to fill window, preserving aspect ratio
View gist:1184900
* fullscreenify()
* Stretch canvas to size of window.
* Zachary Johnson
* See also:
You can’t perform that action at this time.