Skip to content

Instantly share code, notes, and snippets.

@dbohdan

dbohdan/stats.md Secret

Created July 20, 2016 11:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbohdan/c5399f18f107612b25c68923ed07dfc6 to your computer and use it in GitHub Desktop.
Save dbohdan/c5399f18f107612b25c68923ed07dfc6 to your computer and use it in GitHub Desktop.

How many people (well, unique email addresses) purchased how many stars in the Urbit crowdsale? Let's find out.

The ledger has been made available at https://github.com/urbit/ledger/.

The command

curl -sf https://raw.githubusercontent.com/urbit/ledger/e4244cf0124d1c94f4d6dd9b59162cd569e51295/readme.txt \
| awk '/^\[/ { print substr($1, 2) }' \
| sort -n \
| uniq -c \
| awk '{ printf "| %2u | %3u |\n", $2, $1 }'

Results

Star count Number of purchasers
1 231
2 23
3 8
4 20
5 5
6 4
7 1
8 3
9 1
10 2
12 2
16 6
20 1
32 11
64 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment