This is mostly a personal knowledge dump.