Skip to content

Instantly share code, notes, and snippets.

View RoyTinker's full-sized avatar

Roy Tinker RoyTinker

View GitHub Profile
@AWolf81
AWolf81 / index.js
Created September 24, 2015 19:33
Connect serve static example
var connect = require('connect'),
http = require('http'),
serveStatic = require('serve-static'),
app = connect(),
server;
app.use(serveStatic("./angularjs"));
server = http.createServer(app);
@ryanlabouve
ryanlabouve / environment.js
Last active March 1, 2016 05:03
Ember CLI - contentSecurityPolicy
// config/environment.js
// This is not for production. But it will get your
// console to stop screaming errors if your messing
// around with ember cli
module.exports = function(environment) {
//lots of stuff
// <Add this chunk>