Docs:
- https://hexdocs.pm/elixir/IO.ANSI.html
- https://hexdocs.pm/elixir/Inspect.Opts.html
- https://hexdocs.pm/iex/IEx.html#module-the-iex-exs-file
Posts:
1git rev-list --objects --all \
2| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
3| sed -n 's/^blob //p' \
4| sort --numeric-sort --key=2 --reverse \
5| head -n 150 \
6| cut -c 1-12,41- \
7| $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
1$ pip install howdoi
2$ howdoi format date bash
3> DATE=`date +%Y-%m-%d`