How to post large code blocks? Rather, when to use something like pastebin, if at all?

I wanted to share varying scripts, fio jobs, and results–along with array configuration and properties–and while I can be concise and share the most relevant parts, I wanted to share comprehensively the data.

If I had to guess, I’d share and write about the concise stuff, and then dump the totality in a pastebin or repo or something.

Please let me know what would be an ideal way to be both concise yet comprehensive should the reference be something the reader is interested in.

Github (or similar) is probably the best way to host the actual code, for anything worth reusing but too complex to comfortably fit in a forum post.