Supported version is here: https://git.beagleboard.org/beagleboard/pru-cookbook-code.git
Look in the docs folder to see the source for the examples.
Go to https://markayoder.github.io/PRUCookbook/ to see the text.