Have a file on reviewboard that you want to download and run?

1) Go to download diff. Either copy the contents (with a bunch of +’s in front of everyline) to a file called “code.diff” or pastie the contents and grab them with wget.

2) Run the following…you may need to check that there are no empty lines without a + in front of them (possibly at the end of the fle)

patch < code.diff

3) If successfull, that will spit out a code.py!! You can now delete the .diff file.

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.