http://stackoverflow.com/questions/27637609/understanding-passport-serialize-deserialize
http://toon.io/understanding-passportjs-authentication-flow/
| markmap | |
| # Agregador de Vinis MVP | |
| ## Funcionalidades Essenciais | |
| ### Busca e Listagem | |
| #### Busca por álbum/artista | |
| #### Listagem de resultados | |
| ##### Título | |
| ##### Artista | |
| ##### Preço |
| // Restify Server CheatSheet. | |
| // More about the API: http://mcavage.me/node-restify/#server-api | |
| // Install restify with npm install restify | |
| // 1.1. Creating a Server. | |
| // http://mcavage.me/node-restify/#Creating-a-Server | |
| var restify = require('restify'); |
| '.source.js': | |
| 'Console log': | |
| 'prefix': 'log' | |
| 'body': 'console.log("$1", $1)' |
| #include <stdio.h> | |
| int main() { | |
| int p,q; //resto, mdcVlr; | |
| printf("Informe P: \n"); | |
| scanf("%d", &p); | |
| printf("Informe Q: \n"); | |
| scanf("%d", &q); | |
| // resto = p % q; | |
| // mdcVlr = q % resto; |
| // Escrevendo de 1 a 10 | |
| algoritmo() { | |
| x inteiro; | |
| para x := 1 ate 10 passo 1 { | |
| escreva(x); | |
| } | |
| } |
| int n1[10], n2[10], i, j; | |
| for (i = 1; i <= 10; i++) { | |
| n2[i] = 0; | |
| for (j = 1; j <= 10; j++) { | |
| if (n1[i] == n1[j]) { | |
| n2[i]++; // Não sei se funciona auto incremento no vetor, qualquer coisa 1+1 | |
| } | |
| } | |
| if (n2[i] >= 2) { |
| http://librecad.org/cms/home.html | |
| http://archimedescad.github.io/Archimedes/ | |
| http://sourceforge.net/projects/pythoncad/ | |
| https://code.google.com/p/heekscad/ |
| <?php | |
| mysql_connect("localhost","root","root"); | |
| mysql_select_db("db"); | |
| $qryBlob = "SELECT data FROM tb_imagens limit 1"; | |
| $resBlob = mysql_query($qryBlob) or die('Error, query failed'); | |
| while($row = mysql_fetch_array($resBlob)) { | |
| $imgEncode = base64_encode($row['data']); |