Skip to content

Instantly share code, notes, and snippets.

remote: Waf: Leaving directory `/tmp/node/build'
remote: 'install' finished successfully (0.201s)
remote: DEST_OS: linux
remote: DEST_CPU: ia32
remote: Parallel Jobs: 1
remote: Product type: program
remote: => Installing npm
remote: Configuring node.js application...
remote: => Configuring database...
remote: => Configuring upstart...
script#pageTemplate(type='text/html')
tr.page
td.name
.tool
| <a data-bind='text: name, attr: {href: url}, click: clickAction'></a>
.thumb
| <img data-bind="attr: {src: thumb}" />
td.edit
.tool
a.write(data-bind='click: editMe', href='#')
io.setPath('/js/socketio-client/');
var socket = new io.Socket(null, {port: 100}),
game = ko.model(),
input = ko.model({
command: ko.observable('')
}),
canvas = document.getElementById('canvas'),
ctx = canvas.getContext('2d'),
commands = {
app.post('/app/download.:format', function(req, res) {
if (req.body.attachment) {
console.log("Format is " + req.params.format);