Skip to content

Instantly share code, notes, and snippets.

View ncb000gt's full-sized avatar
💭
Slapping keyboard...

Nick Campbell ncb000gt

💭
Slapping keyboard...
View GitHub Profile
@ncb000gt
ncb000gt / tako-template-reload.js
Created August 6, 2012 02:10
Tako template reloads.
var tako = require('tako'),
path = require('path'),
watch = require('watch'),
app = tako(),
templates = app.templates;
var templatePath = path.join(__dirname, 'templates');
templates.directory(templatePath);
watch.watchTree(templatePath, function() {
console.log('reload templates');
@ncb000gt
ncb000gt / fixit.coffee
Created August 9, 2012 17:32
fixit script for hubot. Simple and to the point.
# Description:
# Hubot provides some encouragement to fix it.
#
# Configuration:
# None
#
# Author:
# ncb000gt
fixit = 'http://www.youtube.com/watch?v=p6PZhONZ3Ac'
@ncb000gt
ncb000gt / gist:4055497
Created November 11, 2012 16:54
bearshark deploy
prompt: Is this ok?: (yes)
info: Creating snapshot 0.0.0-16
info Uploading: [=============================] 100%
info: Updating app nko3-team-bearshark
info: Activating snapshot 0.0.0-16 for nko3-team-bearshark
info: Starting app nko3-team-bearshark
error: Error running command deploy
error: socket hang up
info:
info: jitsu's client request timed out before the server could respond
### Keybase proof
I hereby claim:
* I am ncb000gt on github.
* I am ncb000gt (https://keybase.io/ncb000gt) on keybase.
* I have a public key ASCXe6CHpdJM8EyHicb7sY_Pe8loMc9KfGgK78Fs3rZ-uAo
To claim this, I am signing this object: