Scripts jimrandomh uses in Roam, taken from various sources and customized.