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.

Blog Logo

Mario Loria




Because gets old after a while.

Back to Overview