Skip to content

Instantly share code, notes, and snippets.

Nicholas Rakoto nrako

Block or report user

Report or block nrako

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nrako / index.html
Created Apr 12, 2018
mapbox issue circle ordering
View index.html
<!DOCTYPE html>
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src=''></script>
<link href='' rel='stylesheet' />
<title>JS Bin</title>
nrako / index.js
Created Jul 20, 2016
requirebin sketch
View index.js
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
var React = require('react')
var ReactDOM = require('react-dom')
var Resizable = require('react-component-resizable').default
var WindowResizable = React.createClass({
getInitialState: function(){
nrako / robot.js
Created Dec 18, 2012 — forked from jaskolek/robot.js
View robot.js
var robots = new Array();
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
Robot.prototype.start = function( ev ){
View robot.js
// Conventions:
// We use angles in degrees in cock-wise fashion
RobotHelpers = {};
MathHelpers = {};
RobotHelpers.cannon_rotation_direction = {};
RobotHelpers.shoot = {}; = {};
RobotHelpers.moving_direction = {};
View robot.js
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
if (robot.parentId) {
else {
nrako / robot.js
Created Dec 5, 2012 — forked from Shipow/robot.js
View robot.js
var Robot = function(robot) {
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
//i'll add a clone but i need to refactor collision
nrako / fleetdrone.conf
Created Jun 12, 2012
Upstart conf scripts for fleet hub and drone
View fleetdrone.conf
description "Run fleet drone"
author "@nrako"
start on runlevel [2345]
stop on runlevel [2345]
respawn limit 5 60
pre-start script
You can’t perform that action at this time.