Helper for parsing, encoding and decoding query strings
Parses a querystring, returning table of url decoded tokens.
Optionally override the default separator ('&') and assignment ('=') characters.
| (defun rls/js-cleanup () | |
| "Cleanup Javascript files" | |
| (interactive) | |
| (indent-region (point-min) (point-max)) | |
| (whitespace-cleanup)) | |
| ;; ensure javascript files are always cleaned before saving | |
| (add-hook 'js-mode-hook | |
| (lambda () | |
| (add-hook 'before-save-hook 'rls/js-cleanup nil 'make-it-local))) | 
| // Rob's special dvorak. Pretty much identical to the UK punctuation dvorak | |
| // but the @ and " are swapped | |
| partial alphanumeric_keys | |
| xkb_symbols "dvorakrob" { | |
| include "gb(dvorakukp)" | |
| name[Group1]="English (UK, Dvorak with Rob Style punctuation)"; | |
| key <AE02> { [ 2, at ] }; | |
| key <AC11> { [apostrophe, quotedbl, dead_circumflex, dead_caron] }; | 
| "use strict"; | |
| var tls = require('tls'); | |
| var fs = require('fs'); | |
| var port = 7001; | |
| var keyFile = './server.key.pem'; | |
| var certFile = './server.cert.pem'; | |
| var caFile = './server.cert.pem'; | |
| var server = tls.createServer({ | 
| ## Quickly get a suitable testing environment for PHP | |
| ## all commands run as root | |
| # install pear | |
| apt-get install php-pear php5-curl | |
| pear config-set auto_discover 1 | |
| # upgrade pear | |
| pear upgrade pear |