Skip to content

Instantly share code, notes, and snippets.

Chad Whitacre chadwhitacre

Block or report user

Report or block chadwhitacre

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
@chadwhitacre
chadwhitacre / gist:3625032
Created Sep 4, 2012
Testing Public Gists
View gist:3625032

Testing public gists.

@chadwhitacre
chadwhitacre / charts.json
Created May 11, 2018
Gittip/Gratipay History
View charts.json
[
{
"date": "2017-12-28",
"nteams": "95",
"nusers": "295",
"volume": "476.44",
"xTitle": "2017-12-28"
},
{
"date": "2017-12-21",
@chadwhitacre
chadwhitacre / gist:3620922
Created Sep 4, 2012
We Need an Open *Economist*
View gist:3620922

A friend of mine recently started publishing on Svbtle, a super-classy, invite-only blogging platform. I like the super-classy part, not so much the invite-only part. Can we have classy and open?

The Promise of Svbtle

The only way I get to see Svbtle's editing interface is when its creator, Dustin Curtis, deigns to show me. Turns out I love it. It feels like Apple to me. And like Apple, Svbtle whiffs of totalitarianism. Are these two traits, high quality and crushing control, inseparable? From Dustin:

I’ve decided to open [Svbtle] up to a small number of vetted bloggers. At least at first. The goal is simple: when you see the Svbtle design, you should know that the content is guaranteed to be great.

When I see the Svbtle design, I think, "Gee, I wish I were part of this elite club." If it were really about the content, Svbtle would be more like The Economist. It would [downplay the identity](http://www.quora.com/The-Economist/Will-The-Econ

View gist:6723135
# Given this List of Songs, Construct Arrays by Artist and Album
# Hint: Make use of the split() String Method
# http://www.ruby-doc.org/core-1.9.3/String.html#method-i-split
# Simple Example of Data Parsing
songs = [
"The Magnetic Fields - 69 Love Songs - Parades Go By",
"The Magnetic Fields - Get Lost - Smoke and Mirrors",
"Neutral Milk Hotel - In An Aeroplane Over the Sea - Holland 1945",
"The Magnetic Fields - Get Lost - You, Me, and the Moon",
@chadwhitacre
chadwhitacre / gittip-yc-application.md
Last active Dec 24, 2015
Gittip's YC Application (W14).
View gittip-yc-application.md
View PRomote.sh
PERSONAL_API_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxx
REPO=www.gittip.com
HEAD=issue-1426
ISSUE=1426
curl https://api.github.com/repos/gittip/$REPO/pulls \
-u $PERSONAL_API_TOKEN: \
-X POST \
-d"{\"issue\": \"$ISSUE\", \"head\": \"$HEAD\", \"base\": \"master\"}"
View complete-git-branches
# This adds tab completion of git branch names (including remotes) to several
# git-related bash aliases I have set up:
#
# co git checkout
# gb git branch
# gm git merge
#
#
# Bugs:
#
View aspen_pjax.py
"""This is an Aspen hook for supporting PJAX.
Install it in your project's configure-aspen.py like so:
website.hooks.outbound += [aspen_pjax.outbound]
"""
from pyquery import PyQuery as pq # http://pythonhosted.org/pyquery/
View gist:5538382
[12:28am] elliottcable: To describe what I'm doing: To anonymize my identity away from my private “savings” address, from which I'm drawing funds,
[12:28am] elliottcable: I'm preforming a “shared send.” This uses a third-party anonymizing service that forwards the money through hundreds of transactions, that “mix” the money with other peoples', making it virtually impossible to trace the transaction back through the public block-chain.
[12:28am] elliottcable: (Basically, it's socially-acceptable money laundering. Standard practice.)
[12:29am] elliottcable: This is going to trickle money out onto a new address of my own I've generated for this purpose; once it's full, I'll be generating two transactions. One to the address you just signed for me, a private transaction to yourself. You will then be able to draw on that money (publically), or launder it back to your own anonymous savings account, as you please.
[12:30am] elliottcable: The second will go to a public gittip.com address, which I'll help you generat
@chadwhitacre
chadwhitacre / repair-marketplace.py
Created Mar 20, 2013
This is a script I used to repair our marketplace after corrupting it with multiple valid cards/bank accounts per account. See https://github.com/gittip/www.gittip.com/issues/773.
View repair-marketplace.py
#!/usr/bin/env python
import sys
sys.path.insert(0, 'env/lib/python2.7/site-packages') # kludge for running
# under foreman
import balanced
import gittip
from gittip import wireup
wireup.db()
You can’t perform that action at this time.