Skip to content

Instantly share code, notes, and snippets.

View brunoksato's full-sized avatar
Focusing

Bruno Sato brunoksato

Focusing
View GitHub Profile
@brunoksato
brunoksato / robot.js
Created December 7, 2012 16:54 — forked from yuyi/robot.js
OPENROBOT
function Robot(robot) {}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
robot.ahead(150);
robot.rotateCannon(360);
robot.back(100);
@brunoksato
brunoksato / robot.js
Created December 7, 2012 16:56 — forked from yuyi/robot.js
OPENROBOT
function Robot(robot) {}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
robot.ahead(150);
robot.rotateCannon(360);
robot.back(100);
@brunoksato
brunoksato / robot.js
Created December 7, 2012 16:56 — forked from yuyi/robot.js
OPENROBOT
function Robot(robot) {}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
robot.ahead(150);
robot.rotateCannon(360);
robot.back(100);
@brunoksato
brunoksato / robot.js
Created December 7, 2012 16:56 — forked from yuyi/robot.js
OPENROBOT
function Robot(robot) {}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
robot.ahead(150);
robot.rotateCannon(360);
robot.back(100);
@brunoksato
brunoksato / robot.js
Created December 7, 2012 16:56 — forked from yuyi/robot.js
OPENROBOT
function Robot(robot) {}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
robot.ahead(150);
robot.rotateCannon(360);
robot.back(100);
@brunoksato
brunoksato / robot.js
Created December 7, 2012 18:40 — forked from klod76/robot.js
klod76_2
function Robot(robot) {}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
robot.ahead(150);
robot.rotateCannon(360);
robot.back(100);
@brunoksato
brunoksato / robot.js
Created December 7, 2012 18:44 — forked from jaskolek/robot.js
jaskolek
function Robot(robot) {}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
robot.ahead(150);
robot.rotateCannon(360);
robot.back(100);
@brunoksato
brunoksato / gist:4235434
Created December 7, 2012 18:45 — forked from jaskolek/robot.js
jaskolek
We couldn’t find that file to show.

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>
@brunoksato
brunoksato / frontendDevlopmentBookmarks.md
Last active August 29, 2015 17:52 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.