Some challenges are provided with some kind of framework in which the submissions should be ran in, e.g. king-of-the-hill challenges. I wrote the catch the cat challenge, which needs several files for the controller. These are currently stored as a gist.
Recently I wanted to delete my github account but noticed that the whole controller code is still on this challenge. As far as I understand the philisophy of Stack Exchange is that Questions and Answers should not rely on external sources but should rather be fully self contained, such that those Q/A's are still available when the corresponding users aren't active anymore. That leads me to the thinking that outside sources that are personally managed (that can be deleted any time) are not appropriate.
This leads to my question: How should this kind of framework code be stored in order to be preserved for the future?
- Is there some kind of file upload for files other than images available?
- Should the whole source code be pasted into the question? (possibly cluttering the whole question with code nobody wants to read / or abusing JS+HTML snippets for hiding the code?)
- Are external sources like Pastebin/file sharing sites/Github/ acceptable?