Skip to content

Instantly share code, notes, and snippets.

View glauberramos's full-sized avatar

Glauber Ramos glauberramos

View GitHub Profile
'use strict'
require('firebase-functions/lib/logger/compat')
const functions = require('firebase-functions')
const admin = require('firebase-admin')
const express = require('express')
const cookieParser = require('cookie-parser')
const cors = require('cors')
try {
@glauberramos
glauberramos / robot.js
Created December 6, 2012 13:02 — forked from marano/robot.js
Shrimp Hunter
var aVera = true;
var Robot = function(robot) {};
var RobotState = function (rotateStep) {
data = {};
data.id = 0;
data.isLookingAtTarget = false;
data.timesShooting = 0;
data.rotateStep = rotateStep;
@glauberramos
glauberramos / robot.js
Created December 5, 2012 18:55
Dr. Dree
var Robot = function(robot) {
this.turnToRight = true;
this.invertedDirection = false;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
if(this.turnToRight == true) {
robot.turn(5);
@glauberramos
glauberramos / FrontCalendar 2012.md
Created August 21, 2012 17:33 — forked from zenorocha/FrontCalendar.md
FrontCalendar 2012

FrontCalendar 2012

Na falta de um site decente e realmente atualizado com os eventos de front-end que vão rolar, dê um pulo aqui ;)

Vai rolar!

Tableless Conference

  • Quando: 24/08
  • Onde: São Paulo, SP
  • Preço: R$ 250,00