Segurança
This file contains hidden or 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
$.ajax({ | |
type: "GET", | |
url: "/aluno/"+idaluno, | |
dataType: 'json', | |
success: function(data){ | |
modal.find('.modal-title').text('Editar aluno: ' + data.name); | |
modal.find('.modal-body input#name').val(data.name); | |
modal.find('.modal-body input#age').val(data.age); | |
modal.find('.modal-body input#forcelevel').val(data.forcelevel); | |
} |
This file contains hidden or 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
CREATE TABLE funcionario( | |
id Serial Primary Key, | |
nome varchar(64), | |
cpf char(9)[], | |
salario char(20)[], | |
genero char(1), | |
data_nascimento date, | |
endereco varchar(64) | |
); |
This file contains hidden or 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
--O Número de vendas de cada carro em ordem decrescente | |
SELECT carro.id, count(venda.id) AS quantidade_vendas | |
FROM carro | |
LEFT OUTER JOIN venda ON (carro.id = venda.id_carro) | |
GROUP BY (carro.id) | |
ORDER BY count(venda.id) DESC | |
--O Número de vendas por cor do carro em ordem decrescente | |
SELECT carro.cor, count(venda.id) AS quantidade_vendas | |
FROM carro |
This file contains hidden or 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
from random import randint | |
def novaPosAeatoriaGato(labirinto, tabelaCustos): | |
x = randint(0, len(labirinto[0])) | |
y = randint(0, len(labirinto)) | |
if labirinto[y][x] == '0': | |
return aleatorioGato(labirinto, tabelaCustos) | |
return x,y |
This file contains hidden or 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
CREATE OR REPLACE FUNCTION sexoVendedorPorModelo(varchar(64)) | |
RETURNS character(1) AS | |
$$ | |
DECLARE | |
sex character(1); | |
quantity int := 0; | |
c record; | |
BEGIN | |
FOR c IN |
This file contains hidden or 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
#cloud-config | |
## include one or more SSH public keys | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQD0+T4Uy20iuWp+Z/B/+BFL8+IRHCFHzTzHLhfSqYlorB4D/pzk1qAFYhgv3m/1NHHUHdNHeI5joFDByfeMYQ5TTheJCxDaNQB1pmEz3Z+b836SLmgUN8QlNXk1mCg/sKWR94asQ056yqVZKgagBizc1T3SVjGMPo5xzfsBLrSAZarZfxti7ikjnNDooERmtYlguiZBFBjV1ijS5WNZEmg192dCVFToBQqxSol/IVGXgEuXSqhLOWObBaPATQ3AoSfw8qZpfUD+WXAxePWwoFOVICz6gm1j4wSAZmR4xzK6uAaR4qURV1+mcWaIlgFtT2q/6zkd3b6e8vE6mogeFcv9bxe82pyOUGgxGKIGoGk9eE9NBIkWp0DmH8I6m0OaoF05asRnqNcVZ9bUF7lxNt8NjoypGSkgUrZgZ2CfNhW3+bfXcI1sk27qyEITBhrEU+vVuNXdMHfqNyJjsR/hqxoo3Cng17wSQqav3KrTs9qwya4gWzqDB7rXoi7VfQdx1kfxElUfcjV15gI0+CczySNnYGcZiF7JKNDguP5V/9bfjXnyiVzqfsfHVsBsSFwnzg5Yp/3TxwS67DMh6/BuJYaw4NtRXwEIl1d1ByVJl34JPD2ONomvzoYEdny505Ly9SOjTcXCEQ6ZIjUtSxkoSTLF2Bty4KF8dn/wy1VxigwCoQ== [email protected] |
This file contains hidden or 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
http://git-scm.com/ | |
https://github.com/ | |
http://rogerdudler.github.io/git-guide/ | |
https://try.github.io/levels/1/challenges/1 | |
https://learnxinyminutes.com/docs/git/ | |
http://i.stack.imgur.com/4YJFs.jpg | |
https://www.atlassian.com/pt/git/migration/pageSections/00/contentFullWidth/0/tabs/03/pageSections/0/contentFullWidth/0/content_files/file0/document/git-migration-centralized-vs-distributed.png | |
http://techidiocy.com/wp-content/uploads/2013/08/svn-repo.png | |
https://www.git-tower.com/learn/content/01-git/01-ebook/01-command-line/07-appendix/03-from-subversion-to-git/centralized-vs-distributed.png | |
https://www.youtube.com/watch?v=P_02QGsHzEQ |
This file contains hidden or 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
# Main link! | |
https://atom.io/packages/sync-settings |
OlderNewer