This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [alias] | |
| # Top 20 most-changed files in the last year (high churn = potential risk). | |
| stats-hotfiles = !git log --format=format: --name-only --since='1 year ago' | sort | uniq -c | sort -nr | head -20 | |
| # Commit activity grouped by month. | |
| stats-activity = !git log --format='%ad' --date=format:'%Y-%m' | sort | uniq -c | |
| # Reverts, hotfixes, and emergency patches in the last year. | |
| stats-hotfixes = !git log --graph --decorate --date=short --pretty=format:\"%C(blue)%h%Creset %C(dim white)%ad%Creset %s %C(green)%an%Creset %C(cyan)%d%Creset\" --since='1 year ago' --grep='revert' --grep='hotfix' --grep='emergency' --grep='rollback' -i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### See https://github.com/be5invis/Iosevka/blob/master/doc/custom-build.md for comprehensive | |
| ### documentation of the options in this file | |
| # TL;DR instructions: | |
| # Installation: | |
| # brew install node ttfautohint fontforge | |
| # git clone --depth 1 https://github.com/be5invis/Iosevka.git | |
| # npm install | |
| # Compilation: | |
| # Copy private-build-plans.toml to repo root. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Verify that Fibonacci sequence follows Benford's law.""" | |
| from pprint import pprint | |
| def fibonacci(n): | |
| a, b = 0, 1 | |
| for i in range(n): | |
| a, b = b, a + b | |
| return a |