Skip to content

Instantly share code, notes, and snippets.

@maddo
maddo / index.html
Created October 3, 2012 23:03 — forked from fran6co/index.html
Flows of refugees between the world countries in 2008
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script>
<style type="text/css">
svg {
border:1px solid gray
}
#countries path {
@maddo
maddo / robot.coffee
Last active December 27, 2015 13:09 — forked from fran6co/robot.coffee
class TestRobot1 extends BaseRobot
run: () ->
@move_forwards 10, =>
@move_backwards 10
@turn_left Math.floor(Math.random()*361), =>
@_run()
tr = new TestRobot1("My first test robot")
class SuperWallBot extends BaseRobot
onInit:() ->
@turnTurretLeft(-Infinity)
onScannedRobot:(event) ->
@fire(1)
tr = new SuperWallBot("Super Wall Bot")
@maddo
maddo / tmux-cheatsheet.markdown
Created October 17, 2016 02:10 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname