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
Global callback for all pjax? | |
pjax success | |
Easy way to re-instate JS bindings? | |
None so far, maybe using the global callback mentioned above. | |
Leaking old handlers for removed dom? |
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
<p>Global callback for all pjax?</p> | |
<pre><code>pjax success | |
</code></pre> | |
<p>Easy way to re-instate JS bindings?</p> | |
<pre><code>None so far, maybe using the global callback mentioned above. | |
</code></pre> |
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
# Start indices on correct side of keyboard | |
set-option -g base-index 1 | |
# Easier splits | |
unbind-key '"' | |
unbind-key % | |
bind-key | split-window -h | |
bind-key _ split-window -v | |
# Resize and navigate splits |
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
var _i = require('util').inspect; | |
function debug () { | |
Array.prototype.forEach.call(arguments, function (arg) { | |
console.log("DEBUG: "+ _i(arg)); | |
}); | |
}; |
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
<!-- Just replace **USERNAME** by your github username :-) --> | |
<style> | |
#followGithub { | |
color: #121516; | |
text-shadow: 0 1px 1px #ccc; | |
padding: 0.2em 0.4em; | |
-moz-border-radius: 5px; | |
-webkit-border-radius: 5px; | |
border-radius: 5px; |
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
require('http'); | |
function wget (host, path, https, callback) { | |
var port = (https)? 443: 80, | |
client = http.createClient(port, host, https), | |
request = client.request('get', path, { 'host': host }), | |
response_body = ''; | |
request.end(); | |
request.on('response', function (response) { |