Skip to content

Instantly share code, notes, and snippets.

@kapeels
kapeels / index.html
Last active August 29, 2015 14:27 — forked from mbostock/.block
Force-Directed Graph with Mouseover
<!DOCTYPE html>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
<style>
.link {
fill: none;
stroke: #666;
stroke-width: 1.5px;
}
@kapeels
kapeels / README.md
Last active August 29, 2015 14:27 — forked from mbostock/.block
Labeled Force Layout
@kapeels
kapeels / index.html
Last active August 29, 2015 14:27 — forked from MoritzStefaner/.block
Force-based label placement
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<meta charset="utf-8">
<title>Force based label placement</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.6.0"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?2.6.0"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?2.6.0"></script>
</head>
<body>

Keybase proof

I hereby claim:

  • I am kapeels on github.
  • I am kapeels (https://keybase.io/kapeels) on keybase.
  • I have a public key whose fingerprint is F2AC 132D CDF2 A827 8B36 FD6C 78A7 7188 F99D 15EF

To claim this, I am signing this object:

// Basic XMPP bot example for HipChat using node.js
// To use:
// 1. Set config variables
// 2. Run `node hipchat_bot.js`
// 3. Send a message like "!weather 94085" in the room with the bot
var request = require('request'); // github.com/mikeal/request
var sys = require('sys');
var util = require('util');