Skip to content

Instantly share code, notes, and snippets.

@steveodom
steveodom / notes.md
Last active December 13, 2015 16:59
Notes on using AWS cloudformation to bootstrap a EC2 instance with Neo4J and Redis.
@steveodom
steveodom / cf_template.json
Last active December 13, 2015 16:59
CloudFormation template to bootstrap Neo4j and redis. Based on neo4j-puppet template. (https://github.com/neo4j-contrib/neo4j-puppet/blob/master/cf_template.json).
{
"Description": "Neo4j on AWS - creates a stack and deploys Neo4j on it",
"Parameters": {
"AcceptOracleLicense" : {
"Description" : "This parameter indicates that you accept the terms of Oracle's License Agreement for Java (see README)",
"Type" : "String",
"AllowedValues": ["true", "false"],
"Default": "true"
},
"Neo4jUserName": {
@steveodom
steveodom / locally.sh
Created November 22, 2012 03:43 — forked from dewski/locally.sh
Turn an EC2 micro instance into a StatsD/Graphite server
ec2-authorize default -p 2003
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Box Chart</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.4.5"></script>
<style type="text/css">
body {
text-align: center;
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Pie Multiples with Nesting</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.4.5"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?2.4.5"></script>
<style type="text/css">
body {