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
<!-- jQuery and UI --> | |
<script src='".base_url()."/static/elrte/js/jquery-1.6.1.min.js' type='text/javascript' charset='utf-8'></script> | |
<script src='".base_url()."/static/elrte/js/jquery-ui-1.8.13.custom.min.js' type='text/javascript' charset='utf-8'></script> | |
<link rel='stylesheet' href='".base_url()."/static/elrte/css/smoothness/jquery-ui-1.8.13.custom.css' type='text/css' media='screen' title='no title' charset='utf-8'> | |
<!-- CSS for widgets --> | |
<link rel='stylesheet' href='".base_url()."/static/elrte/src/ellib/css/elcommon.css' type='text/css' media='screen' charset='utf-8'> | |
<link rel='stylesheet' href='".base_url()."/static/elrte/src/ellib/css/elcolorpicker.css' type='text/css' media='screen' charset='utf-8'> | |
<link rel='stylesheet' href='".base_url()."/static/elrte/src/ellib/css/eldialogform.css' type='text/css' media='screen' charset='utf-8'> | |
<link rel='stylesheet' href='".base_url()."/static/elrte/src/ellib/css/elpaddinginput.css' type='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
mount -t nfs -o resvport,nolocks,locallocks,intr,soft,wsize=32768,rsize=3276 \ 192.168.0.100:/export/secondario /mnt/secondary | |
## link for auto_mount nfs on mac | |
http://apple.stackexchange.com/questions/102092/mount-linux-nfs-share-on-mountain-lion-10-8-5 |
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
BETHEA, Cooper. EXPERIENCES DEPLOYING MONGODB ON AWS. Disponí- | |
vel em: <http://www.mongodb.com/presentations/experiences-deploying-mongodb-aws>. | |
Acesso em: 17 de fevereiro de 2015. | |
COLEMAN, Tom. GREIF, Sasha. DISCOVER METEOR: Building Real-Time | |
JavaScript Web Apps. Disponível em: <https://book.discovermeteor.com/> Acesso em: | |
15 de março de 2015. | |
DEBERGALIS, Matt . Introducing DDP. Disponível em: <https://www.meteor. | |
com/blog/2012/03/21/introducing-ddp>. Acesso em: 15 de fevereiro de 2015. |
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
//Eventos recebendo objeto | |
var gSonServerEvent0 = function() { | |
websocketClient.subscribe("/topic/atividades", function(message) { | |
var run = function(data) { | |
return gs.mc($("#teste"),"append",[gs.plus((gs.plus("<p>", data)), "</p>")]); | |
}; | |
run(gs.toGroovy(jQuery.parseJSON(message.body), null)); | |
}); | |
}; |
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
let numeros = [1,2,3,4,5,6,7,8,9,10]; | |
let pares = numeros.filter(n => n%2 == 0) |
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
let numeros = [9,16,25,36,49]; | |
let numerosRaiz = numeros.map(n => Math.sqrt(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
let numeros = [1,2,3,4] | |
let soma = numeros.reduce((valorAnterior, valorAtual) => valorAnterior + valorAtual); |
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
let numeros = [1,2,3,4] | |
let soma = numeros.reduce((valorAnterior, valorAtual) => valorAnterior + valorAtual, 30); |
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
let profissionais = [ | |
{nome: "João", salario: 5000, idade: 27}, | |
{nome: "Lucas", salario: 7000, idade: 37}, | |
{nome: "Pedro", salario: 5500, idade: 35}, | |
{nome: "Thiago", salario: 4500, idade: 24}, | |
{nome: "Felipe", salario: 4500, idade: 23}, | |
{nome: "Alexandre", salario: 4000, idade: 20}, | |
] | |
let somaSalariosAte30Anos = profissionais |
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
let soma = (a, b) => a + b; | |
soma(1,5) | |
//6 |
OlderNewer