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
<div id="barras-governo"> | |
<div id="barra-brasil"> | |
<div class="barra"> | |
<ul> | |
<li class="acesso"><a href="http://www.acessoainformacao.gov.br" class="ai" title="Acesso à informação">www.sic.gov.br</a></li> | |
<li><a href="http://www.brasil.gov.br" class="brasilgov" title="Portal de Estado do Brasil">www.brasil.gov.br</a></li> | |
</ul> | |
</div> | |
</div> | |
</div> |
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
#include <iostream> | |
using namespace std; | |
/** | |
* Codigo que pede senha e login e testa se é iqual ao login salvo no proprio codigo para simplificar | |
* Escrito para o forum 2 de algoritmos | |
* @author Alberto Souza <[email protected]> www.albertosouza.net | |
**/ | |
int main (){ | |
int login, senha, loginEfetuado, senhaDigitada, loginDigitado, numero1, numero2, resultado; | |
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
#include <iostream> | |
using namespace std; | |
/* | |
Codigo que pede senha e login e testa se é iqual ao login salvo no proprio codigo para simplificar | |
Escrito para o forum 2 de algoritmos | |
*/ | |
int main (){ | |
int x, login, senha, loginEfetuado, senhaDigitada, loginDigitado, numero1, numero2, resultado; | |
/* Dados de login ... é só um exercicio de loop ;) para o forum */ |
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
#include <iostream> | |
using namespace std; | |
/** | |
* Codigo que pede senha e login e testa se é iqual ao login salvo no proprio codigo para simplificar | |
* Escrito para o forum 2 de algoritmos momento 2 | |
* @author Alberto Souza <[email protected]> www.albertosouza.net | |
**/ | |
int main (){ | |
int login, senha, loginEfetuado, senhaDigitada, loginDigitado, numero1, numero2, resultado; | |
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
#! /bin/bash | |
# Script to run app.js with supervision and ignore folders | |
supervisor -i .tmp/,.git/,node_modules/,views/,assets/images/,assets/linker/templates,assets/templates,assets/js/angularjs,assets/angularjs/main.js app.js | |
#supervisor -i .tmp/,.git/,node_modules/,views/ -- --debug=5555 app.js |
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
# Cakefile | |
{exec} = require "child_process" | |
option '', '--grep [string]', 'only run tests matching <pattern>' | |
REPORTER = "spec" | |
task "test", "run all tests", (options)-> | |
grep |
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
pc:~/projetos/we-up(master)$ jitsu deploy --debug | |
info: Welcome to Nodejitsu albertosouza | |
info: jitsu v0.13.15, node v0.10.26 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node app.js | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/apps/albertosouza/we', | |
debug: headers: | |
debug: { Authorization: '*************************************************************************', |
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 extend = require('util')._extend; | |
var async = require('async'); | |
var Waterline = require('../node_modules/sails/node_modules/waterline'); | |
var couchdb = require('sails-couchdb-orm'); | |
var config = require('../config/adapters').adapters.couchdb; | |
couchdb.config = extend(couchdb.defaults, config); | |
module.exports = bootstrap; |
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
#include <iostriam> | |
using namespace std; | |
// struct livro | |
struct livro { | |
// nome do livro | |
char nome[100]; | |
// codigo do tipo de livro | |
int codigo; | |
}; |
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
module.exports = { | |
adapter:'exampleDB', | |
//tableName:'locale', | |
attributes: { | |
text: { | |
type: 'string' | |
}, | |
// locale config |
OlderNewer