Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I really like PBworks but when i hit 'formatted' and paste my code (no other settings keeps single lines single) the spaces get missed up so it looks weird when i paste it back. (Luckily i dont write python code)

So what site can i use to write(copy/paste) code and edit it repeatedly.

share|improve this question

migrated from superuser.com Feb 19 '11 at 4:57

This question came from our site for computer enthusiasts and power users.

closed as not constructive by Eight Days of Malaise, phwd Feb 10 '12 at 17:45

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

The first thing that comes to mind is Pastebin. I have not had problems with copying and pasting back to applications and it supports syntax highlighting of many different languages.

share|improve this answer

Check out CodePaste.NET .

It's a great site for code help, etc. Does formatting for you. Made by Rick Strahl who's well known in the .NET geek circles.

share|improve this answer
This looks like it does what i want. No privacy but it copy/paste and edits well :D – acidzombie24 Oct 6 '09 at 1:21
Enojy :) It's a great little site :) – Pure.Krome Oct 6 '09 at 5:00

Pastie is another good pastebin type site. It has the dubious advantage of defaulting to a dark color scheme. It also seems to load a tad faster than Pastebin for me.

share|improve this answer

I use CodePad, the benefit being that you can run your code on their server if they support the language. You can't directly edit a paste, but you can fork it and make a new one. Syntax highlighting and all the regular fixings are supported, you can even register an account to keep track of your code if you wish. There is also ASCIIbin and Mozilla's Bespin.

share|improve this answer

There are only two I know of that let you update your snippets. These are, consequently, the only two I use:

Snipplr is cool and has an API, and a textmate bundle. Refactor :my => 'code' is cool because it's main purpose is to get advice from other people about how to optimize your snippets, but it can double as a personal snippet repo in a pinch.

share|improve this answer

For JavaScript (and HTML/CSS), including actual execution for live testing of the code (in your own browser, of course, but not in IE6), there's the brilliant JS Bin.

Be sure to watch the short introduction videos. Once you saved your code to a public URL it cannot be changed, but others can save their changes and then get a brand new URL they can paste in a forum or on sites like Super User.

Minor annoyance: it embeds Google Analytics tracking code (but only when running from the bare URL), which may interfere in some rare cases (like when trying to figure out if Is $(document).ready() also CSS ready?).

share|improve this answer

Yet another pastebin with quite a lot of features and formating options: Friendpaste

share|improve this answer

Gist - a part of GitHub

  • Syntax highlighting or view as raw text
  • can do sets of files as well as individual files
  • version controlled
  • embeddable in blogs
  • download files in tar.gz
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.