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
    
  
  
    
  | //ADICIONANDO UMA TAG COM TAGGD | |
| const img = document.querySelector('#img'); | |
| const taggd = new Taggd(img); | |
| const tag = new Taggd.Tag({x: 0.27344, y: 0.67821}, 'new'); | |
| taggd.addTag(tag); | 
  
    
      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 A REDUCER WITH SOME AMOUNT OF STATE | |
| const reducer = (state = [], action) => { | |
| if (action.type === 'split_string') { | |
| return action.payload.split(''); | |
| } else if (action.type === 'add_character') { | |
| return [ ...state, action.payload ]; | |
| } | |
| return state; | |
| }; | 
  
    
      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 firebase from 'firebase'; | |
| //INITIALIZE FIREBASE | |
| firebase.initializeApp({ | |
| apiKey: 'AasdASiaoiAS8&AASLCKdi0aW', | |
| authDomain: 'teste-23o45.firebaseapp.com', | |
| databaseURL: 'https://teste-23o45.firebaseio.com', | |
| storageBucket: 'teste-23o45.appspot.com', | |
| messagingSenderId: '347697078956' | |
| }); | |
| // VERIFY USER STATE; LOGGED IN OR NOT | 
  
    
      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
    
  
  
    
  | group = FlowRouter.group({name: 'group'}); | |
| group.route('/foo/:id', { | |
| name: 'foo', | |
| action() { | |
| BlazeLayout.render('_defaultLayout'); | |
| }, | |
| }); | 
  
    
      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
    
  
  
    
  | $ git clone https://github.com/user/repo.git | |
| $ cd repo | |
| $ git checkout -b nomeDaBranch | |
| $ git branch | |
| ... | |
| ... | |
| $ git status | |
| $ git commit -a -m 'Close #12 ...' | |
| $ git push origin nomeDaBranch | 
  
    
      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
    
  
  
    
  | $ docker container run -d --name test -p 8080:80 -v $(pwd)/html:/usr/share/nginx/html nginx (sobe um container nginx | |
| apontando para uma pasta local e para uma porta externa expecifica) | |
| $ docker ps -a (mostra lista com todos containers) | |
| $ docker logs ContainerName | |
| $ docker exec -ti ContainerName /bin/bash (entrar no container) | |
| $ docker kill $(docker ps -q) (mata todos os containers) | |
| $ docker rm $(docker ps -a -q) (deleta todos os containers) | |
| $ docker exec -it mongodb bash -c 'mongodump -d mongodbname -o dir_in_container' (faz um dump do banco dentro do container) | 
  
    
      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
    
  
  
    
  | 1. Pastas (testar como gerente e operador) | |
| [*] Criar conta | |
| [*] Ativar e-mail | |
| [*] Criar pasta | |
| [*] Editar pasta | |
| [*] Compartilhar pasta com colaborador | |
| [*] Compartilhar pasta com cliente | |
| [*] Ativar contas de colaborador e cliente | |
| [*] Criar nova pasta | |
| [*] Tentar dar acesso de colaborador para cliente (erro esperado) | 
  
    
      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
    
  
  
    
  | # criar a build | |
| react-native bundle --entry-file index.ios.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios | 
  
    
      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
    
  
  
    
  | mongoimport -h localhost:3001 --db meteor --collection tickets --type json --file ticket.json --jsonArray | 
  
    
      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
    
  
  
    
  | <ion-header> | |
| <!-- ######################### DESKTOP ######################### --> | |
| <div *ngIf="desktop"> | |
| <ion-toolbar class="first-toolbar"> | |
| <ion-title> | |
| <img src="assets/img/logo.png"> | |
| </ion-title> | |
| <ion-buttons end class="login-buttons"> | |
| <!-- ######################### SKIP ######################### --> | |
| <button | 
OlderNewer