Skip to content

Instantly share code, notes, and snippets.

{ "error" : "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[gSVXNBhCQkWTG-3dMpzvFQ][leagueoflegends][2]: SearchParseException[[leagueoflegends][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [
{
\"filtered\": {
\"query\" : {
\"match\": {
\"body\": \"bitcoin\"
}
},
\"filter\": {
\"not\": {
#
# By Kyle Kersey
# 2014
#
import praw
import sqlite3
import sys
database_path = "reddit_comments.db"

Keybase proof

I hereby claim:

  • I am kylelk on github.
  • I am kerseykyle (https://keybase.io/kerseykyle) on keybase.
  • I have a public key whose fingerprint is 97B7 31C4 7FC9 A9B3 3B8F 87AC 2AA6 1634 96D0 8DF1

To claim this, I am signing this object:

@kylelk
kylelk / flower.svg
Created April 27, 2014 15:42
Fractal flower
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kylelk
kylelk / get_module.sh
Created April 4, 2014 15:48
downloads python modules and builds them into the current directory
easy_install -q --editable --build-directory . $1
cd $1
python setup.py build
if [ -d "build/lib/$1" ]
then
cp -r build/lib/$1 ../$1_temp
else
cp -r build/lib/$1.py ../$1.py
fi
cd ..
[
{
"upload_timestamp": 1366951885,
"views": 5730,
"url": "http://www.domain1.com/videos/video%20seven%20hundred%20and%20sixty.mp4",
"title": "video seven hundred and sixty",
"category_label": "Short Movies",
"icon_image_url": "http://i.imgur.com/zoyiDwZ.png",
"duration": "24:39",
"category_name": "Shortmov"
#include <stdio.h>
//
// Nearly minimal CUDA example.
// Compile with:
//
// nvcc -o example example.cu
//
#define N 1000
links = [
{source: "0xroot", target: "0xroot", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "ggreenwald", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "matthew_d_green", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "8EJ3", target: "8EJ3", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "JavaScriptDaily", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "Motorola", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg
links = [
{source: "0xroot", target: "0xroot", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "ggreenwald", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "matthew_d_green", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "8EJ3", target: "8EJ3", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "JavaScriptDaily", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "Motorola", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg
var links = [
{source: "0xroot", target: "0xroot", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "ggreenwald", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "0xroot", target: "matthew_d_green", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000649639863/7648d0ff5600263de2ec9af38f15dece_normal.jpeg"},
{source: "8EJ3", target: "8EJ3", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "JavaScriptDaily", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"},
{source: "8EJ3", target: "Motorola", type: "licensing", icon: "http://pbs.twimg.com/profile_images/378800000784873356/4301660eb94dc0d8aca990de498f521c_normal.jpeg"}