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-4.png

Recent Features

  • Send Text Messages with PHP

    Kids these days, I tell ya.  All they care about is the technology.  The video games.  The bottled water.  Oh, and the texting, always the texting.  Back in my day, all we had was...OK, I had all of these things...

  • Create Namespaced Classes with MooTools

    MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does.  Many developers create their classes as globals which is generally frowned up.  I mostly disagree with that stance, but each...

  • 5 HTML5 APIs You Didn’t Know Existed

    When you say or read "HTML5", you half expect exotic dancers and unicorns to walk into the room to the tune of "I'm Sexy and I Know It."  Can you blame us though?  We watched the fundamental APIs stagnate for...

Incredible Demos

  • Using Opacity to Show Focus with jQuery

    A few days back I debuted a sweet article that made use of MooTools JavaScript and opacity to show focus on a specified element. Here's how to accomplish that feat using jQuery. View Demo The jQuery JavaScript $(document).ready(function() { //area 1 $('.fade-area-1').children().hover(function()...

  • Multiple File Upload Input

    More often than not, I find myself wanting to upload more than one file at a time.  Having to use multiple "file" INPUT elements is annoying, slow, and inefficient.  And if I hate them, I can't imagine how annoyed my...

  • MooTools 1.2 OpenLinks Plugin

    I often incorporate tools into my customers' websites that allow them to have some control over the content on their website. When doing so, I offer some tips to my clients to help them keep their website in good...

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!

Use Code Editor