I hereby claim:
- I am j-bennet on github.
- I am jbennet (https://keybase.io/jbennet) on keybase.
- I have a public key ASALD46Ncke1mwflCl2a4LApXLsuHni6xnAjge5HI9wFZQo
To claim this, I am signing this object:
// Run in the JavaScript console of the hterm browser window | |
var colorPaletteOverides = [ | |
"#073642", /* 0: black */ | |
"#dc322f", /* 1: red */ | |
"#859900", /* 2: green */ | |
"#b58900", /* 3: yellow */ | |
"#268bd2", /* 4: blue */ | |
"#d33682", /* 5: magenta */ | |
"#2aa198", /* 6: cyan */ | |
"#eee8d5", /* 7: white */ |
I hereby claim:
To claim this, I am signing this object:
import datetime as dt | |
from pyspark.sql.types import * | |
from context import initialize | |
MY_SCHEMA = StructType([ | |
StructField('ts', TimestampType(), True), | |
]) | |
master: | |
image: elasticsearch:2 | |
ports: | |
- "9200:9200" | |
restart: always | |
container_name: es_master | |
es-node: | |
image: elasticsearch:2 | |
command: elasticsearch --discovery.zen.ping.unicast.hosts=es_master |
# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ | |
# core | |
brew install coreutils | |
# key commands | |
brew install binutils | |
brew install diffutils | |
brew install ed --default-names | |
brew install findutils --with-default-names |
#!/usr/bin/env python | |
'''Build up a set of URLs using the common crawl index. See | |
http://commoncrawl.org/2015/04/announcing-the-common-crawl-index/ for more info. | |
''' | |
from __future__ import print_function | |
import gzip | |
import logging | |
import os | |
import random |
{ | |
"_index": "tweets", | |
"_type": "tweet", | |
"_id": "tag:search.twitter.com,2005:685571395556802560", | |
"_score": 1, | |
"_source": { | |
"body": "How Facebook Makes Us Dumber https://t.co/hlM2IrpL0g #facebook #social", | |
"info": { | |
"klout_score": 47, | |
"matching_rules": [ |
select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) | |
union all select (1, 2, 3, 4, 5, 6, |