This file contains 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
snd-bcm2835 | |
vc4 |
This file contains 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
const token = process.env.SLACK_TOKEN | |
const Slack = require('slack') | |
const bot = new Slack({token}) | |
const CHANNEL = process.argv[2]; | |
const SINCE = process.argv[3]; | |
const UNTIL = process.argv[4]; | |
function toSlackTime(t) { | |
return new Date(t).getTime() / 1000.0; |
This file contains 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
mod opengl; | |
mod data; | |
use opengl::*; | |
extern { | |
//fn consoleLog(x: u32); | |
fn playAudio(audio_ptr: *const f32, audio_len: u32); | |
fn setScore(left: u32, right: u32); | |
} |
This file contains 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
diff --git a/ckan/config/middleware/__init__.py b/ckan/config/middleware/__init__.py | |
index 73af42fa2..a958d8e42 100644 | |
--- a/ckan/config/middleware/__init__.py | |
+++ b/ckan/config/middleware/__init__.py | |
@@ -127,8 +127,19 @@ class AskAppDispatcherMiddleware(object): | |
* CKAN_CURRENT_URL is set to the current application url | |
''' | |
+ # Ensure URL encoding | |
+ for var in ('PATH_INFO', 'REQUEST_URI', 'QUERY_STRING'): |
OlderNewer