we are refactoring our documentation system and the new code will be available to the community directly here: https://github.com/arduino/reference-en Every pull request with fixes is welcome.
Under what category should it go? Snippets and Sketches for Arduino?
I am adding a sketch.
What would I do if I have some code that I think makes a good example for how to do something? I made a program that will give you much more random numbers.
A simple way is just to create a Thread in the appropriate Forum section and post the code there.