diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2011-11-16 10:07:31 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2011-11-16 10:07:31 -0500 |
commit | 32f289f40d9d6ee33f619c0016c0bc8cfb164c9e (patch) | |
tree | 6ebc7c3894678c348a4cc6bb34767b5646cbd09f | |
parent | Add install target. (diff) | |
download | spark-32f289f40d9d6ee33f619c0016c0bc8cfb164c9e.tar.xz spark-32f289f40d9d6ee33f619c0016c0bc8cfb164c9e.zip |
Git example.
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,5 +22,9 @@ Invoke help with `spark -h`. Magnitude of earthquakes over 1.0 in the last 24 hours: $ curl -s http://earthquake.usgs.gov/earthquakes/catalogs/eqs1day-M1.txt | cut -d, -f9 | spark - ▁▂▂▂▁▂▁▁▁▂▁▄▁▂▂▂▃▁▂▂▂▃▃▂▂▂▂▁▁▁▁▁▂▁▂▆▃▂▂▂▂▁▅▂▂▂▆▂▁▂▂▂▂▁▁▂▃▂▃▁▁▁▁▅▂▃▂▄▁▃▁▂▁▂▁▅▁▁▂▅▁▂▁▂▁▁▁▂▁▁▁▁▁▁▃▁▂▁ + ▁▂▂▂▁▂▁▁▁▂▁▄▁▂▂▂▃▁▂▂▂▃▃▂▂▂▂▁▁▁▁▁▂▁▂▆▃▂▂▂▂▁▅▂▂▂▆▂▁▂▂▂▂▁▁▂▃▂▃▁▁▁▁▅▂▃▂▄▁▃▁▂▁▂▁▅▁▁▂▅▁▂▁▂▁▁▁▂▁▁▁▁▁▁▃▁▂ +Number of commits in a git repo per active day: + + $ git log --pretty=format:%ai --reverse | cut -d' ' -f1 | uniq -c | awk '{print $1}' | spark + ▁▂▄▃▃▂▃▃▄▄▄▃▁▂▁▁▄▃█▃▂▂▅▄▄▃▂▄▃▇▄▂▄▁▁▂▅▂▂▁▂▁▂▂▄▅▃▂▃▂▂▂▂▄▂▂▁▄▂▁▂▂▃▂▂▂▁▂▂▂▄▂▃▃▆▅▂▂▄▅▃▁▂▁▁▂▁▂▂▄▁▁▂▃▂▂▄ |