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
    
  
  
    
  | /* | |
| Hoje não deixaremos mais ninguém no vácuo no whatsapp | |
| Para utilizar: | |
| - Abra o web.whatsapp.com; | |
| - Abra o console e cole o código que está no gist; | |
| - Aguarde e verá uma mensagem sendo enviada a cada momento que alguém te enviar alguma mensagem. | |
| Confira também como ser chato no whatsapp: https://gist.github.com/mathloureiro/4c74d60f051ed59650cc76d1da0d32da | 
  
    
      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
    
  
  
    
  | var counter = 0; | |
| var i = setInterval(function(){ | |
| window.InputEvent = window.Event || window.InputEvent; | |
| var d = new Date(); | |
| var event = new InputEvent('input', {bubbles: true}); | |
| var textbox = document.querySelector('#main > footer > div.block-compose > div.input-container > div.pluggable-input.pluggable-input-compose > div.pluggable-input-body.copyable-text.selectable-text'); | |
| // Mensagem que será enviada | |
| textbox.textContent = "Me responde!"; | 
  
    
      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
    
  
  
    
  | var http = require("http"); | |
| var mongoose = require('mongoose'); | |
| mongoose.connect('mongodb://localhost/bemean-cascavel'); | |
| var db = mongoose.connection; | |
| db.on('error', function(err){ | |
| console.log('Erro de conexao.', err) | |
| }); | |
| db.on('open', function () { | 
  
    
      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
    
  
  
    
  | <!doctype html> | |
| <html data-ng-app="workshopBeMEAN"> | |
| <head> | |
| <title>{{ workshop }}</title> | |
| <style> | |
| .user-avatar { | |
| width: 200px; | |
| } | |
| .user-label { | 
  
    
      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
    
  
  
    
  | (function(){ | |
| 'use strict'; | |
| angular.module('BeerServiceModule', []) | |
| .service('BeerService', BeerService) | |
| ; | |
| function BeerService($http) { | |
| var urlBase = '//localhost:3000/beers'; | 
  
    
      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
    
  
  
    
  | 'use strict'; | |
| angular.module('myApp.Beers', ['ngRoute', 'BeerServiceModule']) | |
| .config(['$routeProvider', function($routeProvider) { | |
| $routeProvider | |
| .when('/beers', { | |
| templateUrl: 'modules/beers/list.html', | |
| controller: 'BeersList' | |
| }) |