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
QUESTAO B | |
Bolos da Maria | |
Por Fabio Lima, Universidade de São Paulo - São Carlos BR Brazil | |
Timelimit: 1s | |
Dona Maria é uma senhora que está aposentada e faz doces. Ela começou a fazer bolos para complementar a renda da família. | |
Para fazer um bolo, Dona Maria precisa de certa quantidade de alguns ingredientes diferentes. Cada ingrediente tem um custo fixo por unidade. Ela tem uma quantia de dinheiro D máxima para gastar na compra dos ingredientes. Dentre os tipos de bolos que existem, você deve escolher apenas um tipo, de maneira a maximizar a quantia de bolos. |
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
h1. Tô de Olho! | |
http://todolho.com.br | |
!http://164.41.86.12/redm/attachments/download/28/logotodelho.jpg! | |
Bem vindos ao projeto Tô de olho,O projeto abrange um sistema de integração entre toda a população brasileira e as informações fornecidas dos convênios e contratos de Repasse da administração pública feitos por do país. A intenção da solução de software é dar oportunidade para qualquer cidadão acompanhar os gastos de seu governo e dar voz as reclamações da população. | |
h2. Integrantes da Equipe de Desenvolvimento |
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
Levando em consideração que uma VM CENTOS 6.5 esteja criada | |
1- Entrar na pasta raiz do projeto https://github.com/colab-community/colab.git | |
2- Criar arquivo project_cfg.py (exemplo no gist) na raiz do projeto | |
3- Agora dentro da pasta do src/colab você irá copiar o arquivo local_settings-dev.py para local_settings-lappis.py (lappis é o nome que está no evnvironments , em project_cfg.py) | |
4- Abra o arquivo local_settings-lappis.py e altere a variável allowed_hosts colocando o ip da VM. | |
5- Volte a raiz do projeto e vá para puppet/hieradata/ | |
6- Abra o arquivo common.yaml | |
7- Adicione o ip da máquina da seguinte forma: | |
colab::hostnames: |
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> | |
#include <string> | |
#include <map> | |
using namespace std; | |
//na primeira vez que esse código for executado, por exemplo, para um fib(4), | |
//ele vai ter que calcular respectivamente o fib(2) e fib(3), porem, quando eu | |
//chamar um fib(5), como os resultados anteriores ja estarão armazenados no map e o | |
//valor será retornado sem nenhum calculo adicional, e com isso, teremos um bom ganho no tempo de execução. |
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
Diego Araújo 11:01 | |
vagrant? | |
Thiago RIbeiro 11:11 | |
- instalar tomcat | |
Diego Araújo 11:13 | |
analizo --version | |
Thiago RIbeiro 11:14 |
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
em start(){ | |
....... | |
daemon supervisord -c /etc/supervisord.conf | |
..... | |
} |
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
Colocar o ip no browser_id | |
local_setings.py | |
a variável SITE_URL = ip(ou dominio) |
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
sudo /usr/lib/mailman/bin/mmsitepass -c minhasenha |
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
10:57 AM <terceiro> thiagovsk: descobri | |
10:57 AM <terceiro> inet_interfaces = localhost | |
10:58 AM <terceiro> o postfix só está escutando na interface local | |
10:59 AM <terceiro> foi | |
11:00 AM <terceiro> # grep ^inet_in main.cf | |
11:00 AM <terceiro> inet_interfaces = localhost, 10.132.234.136 | |
11:00 AM <terceiro> pronto | |
1) habilitar rede privada |
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
vm com o pacote rpm -> ip: 104.131.223.206 | |
10:49 AM <alexandreab> usuário: root | |
10:49 AM <alexandreab> senha: a se dempre | |
10:49 AM <alexandreab> arquivo rpm: /tmp/gitlab-spb_novo.el6.x86_64.rpm | |
10:50 AM <alexandreab> já instalei esse pacote em outra vm limpa (162.243.88.56) | |
104.131.223.206 - Criando RPM | |
162.243.88.56 - Instalando o RPM | |
Passos para 4 de setembro: |