Skip to content

Instantly share code, notes, and snippets.

souparno majumder souparno

Block or report user

Report or block souparno

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
@marcusoftnet
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
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
* http://www.zachstronaut.com/
*
* See also: https://gist.github.com/1178522
*/
You can’t perform that action at this time.