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
| exports['clinic totals'] = function(test) { | |
| var args = { group_level: 1 }; | |
| var sum = function(data) { | |
| var t = 0; | |
| for (var i in data.rows) { | |
| t += data.rows[i].value; | |
| } | |
| return t; | |
| }; |
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 clone https://github.com/caolan/kanso | |
| cd kanso | |
| git checkout dev | |
| make install |
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
| """ | |
| Phenny module for a readthedocs.com docs push. | |
| """ | |
| import urllib2 | |
| def readthedocs(phenny, input): | |
| """Start a docs build on medic-dashboard.readthedocs.org.""" | |
| req = urllib2.Request(url='http://readthedocs.org/build/806', data='') | |
| f = urllib2.urlopen(req) | |
| res = f.read() |
NewerOlder