Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: A CLI to avoid remembering HTTP status codes. Parent comment
.bashrc:
httpcode () { python3 -c "from http import HTTPStatus; print(HTTPStatus($1))" }
HTTPStatus($1).name.title().replace('_',' ')
.bashrc:
httpcode () { python3 -c "from http import HTTPStatus; print(HTTPStatus($1))" }