views:

993

answers:

12

Following on the heels of What is your preferred site for code snippets, I'm looking for a website to post a short blurb of formatted code.

I don't want to create a login. I'm looking for a simple: paste, use and forget. I know it exists, I've used it before, but my google skills are failing me!

+6  A: 
Ron DeVera
+9  A: 

http://codepad.org

As a bonus, it can also run snippets of code!

sysrqb
I love codepad - just wished it supported the .NET platform languages...
Reed Copsey
The execution servers run Linux on Amazon's EC2, so supporting .NET is a bit of a pain. Mono does have partial C# support though.
sysrqb
@sysrqb: I can't imagine that they actually use a standard C/C++ compiler to run those snippets, for security reasons. I'd guess they wrote their own C/C++ interpreters. Writing a C# or Java interpreter probably isn't harder than that, but supporting the standard libraries that come with Java/C# *would* be a huge task.
nikie
You think writing a C/C++ interpreter is easy? It's much easier to make a sandbox. http://codepad.org/about
sysrqb
A: 

http://pastebin.com/

If you want the code highlighter to default to your favorite language, use language-name.pastebin.com, e.g. http://csharp.pastebin.com/

mcrumley
A: 

I use mydomain.pastebin.com.

I like being able to have a private domain without any accounts/signing in, etc. You can also (optionally) look at older pastes there.

Reed Copsey
+3  A: 

I am not sure if you mean by this:

http://snipt.org/

MarlonRibunal
+9  A: 

http://gist.github.com/ is nice. It even provides a history of the code snippet if you do create a login.

Sebastian Celis
A: 
  • http://gist.github.com (since I have a GitHub accont, and it's pretty nice to get a git repo of all of the edits of a paste if it changes a bunch)
  • http://paste.lisp.org (since it reports pastes to my IRC channel automatically)
Brian Campbell
A: 

I always use http://rafb.net/paste/. It supports most common languages, selectable from a dropdown on the form.

rmeador
Sadly, there is no pastebin service hosted there anymore. Just the code.
keturn
A: 

This is a list from my bookmarks at the moment:

New - Pastie

cl1p.net - The internet clipboard

New Paste | LodgeIt!

pastebin - collaborative debugging tool

ldigas
+1  A: 

The Djangonauts use http://dpaste.com It's written in Django, but certainly useful for any kind of code (well, any kind of Python for sure, other types of text may vary your mileage). Highlighting comes courtesy the Pygments library.

shawnr
A: 

You can try codeupload.com - it has some nice features as print page, password protection and copy raw code.

OD