README is empty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
get: function (req, res) { | |
res.sendfile(req.path.substr(1)); | |
}, | |
_config: { | |
rest: false, | |
shortcuts: false | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _getTransitionEvent = function(){ | |
if(this._transition) return this._transition; | |
var transitions = { | |
'transition':'transitionend', | |
'OTransition':'oTransitionEnd', | |
'MozTransition':'transitionend', | |
'WebkitTransition':'webkitTransitionEnd' | |
}; | |
return _transition = (function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var xmpp = require('node-xmpp'), | |
secret = require('./secret'), | |
util = require('util'); | |
var creds = { | |
jid: '[email protected]', | |
password: secret.pw, //string | |
}; | |
var GChat = function(creds) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _hasProp = {}.hasOwnProperty, | |
_inherit = function (child, parent) { | |
for (var key in parent) { | |
if (_hasProp.call(parent, key)) child[key] = parent[key]; | |
} | |
if(typeof child === 'string') child = self; | |
function ctor() { | |
this.constructor = child; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(authorname) %(refname:short)' | |
#2014-03-18 goliatone 251_how_a_bill_becomes_a_law_html_css | |
#2014-03-18 goliatone 292_what_you_can_do_timestamping | |
#2014-03-18 goliatone 138_WYCD_data_viz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nweb README for version 23 | |
1) Bug fixed - was duplicating errors in the nweb.log file | |
- thanks to Kieran Grant for stopping this and pointing out the fix. | |
2) Added support for favicon.ico - if nothing elase this will stop annoying | |
errors in the log file. Most browsers on first encountering a webpage | |
also ask for this file. The name mean favourite icon - Wikipedia has | |
more on this. It is a tiny Bit Map image (normally called .bmp and | |
BMP editors can be used to create one - I used Windows Paint) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getGetOrdinal(n) { | |
var s=["th","st","nd","rd"], | |
v=n%100; | |
return n+(s[(v-20)%10]||s[v]||s[0]); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
'git-describe': { | |
options: { | |
prop: 'meta.revision' | |
}, | |
me: {} | |
}, |