Skip to content

Instantly share code, notes, and snippets.

View marcbarbosa's full-sized avatar

Marcelo Barbosa marcbarbosa

View GitHub Profile
@marcbarbosa
marcbarbosa / request
Last active October 15, 2022 22:21
AsyncTasks API Quick StartAPI HackDay Rio 2013 Demo
Sample JSON PRETTY PRINT
-----------------------------------------------------
{
"event_name": "EVENT_NAME",
"payload":
{
"username": "SENDGRID_USERNAME",
"password": "SENDGRID_PASSWORD",
"account": "ZENVIA_ACCOUNT",
"code": "ZENVIA_CODE",
@marcbarbosa
marcbarbosa / robot.js
Created December 1, 2012 14:52 — forked from heynemann/robot.js
Fork
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot){
robot.clone();
robot.turn(45);
this.offset = 1;
};
Robot.prototype.onIdle = function(ev) {
@marcbarbosa
marcbarbosa / robot.js
Created December 1, 2012 14:42 — forked from heynemann/robot.js
Merry Go round
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot){
robot.clone();
robot.turn(45);
this.offset = 1;
};
Robot.prototype.onIdle = function(ev) {
@marcbarbosa
marcbarbosa / hack.sh
Created March 31, 2012 20:24 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#