Skip to content

Instantly share code, notes, and snippets.

View jikkujose's full-sized avatar

Jikku Jose jikkujose

View GitHub Profile
@jikkujose
jikkujose / index.html
Last active January 11, 2017 05:59 — forked from asielen/index.html
Reusable Responsive Multiline Chart
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="multiline.css">
<script src="http://d3js.org/d3.v3.js" charset="utf-8"></script>
<!--<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>-->
</head>
<body>
@jikkujose
jikkujose / .block
Last active January 10, 2017 22:09 — forked from mbostock/.block
Diamonds II
license: gpl-3.0
height: 960
class SittingDuck
include Robot
def tick events
turn_radar 5 if time == 0
fire 3 unless events['robot_scanned'].empty?
turn_gun 10
@last_hit = time unless events['got_hit'].empty?
if @last_hit && time - @last_hit < 20
" copy all this into a vim buffer, save it, then...
" source the file by typing :so %
" Now the vim buffer acts like a specialized application for mastering vim
" There are two queues, Study and Known. Depending how confident you feel
" about the item you are currently learning, you can move it down several
" positions, all the way to the end of the Study queue, or to the Known
" queue.
" type ,, (that's comma comma)