Snippets of code for running power-related experiments.