- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
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
| """IPython startup script to detect and inject VIRTUAL_ENV's site-packages dirs. | |
| IPython can detect virtualenv's path and injects it's site-packages dirs into sys.path. | |
| But it can go wrong if IPython's python version differs from VIRTUAL_ENV's. | |
| This module fixes it looking for the actual directories. We use only old stdlib | |
| resources so it can work with as many Python versions as possible. | |
| References: | |
| http://stackoverflow.com/a/30650831/443564 |
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
| # Executar no shell/bash com: bash install.sh | |
| # ------------------------------------------------------------------------------ | |
| # | Helpers | | |
| # ------------------------------------------------------------------------------ | |
| # Renderiza um log de informação | |
| e_informa() { | |
| printf "\n$(tput setaf 7)%s$(tput sgr0)\n" "$@" |
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
| #!/bin/bash | |
| ## Install Gogs v0.11.4 + Nginx Webserver + Mysql | |
| ## On Debian, Ubuntu 64Bits | |
| ## Author: Nilton OS -- www.linuxpro.com.br | |
| ## Version: 3.5 | |
| ### Tested on Ubuntu 16.04 LTS 64Bits | |
| ### Tested on Debian 8/9 64Bits | |
| echo 'install_gogs_ubuntu.sh' |
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
| # The definitive guide to setup my Python workspace | |
| # Author: Henrique Bastos <henrique@bastos.net> | |
| clear | |
| echo -e "\n>>> Atualizando a lista de aplicações disponíveis no repositório." | |
| echo -e "=================================================================\n" | |
| if [ $USER == 'root' ]; then | |
| echo -e "+++ AVISO! NÃO SE LOGUE COMO ROOT!!!" |