Skip to content

Instantly share code, notes, and snippets.

var MOREIA_DE_MANA = 'Moreia de Mana';
var IMAGEM_ESPELHADA = 'Imagem Espelhada';
var deck,
hand,
matches = 0,
perfectHand = 0;
/**
* (Re)inicializa variáveis.
Ambar:temp andrecaribe$ unzip -t B1L12.zip
Archive: B1L12.zip
testing: medias/images/q_426_256x256.jpg OK
testing: medias/images/q_427_256x256.jpg OK
testing: medias/images/q_428_256x256.jpg OK
testing: medias/images/q_429_256x256.jpg OK
testing: medias/images/q_430_256x256.jpg OK
testing: medias/images/q_431_256x256.jpg OK
testing: medias/images/q_432_256x256.jpg
error: invalid compressed data to inflate
@andrecaribe
andrecaribe / node-archiver-append.js
Created August 3, 2013 02:24
"bad zipfile offset (local header sig)"
fs.writeFile(jsonFile, json, function (err) {
if (err) {
res.send(500, JSON.parse('{"code": 500, "description":"' + err + '"}'));
return;
}
var fileName = pathToFiles + "exercises/B" + req.params.bookId + "L" + req.params.lessonId + ".zip";
var output = fs.createWriteStream(fileName);
var archive = archiver('zip');
@andrecaribe
andrecaribe / JS-FuzzyTest.html
Created April 29, 2013 01:03
JS-Fuzzy Test
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Fuzzy Logic</title>
</head>
<script src="./presentation.js"></script>
<script src="./raphael-min.js"></script>
<body onLoad="presentation();">
<h1>Input Variables:</h1>
@andrecaribe
andrecaribe / tools-sound.md
Created April 18, 2013 15:49
A list with nice links about sound and music
@andrecaribe
andrecaribe / tools-css.md
Created April 18, 2013 15:37
A list with nice CSS tools
@andrecaribe
andrecaribe / tools-javascript.md
Last active December 16, 2015 09:29
A list with nice javascript tools.