Treehouse

pastebin Available: paste.davidwalsh.name

By on  

Pasting code into the comments section of any blog is hell. The WMD editor does OK but it still strips out code indenting, comments, and so on. That will happen on my blog no longer! I've added a pastebin at the following address:

http://paste.davidwalsh.name

Instead of pasting your lengthy code directly into a comment, feel free to use my pastebin. If you'd like me to help you with some code that isn't working, use my pastebin. If you want to have others look at a chunk of your code, use my pastebin. If you created some really kick-ass ASCII art, you sure as hell better let me check it out at my pastebin.

Code chunks are saved forever by default so there will be no loss of code. Happy pasting!

ydkjs-5.png

Recent Features

Incredible Demos

  • dwClickable:  Entire Block Clickable Using MooTools 1.2

    I recently received an email from a reader who was really impressed with Block Clickable, a jQuery script that took the link within a list item and made the entire list item clickable. I thought it was a neat script so I...

  • MooTools: Set Style Per Media

    I'd bet one of the most used MooTools methods is the setStyle() method, which allows you to set CSS style declarations for an element. One of the limitations of MooTools' setStyle() method is that it sets the specific style for all medias. What if...

Discussion

  1. Sweet, dude!

  2. Awesome! Look at my first paste! :D – http://paste.davidwalsh.name/pastebin.php?show=f3ad6515c

  3. That is ver nice man. Handy idea for a blog!

    I also don’t get it, why does wordpress doesn’t work with ubb codes. It is much saver! (and the wmd editer, it is costumize able).

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!