start new:
tmux
start new with session name:
tmux new -s myname
/* MAX7219 Interaction Code | |
* --------------------------- | |
* For more information see | |
* http://www.adnbr.co.uk/articles/max7219-and-7-segment-displays | |
* | |
* 668 bytes - ATmega168 - 16MHz | |
*/ | |
// 16MHz clock | |
#define F_CPU 16000000UL |
app.use(express.methodOverride()); | |
// ## CORS middleware | |
// | |
// see: http://stackoverflow.com/questions/7067966/how-to-allow-cors-in-express-nodejs | |
var allowCrossDomain = function(req, res, next) { | |
res.header('Access-Control-Allow-Origin', '*'); | |
res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE'); | |
res.header('Access-Control-Allow-Headers', 'Content-Type, Authorization'); | |
/* | |
* object.watch polyfill | |
* | |
* 2012-04-03 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ |