I hereby claim:
- I am matt2000 on github.
- I am matt2000 (https://keybase.io/matt2000) on keybase.
- I have a public key whose fingerprint is 89D9 BE0A 35B6 E9BC 0911 A39B 7A1D B8EA 4DA3 EA28
To claim this, I am signing this object:
| --- | |
| tv_shows: # This is the base table for a given entity. | |
| label: "TV Show" # A Human readable name for the entity. | |
| autofilter: "tv_shows.is_test = False" # Optional. A condition added to every WHERE clause generated for this entity. | |
| alias_for: mydb.mychema.tv_shows # Optional, in case the top-level key is not a real table name. | |
| fields: | |
| show_id: # Column Name or alias for a metric. | |
| label: "TV Show ID" # Human-readable name for the field. | |
| type: int # Data type, for use by software that validates or builds UIs. |
| Both. |
| import boto3 | |
| debug = False | |
| bucket = 'your-bucket-name' | |
| prefix = 'some/s3/prefix/' | |
| s3 = boto3.client('s3') | |
| size = 0 |
| #!/bin/sh | |
| # Usage: run-with-temp-vol.sh SCRIPT SIZE MOUNT [DEVICE] | |
| ### Run this from an EC2 node to run the command given as $1 after we provision | |
| ### and attach an EBS volume of size $2 at mount point $3 as device $4, default | |
| ### "/dev/xvdm". | |
| # Params | |
| SCRIPT="$1" | |
| SIZE="$2" | |
| DEVICE="/dev/xvdm" |
| abrahamic | |
| accidentally | |
| according | |
| across | |
| actuality | |
| ago | |
| agreed | |
| air | |
| all | |
| allegedly |
| #!/usr/bin/python3 | |
| """excess.py <character> <count> | |
| Outputs rows in stdIn having more than <count> occurences of <character>. | |
| """ | |
| from sys import argv, stdin | |
| for line in stdin: | |
| if line.count(argv[1]) > int(argv[2]): |
I hereby claim:
To claim this, I am signing this object:
| " Following lines added by drush vimrc-install on Fri, 19 Sep 2014 00:29:32 +0000. | |
| set nocompatible | |
| "filetype off | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " alternatively, pass a path where Vundle should install plugins | |
| "call vundle#begin('~/some/path/here') |
| #!/usr/bin/python2 | |
| """ | |
| Efficiently searches a log file for recent rows matching a Regular Expression | |
| pattern. Assumes log file is appended in timestamp order. | |
| """ | |
| import os | |
| import sys | |
| from datetime import timedelta | |
| from datetime import datetime | |
| import re |
| #!/usr/bin/python2 | |
| """ | |
| Efficiently searches a log file for recent rows matching a Regular Expression | |
| pattern. Assumes log file is appended in timestamp order. | |
| """ | |
| import os | |
| import sys | |
| from datetime import timedelta | |
| from datetime import datetime | |
| import re |