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
| Verifying that +ruidlopes is my openname (Bitcoin username). https://onename.com/ruidlopes |
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
| var namespace = (function(s) { | |
| return function(ns) { | |
| var current, scopes = ns.split("."), scope = s; | |
| while (current = scopes.shift()) | |
| scope = scope[current] = scope[current] || {}; | |
| return scope; | |
| }; | |
| })(typeof global !== "undefined" ? global : window); |
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
| var expectations = require("./expectations"); | |
| var f = function() { | |
| return "we're here"; | |
| }; | |
| var expect = expectations.create(f); | |
| // multiple bindings | |
| expect.on("checked", console.log); |
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.create = function(checkFunction, data, period) { | |
| var emitter = new (require("events").EventEmitter)(); | |
| var wrapper = function(data) { | |
| if (result = checkFunction(data)) | |
| emitter.emit("checked", result); | |
| else | |
| setTimeout(emitter.start, period || 1000); | |
| }; | |
| emitter.start = function () { emitter.emit("start"); }; |
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
| \usepackage{ucs} | |
| \usepackage[utf8x]{inputenc} | |
| \usepackage[T1]{fontenc} |
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
| $(function() { | |
| $.getJSON(window.location, function(json) { $m(json); }); | |
| }); |
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
| function hack() { | |
| mkdir -p $1 | |
| cd $1 | |
| git init | |
| mate . | |
| } |
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
| awk '{print "wget -qO- " $1"sizes/o/ | grep allsizes-photo -A 2 | grep img | awk -F\\\" '"'"'{print $2}'"'"' | xargs wget -O " NR ".jpg"}' urls.txt | sh |