Skip to content

Instantly share code, notes, and snippets.

View snopoke's full-sized avatar

Simon Kelly snopoke

View GitHub Profile
@snopoke
snopoke / index.html
Created February 21, 2013 07:02 — forked from darwin/index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/>
<script src="http://cmx.io/v/0.1/cmx.js"></script>
<body>
<scene id="scene1">
<label t="translate(0,346)">
<tspan x="0" y="0em">A Comix Sample</tspan>
</label>
<actor t="translate(131,49)" pose="-11,9|-5,117|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-1,9|-18,79|-18,59|-6,79|-1,59">
#!/bin/bash
# Simple script for simulating document conflicts in Cloudant / CouchDB
DEST="conflict_test"
DOC="doc_with_conflicts"
USERNAME="my-username"
read -s -p "Enter Password: " PASSWORD
HOST="$USERNAME.cloudant.com"
@snopoke
snopoke / report.py
Last active August 24, 2017 11:21 — forked from javierwilson/report.py
Generates CSV for last week cpu, mem and disk utilization
#!/usr/bin/env python
import datetime
import os
from datadog import initialize, api
from collections import defaultdict
options = {