Miscellanea 2022

01/25/2022

git branch command behaves like less pager, but I want to dump the ouput:

1
git config --global pager.branch false

02/04/2022

Makefile tutorial

03/02/2022

you have new mail in /var/spool/mail/root, what is it, see this post, to read it from end:

1
less +G $MAIL

03/17/2022

The selection of VM disk type should be aware of write/read performance as well, is the usage write or read heavy? Not only disk size, for example, this is gcloud disk properties form.

03/18/2022

Multiple successive forward slashes in Linux path have no effect, they are treated the same as single slash, see this ticket. But successive forward slashes in GCS bucket path are not merged!

04/26/2022

Backups vs Snapshots, what is the difference. A snapshot only needs to save enough information in local to undo a change and that makes it take less space than a backup. Backups is stored in different places.

0%