Skip to content

Instantly share code, notes, and snippets.

View bellentuck's full-sized avatar

Ben Ellentuck bellentuck

  • New York, NY
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Hello d3 World</title>
<script type="text/javascript" src="http://d3js.org/d3.v2.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
@bellentuck
bellentuck / undirected-graph.js
Created January 31, 2017 17:51 — forked from Cfeusier/undirected-graph.js
Simple undirected graph implementation in JavaScript
var Graph = function() {
this.nodes = {};
this.edges = {};
};
Graph.prototype.addNode = function(node) {
this.nodes[node] = node;
};
Graph.prototype.contains = function(node) {
body {
font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-weight: 100;
letter-spacing: 1px;
}
@bellentuck
bellentuck / basicBootstrapHTMLTemplate.html
Created October 18, 2016 19:25 — forked from joechan3/basicBootstrapHTMLTemplate.html
joechan3's Basic Bootstrap Template using CDNs (from Lynda.com - Course: Bootstrap Essentials Training-Ray Villalobos)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<!--Picturefill-->