Hey, guys...
It's been a while for me -- I remember there used to be a website where you could post a code snippet, it would format/colorize/number it, then you could give someone a link to view that code.
Anyone recall what that site was?
I think there are several. I have seen pastebin being used. That said, if you want to post code on this message board, you should do so within [noparse]
or more generally
[/noparse] bbcode tags instead of linking to externally hosted code.
laserlight;10925948 wrote:I think there are several. I have seen pastebin being used. That said, if you want to post code on this message board, you should do so within [noparse] or more generally [/noparse] bbcode tags instead of linking to externally hosted code.
That's the one!
Thanks kindly -- I'm teaching a programming class and, instead of trying to manage all of their projects being turned in on hard copy, I wanted to look into being a bit greener and using pastebin.
Muchly appreciated.
Also for your consideration is PHP's [man]highlight_file/man function, which you could use locally (or in your own web app) to view electronic submissions. It all depends on exactly what you need to do, I guess.
Wynder: one other suggestion you can use if you don't want your code open to the world; asciibin.com and pasteninja.com both allow password protection of your code. I've used both of these for collaborative debugging, but they would work for your purposes as well.
Also Mozilla has something out for programmers. It's not a pastebin of sorts, but it looks interesting.
https://bespin.mozilla.com/