4 ms·
> command line trick 1. "cat foo.json | python -m json.tool" pretty print on console. 2. "cal" pretty prints current month on console. "cal 2022" pretty print
by vishnugupta 5y ago
> command line trick
1. "cat foo.json | python -m json.tool" pretty print on console.
2. "cal" pretty prints current month on console. "cal 2022" pretty print current year.
> interesting to you
1. Bank of England one of the earliest banks to issue paper money was establish to finance war expenditure.
2. Federal reserve is holding (and hence funding) ~$2.7T worth of mortgage backed securities[1]. It started out as a stop gap measure to cushion 2008 crisis but they are yet to discontinue it.
[1] https://fred.stlouisfed.org/series/WSHOMCB https://fred.stlouisfed.org/series/WSHOMCB
- _zywo 5y agoFor JSON pretty printing I generally use jq (`cat foo.json | jq`). It highlights and indents the output, and it's easy to add a filter.
- flobosg 5y agoMore cal tips: * cal -3 shows the previous, current, and next month * ncal -C shows the current month with today’s date highlighted * ncal -C3 is equivalent to cal -3 with highlighting