Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| #!/usr/bin/env bash | |
| # | |
| # wiki — a fast, fzf-based Wikipedia reader. | |
| # | |
| # Usage: | |
| # wiki # English (default) | |
| # wiki de # German, fr, es, ... (any Wikipedia language code) | |
| # | |
| # Type to live-search article titles via Wikipedia's prefixsearch API, | |
| # read the plain-text article in the preview pane, press Enter to open it |
| # Number of contributors to the project | |
| git log --pretty='%aN'|sort -u|wc -l | |
| # Total commits made | |
| git log --oneline | wc -l | |
| # NUmber of lines written/modified | |
| git log --stat|perl -ne 'END { print $c } $c += $1 if /(\d+) insertions/;' | |
| # Top 5 contributos all time |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import urllib2 | |
| gh_url = 'https://api.github.com' | |
| req = urllib2.Request(gh_url) | |
| password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() |