russell.ballestrini.net/content/2011-08-07-the-great-gist-heist.rst
russell@unturf.com 137d65cc65 Consolidate blog tags: 57 → 23 unique tags
- Fix case duplicates (guide→Guide, project→Project, etc.)
- Consolidate single-post tags into broader categories
- Add technology tags (Python, AWS, Salt, Docker, Kubernetes) to 93 posts
- Add lib/tag_stats.py tool for checking tag usage
- Update CLAUDE.md with tag guidelines
2026-01-26 09:09:53 -05:00

47 lines
1.5 KiB
ReStructuredText

The Great Gist Heist
####################
:date: 2011-08-07 02:30
:author: Russell Ballestrini
:tags: Code, Project, Python
:slug: the-great-gist-heist
:status: published
:summary:
Please listen to my story before jumping to conclusions.
**The Great Gist Heist**
I have crawled, downloaded, and archived all of gist.github.com. Please
hear my story before jumping to conclusions.
**Why?**
I'm currently building software that requires a large corpus of source
code.
I began to search for a collection of source code documents but my
pursuit appeared fruitless. Feeling displeased I attempted to gather all
of my own source code. My collection lacked fidelity perhaps because of
my revere for the python language.
Regardless of the reasoning, I needed a higher quantity of samples. I
needed unbiased samples from all programming languages. I needed, most
importantly, samples in a variation of quality that only the most
popular paste sites have... sites like gist.
**Why are you sharing it?**
I feel a little bad about using Github's bandwidth.
Sharing this collection should reduce the chances that others will crawl
for the same data. If you need a large collection of source code,
`download this torrent </uploads/2011/08/the-great-gist-heist.torrent>`_.
**How did you do it?**
I wrote a short, 30 line, python script. The script is part of the
torrent.
At the peak of the scrape I had 14 threads running of the script, using
approximately 580Kbps (I used iftop).
.. contents::