Skip to content

Instantly share code, notes, and snippets.

View laprice's full-sized avatar

Larry Price laprice

View GitHub Profile
@laprice
laprice / aaronsw_petition_analysis.ipynb
Created January 10, 2014 06:41
aaronsw petition one year later.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@laprice
laprice / gist:8345358
Created January 10, 2014 01:20
I think I am doing the correct thing...
{
"metadata": {
"name": "Untitled1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@laprice
laprice / do_playbook.yml
Last active December 28, 2015 22:39
Functioning playbook to create a VM on digital ocean. Substitute your ssh_key_ids and image_id and run as is. You will need dopy installed.
---
- hosts: 127.0.0.1
connection: local
gather_facts: false
tasks:
- name: start a droplet
local_action: digital_ocean
state=present
ssh_key_ids=#,#,#
command=droplet
@laprice
laprice / Bitcoin to Big Mac
Created November 8, 2013 07:09
Calculates cost of a Big Mac in BTC
{
"metadata": {
"name": "Big Mac to BTC"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{