David Walsh Tutorials

  • By
    CSS Vertical Text

    Almost every HTML element we create is thought of in the frame of horizontal.  We pay much more attention to widths than we do heights, especially when it comes to text within them. Sometimes we do, however, want to display element text in a vertical fashion.

  • By
    Copy Shell Output via the Command Line

    Oftentimes I'll want to copy the output of a shell command execution but can't get the whole output because it's larger than the terminal's buffer length, so I'll need to write to file for easy viewing, or I'll simply be annoyed that I have to click-hold-drag...

  • By
    Giveaway: Win 5 New Colossal Bundles Value $10,063 from Inky Deals

    Get a pack of 19 premium resources worth $66 for free by entering this contest. The free pack is sent to the email address you use to participate in the competition and comes from the New Colossal Bundle: $10,063 worth of Top-Quality Resources -- From $49.

  • By
    Disable the User’s JavaScript Console

    There are a few giant companies out there, namely Facebook and Netflix, who have decided to effectively disable a user's ability to execute JavaScript console commands.  The decision was initially made by Facebook to prevent users from executing a specific set of commands which...

  • By
    Using git reflog to Fix Rebase Problems

    My git jedi skills aren't top class yet but I'm learning how to use the force.  I recently rebased  a pull request, only to find that it added about two dozen more commits, thus my branch was hosed.  After a bit of research, I found git...

  • By
    new Function()

    Douglas Crockford once said that JavaScript was the only language developers didn't need to learn to use.  That's as true a statement as you'll hear when it comes to programming.  We all sort of stumbled into JavaScript, mostly due to JavaScript frameworks which made JavaScript magical...

  • By
    DO NOT TRIGGER REAL EVENT NAMES WITH JQUERY!

    Sometimes JavaScript toolkits give us so much functionality that we can get hung by it if we're not careful.  The more functionality that we use within a toolkit, the more opportunity there is to have one set of changes or additions affect another.  That's especially true...

  • By
    Startup Framework: Website Builder, Bootstrap Themes and More

    One conclusion that I've come to when evaluating my skills is that I'm not a designer.  Each time I redesign this blog, I identify a few sites I like and then meld them together.  Of course that means I end up with UI components that...

  • By
    Detecting CSS Animation Completion with JavaScript

    One fact of web development life in 2014 that's been difficult for me to admit is that the traditional JavaScript toolkit is mostly dead.  For years we relied on them for almost everything but now that JavaScript and CSS has caught up with what we need...

  • By
    Retrieve Twitter and Facebook Counts with JSONP

    I've been annoyed that many popular APIs have moved to require authentication in order to retrieve information.  If I can browse a page and get said information, why can't I simply pull it with some simple code and skip the authentication bit?  I had thought that...