Brew

List installed packages: > brew list Get more information on an individual package: > brew info terraform terraform: stable 0.14.8 (bottled), HEAD Tool to build, change, and version infrastructure https://www.terraform.io/ Conflicts with: tfenv (because tfenv symlinks terraform binaries) /usr/local/Cellar/terraform/0.11.13 (6 files, 120.6MB) * Poured from bottle on 2019-05-15 at 10:50:33 .

Configuring Black code formatter in VSCode

To configure VS Code to format a python file with Black automatically when it is saved: Install black (in macOS I used brew). This will install back in /usr/local/bin/black In VS Code settings (Code > Preferences > Settings), search for “python formatting provider” and select “black”

Ansible Facts

Quickly show ansible facts for a host:

ansible myhost -m ansible.builtin.setup -vv

Gmail Search

Dates: before:2012-09-30 after:2012-07-01 Size: larger_than:6mb smaller_than:8mb With attachments: has:attachment filename:pdf Search keywords can be combined