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 sessions = {} | |
var app = require("express").createServer(); | |
app.get("/:sessionid/:key", function(req, res) { | |
// Get the current session or create one | |
var session = sessions[req.params.sessionid] || (sessions[req.params.sessionid] = {}); | |
res.send(session[req.params.key]); | |
}); | |
app.post("/:sessionid/:key", function(req, res) { |
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 corrida = function(){ | |
var vencedor = [].shift.call(arguments); | |
var competidores = [].slice.call(arguments); | |
alert(competidores); | |
} |
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
$("a:visible:not([tabindex]:visible a, #tabela1 a, a:visible a)") |
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 http = require("http"); | |
function fibonacci(n, callback) { | |
if (n < 2) return 1; | |
if (callback) | |
setTimeout(function () { callback(fibonacci(n - 2) + fibonacci(n - 1)) }, 0); | |
else | |
return fibonacci(n - 2) + fibonacci(n - 1); | |
} |
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
DO WTF YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Alexey Silin <pinkoblomingo@gmail.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WTF YOU WANT TO PUBLIC LICENSE |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Sidney Filho</string> | |
<key>name</key> | |
<string>Dark Night</string> | |
<key>settings</key> | |
<array> |
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
[ | |
{ | |
"i": 1, | |
"A1_COD": "000055", | |
"A1_LOJA": "01", | |
"A1_NOME": "2TREE CONSULTORIA E MEIO AMBIENTE LTDA", | |
"A1_NREDUZ": "2TREE CONSULTORIA", | |
"A1_PESSOA": "J", | |
"A1_TIPO": "F", | |
"A1_END": "R JEQUITIBA", |