I hereby claim:
- I am davehughes on github.
- I am davehughes (https://keybase.io/davehughes) on keybase.
- I have a public key whose fingerprint is ACA8 38CA 6494 27D9 0859 0D74 ABAE 7E21 DF42 3F9B
To claim this, I am signing this object:
from __future__ import print_function | |
import random | |
import string | |
import sys | |
def generate_board(width=10, height=10): | |
return { | |
'width': width, |
''' | |
See http://docs.mitmproxy.org/en/stable/scripting/inlinescripts.html for | |
further documentation. | |
Sample workflow: | |
# In one shell: | |
> mitmdump --port 8888 -w mitm.out | |
# In another: |
Adjusts formatting of full-width pages to make them easier to read. As an example, try it on https://isocpp.org/files/papers/p0225r0.html. |
# alias:northwind | |
db1.example.com:5432:northwind:postgres:hunter2 | |
# alias:mainframe | |
db1.example.com:5432:mainframe:dave:password123 | |
db1.example.com:5432:unaliased:postgres: |
import datetime | |
import os | |
import StringIO | |
import tarfile | |
import boto | |
MOUNT_LOCATION = '/Volumes/BOSS_RC-300' | |
UPLOAD_REGION = '<your-region-here>' |
import itertools | |
DIMENSIONS = { | |
'city': [ | |
'sf', 'nyc', 'la', 'chicago', | |
], | |
'color': [ | |
'red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet', | |
], |
I hereby claim:
To claim this, I am signing this object:
// Exports to Nesh shell | |
// + Add a shell alias 'alias nesh="nesh --eval {this file}"' to automatically | |
// trick out your shell with these natural code enhancements. | |
__ = _ = require('lodash'); | |
config = require('./common').config(); | |
db = require('./models'); | |
Q = require('q'); | |
mongo = require('monk')(config.db.mongo.url); |
RETURN_CODE=0 | |
MIGS_PATH="thefundersclub/migrations" | |
class ConfigResolver(object): | |
def __init__(self, **kwargs): | |
self.config_templates = kwargs | |
self.config = resolve(copy.copy(kwargs)) | |
def __getattr__(self, attr): | |
return self.config[attr] | |
def __getitem__(self, item): |