See Pastebin or any other online pasting tool. This one is special because you can easily download and run you own local version of it from your computer. This is especially good for paranoid people or someone working in a corporate environment where sharing code via a world visible pasting tool is a bad idea.
Download the .jar file from here. Run with java -jar uPaste-local.jar.
For now, simply clone this repository and run mvn clean install -Dpublic=true to build. The .jar will be in the target/ directory. Run java -jar uPaste-jar-with-dependencies.jar and navigate to localhost:4567.