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 xdg-open funciona em todos os ambientes de desktop usando o gerenciador de arquivos padrão: | |
| xdg-open . | |
| # Você também pode abrir arquivos do terminal como se tivesse clicado duas vezes no gerenciador de arquivos: | |
| xdg-open file | |
| # Se você estiver usando o Gnome, pode usar o comando gnome-open, assim: | |
| gnome-open . | |
| # Você pode usar nautilus [caminho]. para o diretório atual: | 
  
    
      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
    
  
  
    
  | ############################ Setting up localstack ############################ | 
  
    
      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
    
  
  
    
  | # Alterar o arquivo ~/.bashrc e adicionar o valor abaixo: | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| export PS1="\u@\h \[\e[32m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\]$ " | |
| # Em alguns casos será necessário reiniciar o ambiente | |
  
    
      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
    
  
  
    
  | version: '3.8' | |
| services: | |
| redis: | |
| container_name: "redis" | |
| image: redis:alpine | |
| ports: | |
| - "6379:6379" # To Connect redis from local cmd use : docker exec -it cores-redis redis-cli | |
| localstack: | |
| container_name: "localstack" # Container name in your docker | |
| image: localstack/localstack:latest # Will download latest version of localstack | 
  
    
      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
    
  
  
    
  | # Add in ~/.bashrc or ~/.bash_profile | |
| function parse_git_branch () { | |
| # The line below is changed. | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \(\1)/' | |
| } | |
| RED="\[\033[01;31m\]" | |
| YELLOW="\[\033[01;33m\]" | |
| GREEN="\[\033[01;32m\]" | |
| BLUE="\[\033[01;34m\]" |