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
    
  
  
    
  | <div id="header"> | |
| <a href="/" id="logo">Dreamdealer</a> | |
| <ul id="menu"> | |
| <li><a href="/"><span>Home</span></a></li> | |
| <li><a href="/"><span>Tutorials</span></a></li> | |
| <li><a href="/"><span>Articles</span></a></li> | |
| <li><a href="/"><span>About me</span></a></li> | |
| <li><a href="/"><span>Contact</span></a></li> | |
| </ul> | |
| </div> | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env python | |
| import subprocess | |
| import sys | |
| import time | |
| def get_mvn_output_is_successful(): | |
| for stdout_line in iter(process.stdout.readline, ""): | |
| print(stdout_line.decode("utf-8")) | |
| if 'BUILD SUCCESS' in stdout_line.decode("utf-8"): | 
  
    
      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
    
  
  
    
  | stringIn = "Linha sem comentario\n" \ | |
| "//com comentário\n" \ | |
| "Sem comentário 2\n" | |
| if __name__ == '__main__': | |
| stringSeparadaPorLinha = stringIn.split('\n') | |
| for linha in stringSeparadaPorLinha: | |
| if linha.startswith('//'): | |
| stringSeparadaPorLinha.remove(linha) | 
  
    
      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
    
  
  
    
  | ## create databases list | |
| import os | |
| dblist = [ | |
| '*********************************************' | |
| ] | |
| if __name__ == "__main__": | |
| print("DB CREATION STARTED") | 
  
    
      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
    
  
  
    
  | app_name="todos" | |
| echo "START BUILD" | |
| cd ../ | |
| meteor build ../build-web --server-only | |
| tar -xvzf ../build-web/${app_name}.tar.gz -C ../build-web/ | |
| rm ../build-web/${app_name}.tar.gz | |
| mkdir ../build-web/bundle/.ebextensions/ | |
| cp aws/app.config ../build-web/bundle/.ebextensions/app.config | |
| cp aws/package.json ../build-web/bundle/ | 
  
    
      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
    
  
  
    
  | result=`expr $1 \* 60` | |
| echo "$1 minutos para o Windows dormir" | |
| timeout $result > NUL | |
| rundll32.exe powrprof.dll,SetSuspendState 0,1,0 | 
  
    
      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
    
  
  
    
  | import os | |
| # Lista de repositorios no diretorio raiz; | |
| # Colocar o caminho inteiro do git https: | |
| # Ex: | |
| # https://gist.github.com/efd8d8e57ee5cc4d1478ccc7e7517aa5.git | |
| repos = [ | |
| '**************************************************' | |
| ] | 
  
    
      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
    
  
  
    
  | rd "standalone\tmp" /s /q | |
| rd "standalone\log" /s /q | |
| rd "standalone\data" /s /q | |
| copy standalone\configuration\standalone.xml standalone\configuration\standalone.cp.xml | |
| exit | 
  
    
      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
    
  
  
    
  | #ifndef AUTH_NETWORK_AND_FIREBASE | |
| #define AUTH_NETWORK_AND_FIREBASE | |
| #define FIREBASE_HOST "***********************" | |
| #define FIREBASE_AUTH "******************" | |
| #define WIFI_SSID "******************" | |
| #define WIFI_PASSWORD "******************" | |
| #endif /* AUTH_NETWORK_AND_FIREBASE */ |