Skip to content

Instantly share code, notes, and snippets.

@sujaymansingh
sujaymansingh / README.md
Created February 12, 2014 10:24
How many posts about lisp on reddit/r/programming?

What is this?

It seems that nearly every post on reddit.com/r/programming is about someone's lisp to X converter. Is this true? The key is to measure.

A simple count

$ python how_many_lisp_posts.py 'http://www.reddit.com/r/programming.json?limit=100'
1 out of 100 posts about lisp: 1.00%
@sujaymansingh
sujaymansingh / no daily mail
Created February 4, 2014 16:49
no daily mail
# Make sure we never connect to evil.
#
127.0.0.1 dailymail.co.uk
127.0.0.1 www.dailymail.co.uk
@sujaymansingh
sujaymansingh / .gitignore
Last active December 29, 2015 10:39 — forked from karmi/.gitignore
.vagrant
Gemfile.lock
Berksfile.lock
tmp/
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@sujaymansingh
sujaymansingh / starting riak
Created November 5, 2013 17:05
riak issues
vagrant@riak-node:~$ sudo riak start
riak failed to start within 15 seconds,
see the output of 'riak console' for more information.
If you want to wait longer, set the environment variable
WAIT_FOR_ERLANG to the number of seconds to wait.
vagrant@riak-node:~$