Skip to content

Instantly share code, notes, and snippets.

@mikekellyio
mikekellyio / _.md
Created January 17, 2013 22:56 — forked from enjalot/inlet.js
sparkline
@mikekellyio
mikekellyio / index.html
Last active December 11, 2015 09:18 — forked from anonymous/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Reusable Sparkline</title>
</head>
<body>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="sparkline.js"></script>

Web Development Contract

Revised date: 5/20/2014

Between me, Mike Kelly and you, Katy McLaughlin

Summary:

I’ll always do my best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. I’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

class C4Board
attr_attribute :board
attr_attribute :mover
BLACK = :black
RED = :red
EMPTY = nil
def initialize(state = C4Board.starting_board)
mover = :black