Skip to content

Instantly share code, notes, and snippets.

View greg-hellings's full-sized avatar

Greg Hellings greg-hellings

View GitHub Profile
diff --git a/src/main/display.cc b/src/main/display.cc
index 156d226..e532023 100644
--- a/src/main/display.cc
+++ b/src/main/display.cc
@@ -1137,10 +1137,10 @@ GTKChapDisp::getVerseBefore(SWModule &imodule)
key->setAutoNormalize(oldAutoNorm);
+ key->setTestament(curTest);
key->setBook(curBook);
function outter() {
var out = '';
function inner() {
if(typeof out === 'undefined') {
console.log('undef');
} else {
console.log('def');
}
var out = 3;
}
foreach($images as $image) {
if($image->accountPublisher != '' && !in_array($image->accountPublisher, $resultAccounts)) {
$resultAccounts[] = $image->accountPublisher;
}
}
$this->view->accounts = $resultAccounts;
$this->view->images = $images;
class PostHandler(web.RequestHandler):
"""
only authorized parties can post messages
"""
def post(self):
if hmac_key and not 'signature' in self.request.arguments: return 'false'
if 'message' in self.request.arguments:
message = self.request.arguments['message'][0]
group = self.request.arguments.get('group',['default'])[0]
print '%s:MESSAGE to %s:%s' % (time.time(), group, message)