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 | |
echo "Restarting bluetooth service..." | |
blueutil -p 0 && sleep 1 && blueutil -p 1 | |
echo "Waiting bluetooth service to be restored..." | |
until blueutil -p | grep "1" >/dev/null; do sleep 1; done | |
echo "Searching for devices not connected..." | |
devices=($(blueutil --paired | grep "not connected" | awk -F '[ ,]' '{print $2}')) |
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
Livros sobre Estratégias de Testes, meus favoritos: | |
- The "A" Word, Under the Covers of Test Automation: https://leanpub.com/TheAWord | |
// Super recomendo também o blog do Alan Page (http://angryweasel.com/blog/) que tem muuuita coisa legal e o podcast que ele fez recentemente com o Joe Colantonio (basicamente e destila em 50 min grande parte das ideias dele sobre automação e QA): http://joecolantonio.com/testtalks/44-alan-page-testing-software-at-microsoft-lessons-learned/ | |
- Working Effectively with Unit Tests: https://leanpub.com/wewut | |
// Esse livro me ajudou muuito!!! Os conceitos de Solitary and Sociable Tests que o cara descreve são super úteis para entender como usar mocks e como montar uma estratégia de testes automatizados eficientes. | |
- A Practitioner's Guide to Software Test Design: http://www.amazon.com/Practitioners-Guide-Software-Test-Design/dp/158053791X/ | |
// Basicamente toda a base teórica necessária para "desenhar" casos de testes caixa branca e caixa preta eficientes. A "Section II - White |
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
[ | |
// Sublime AutoComplete | |
{ "keys": ["ctrl+space"], "command": "auto_complete" }, | |
{ "keys": ["ctrl+alt+space"], "command": "replace_completion_with_auto_complete", "context": | |
[ | |
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" }, | |
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }, | |
{ "key": "setting.tab_completion", "operator": "equal", "operand": true } | |
] | |
}, |
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
thiago@d:~/we-b-ackend (master)$ vim /home/thiago/we-b-ackend/.git/hooks/post-checkout | |
thiago@d:~/we-b-ackend (master)$ cat /home/thiago/we-b-ackend/.git/hooks/post-checkout | |
#!/bin/bash | |
set -e | |
printf '\npost-checkout hook\n' | |
# Delete .pyc files and empty directories from root of project | |
cd ./$(git rev-parse --show-cdup) |
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
Coding kata: Refatorando aplicações web legadas sem medo | |
(*) Quem sou eu? | |
- Thiago Ghisi (@thiagoghisi): | |
2003 - SENAI e o Poder da Programação em Pascal. | |
2004 - Robocod Java | |
2005 - Técnico em Informática com Habilitação em Redes de Computadores |
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
1ª Criar um grupo de discussão; (Sugestão: Google Groups) | |
2ª Divulgar o grupo para o pessoal da sua região nas redes socias que você participa; | |
(Dica: Divulgação no Twitter é essencial) | |
3ª Fazer um spam para todos os seus contatos da área da sua região convidando para o grupo; | |
4ª Se você não for muito influente nas redes sociais ou não tiver muitos contatos, | |
solicitar para alguém que tenha ajudar na divulgação do grupo; | |
(Dica: O que vale nesse momento é fazer bastante barulho) |