Skip to content

Instantly share code, notes, and snippets.

jhull jsh2134

Block or report user

Report or block jsh2134

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jsh2134
jsh2134 / gist:14027c69464498bc8ed2
Created Jul 12, 2015
HekaSockerHandler logging implementation
View gist:14027c69464498bc8ed2
import traceback
import logging
from logging.handlers import SocketHandler
import heka
class HekaSocketHandler(SocketHandler):
SEVERITY_MAP = {
@jsh2134
jsh2134 / FacebookWordCloud.py
Created Feb 13, 2012 — forked from bostwick/FacebookWordCloud.py
Facebook News Feed Word Cloud
View FacebookWordCloud.py
#!/usr/bin/env python
import sys
import urllib2
import json
from collections import defaultdict
from nltk import word_tokenize
IGNORED_WORDS = ["!", ".", ",", "(", ")", "'s", ":", "?", "...", "$",
You can’t perform that action at this time.