I hereby claim:
- I am dehowell on github.
- I am dehowell (https://keybase.io/dehowell) on keybase.
- I have a public key whose fingerprint is EE13 6FE8 20BD 6768 1C1F F841 54EF 03F8 51F4 7BF4
To claim this, I am signing this object:
| import csv | |
| import re | |
| import sys | |
| import appscript | |
| def get_calendar(name): | |
| calendar = appscript.app('iCal').calendars[name] | |
| try: | |
| calendar.get() |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| ''' | |
| usage: %s input_file output_file | |
| ''' | |
| import collections | |
| import csv | |
| import sys |
This is a demonstration of how to calculate π using Monte Carlo integration.
This is a deliberately broken fork of Mike Bostock's "General Update Pattern, II". Please see the original for an explanation of what's supposed to be happening. I've increased the pause between updates and switched to the default key function to illustrate how D3 calculates the enter, update, and exit selections. Open the console to see the data for each update.
| [ | |
| { | |
| "id": "b4e83825-482a-4ede-a574-3906c5528d07", | |
| "name": "Quit Facebook", | |
| "rules": [ | |
| { | |
| "id": "a95775c4-4347-4d85-967f-7881f75459d7", | |
| "name": "Facebook", | |
| "content": { | |
| "trigger": { |
| #!/usr/bin/env python | |
| import contextlib | |
| import itertools | |
| import random | |
| import pandas | |
| import simpy | |
| *.beam |
| #!/usr/bin/env python | |
| ''' | |
| usage: %s input_file output_file | |
| ''' | |
| import collections | |
| import csv | |
| import sys |
| const exec = require('child_process').exec; | |
| function terraformOutput(name, tfModule) { | |
| let mod = tfModule != undefined ? `-module ${tfModule}` : ''; | |
| let cmd = `terraform output -json ${mod}`; | |
| let outputs = new Promise((resolve, reject) => { | |
| exec(cmd, {'cwd': 'infrastructure'}, | |
| (error, stdout, stderr) => { | |
| if (error) reject(error); |