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
ZSH_THEME="agnoster" | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
alias fixKeyboard='setxkbmap -model abnt -layout us -variant intl' | |
alias fixAltTab='killall -SIGQUIT gnome-shell && fixKeyboard' | |
alias sextou='ponto' |
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
Relational Databases | |
- Aurora: Mysql and PostgreSQL compatible. Easy to auto scale | |
- RDS: MySQL, PostgreSQL, MariaDB | |
- Redshift: Huge Databases, up to 8 PB of compressed data | |
NoSQL | |
- DynamoDB | |
- DocumentDB: MongoDB compatible | |
- Keyspaces: Apache Cassandra compatible |
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
Items = rows | |
Hash Key: Partition Key | |
Range Key: Sort Key | |
Primary key: | |
- Partition key | |
- Partition key + Sort Key (unique) | |
LSI (Local Secondary Index): use when partition key is the same of the primary key |
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
Principal fundamento: Fazer entregas pequenas e rápidas ao invés de grandes entregas de uma vez | |
Integração Contínua (CI) significa integrar as alterações no mainline (master ou trunk) diariamente | |
Aplicando Integração Contínua corretamente, diminuímos os problemas de integração (como merge hell), melhoramos a comunicação entre desenvolvedores e antecipamos a descoberta de bugs | |
Branching models (Estratégias de ramificação): | |
Feature branch: Cada nova feature a ser implementada é separada em uma branch. Principal desvantagem é o distanciamento da branch principal. | |
Github flow: Tudo que possui na feature branch, mais pull-requests. Principal vantagem é o code review porém isso pode ser visto como um impedimento. | |
https://guides.github.com/introduction/flow/ |
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
docker ps - exibe todos os containers em execução no momento. | |
docker ps -a - exibe todos os containers, independentemente de estarem em execução ou não. | |
docker run -it NOME_DA_IMAGEM - conecta o terminal que estamos utilizando com o do container. | |
docker start ID_CONTAINER - inicia o container com id em questão. | |
docker stop ID_CONTAINER - interrompe o container com id em questão. | |
docker start -a -i ID_CONTAINER - inicia o container com id em questão e integra os terminais, além de permitir interação entre ambos. | |
docker rm ID_CONTAINER - remove o container com id em questão. | |
docker container prune - remove todos os containers que estão parados. | |
docker rmi NOME_DA_IMAGEM - remove a imagem passada como parâmetro. |