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
function nextDay() { | |
var date = new Date(2014, month, now + 1); | |
now = date.getDate(); | |
return date; | |
} | |
var month = 9, | |
now = 0, | |
max = 50, | |
curr; |
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 utils = {}; | |
utils.vogal = function (str) { | |
var h = Object.prototype.hasOwnProperty, | |
v = (str + '').replace(/[^aeiou]/g, ''), | |
d = {}, | |
n; | |
for (var i in v) { | |
n = v[i]; | |
if (h.call(d, n)) { |
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 CPF = (function () { | |
var eleven = 11; | |
function mod(n) { | |
var t = eleven, | |
a = n % t; | |
return (a < 2 ? 0 : t - n % t) + ''; | |
} |
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
/* Foca no código | |
.---. | |
/o o\ | |
__(= " =)__ | |
//\'-=-'/\\ | |
) (_ | |
/ `"=-._ | |
/ \ ``"=. |
NewerOlder