Skip to content

Instantly share code, notes, and snippets.

View tmountain's full-sized avatar

Travis Whitton tmountain

  • Gainesville, FL
View GitHub Profile
@tmountain
tmountain / tmux-cheat-sheet.md
Created October 16, 2019 19:41 — forked from michaellihs/tmux-cheat-sheet.md
tmux Cheat Sheet
<script type='text/javascript'>
var _ss = _ss || [];
_ss.push(['_setDomain', 'http://app.sharpspring.com/net/']);
_ss.push(['_setAccount', 'KOI-XXXXX']);
_ss.push(['_setResponseCallback', callThisOnReturn]);
_ss.push(['_trackPageView']);
(function() {
var ss = document.createElement('script');
; Certificate/key is needed in server mode and optional in client mode
; To generate a self-signed certificate run:
; openssl req -new -x509 -days 365 -nodes -config /usr/share/doc/stunnel4/examples/stunnel.cnf -out stunnel.pem -keyout stunnel.pem
cert = /etc/stunnel/ssl/stunnel.pem
; Protocol version (all, SSLv2, SSLv3, TLSv1)
sslVersion = SSLv3
; Some security enhancements for UNIX systems - comment them out on Win32
chroot = /var/lib/stunnel4/
@tmountain
tmountain / retro.py
Created September 17, 2013 20:19 — forked from benwebber/retro.py
#!/usr/bin/env python
"""
An 8-bit avatar generator.
"""
from __future__ import division
import argparse
import hashlib
#!/usr/bin/sh
set -e
sudo apt-get install openjdk-7-jdk git-core wget -y # Ubuntu 12.04 meets no problem
wget --no-check-certificate -O ~/bin/lein https://raw.github.com/technomancy/leiningen/preview/bin/lein
chmod 755 ~/bin/lein
# Add ~/bin to your $PATH, it has been done if in Ubuntu 12.04
lein # the first time it will install itself
@tmountain
tmountain / README.md
Created October 31, 2012 14:09 — forked from paxan/gist:3901864
A Common Crawl Experiment

A Common Crawl Experiment

Introduction

At my company, we are building infrastructure that enables us to perform computations involving large bodies of text data.

To get familiar with the tech involved, I started with a simple experiment: using [Common Crawl metadata corpus][1], count crawled URLs grouped by top level domain (TLD).