Tutorials Page 78

  • By
    Git Update Commit Message

    One of my faults as a professional developer is that my commit messages aren't always as descriptive as they could be.  Sometimes I even notice a spelling error in them.  Bleh -- that's not cool, man.  When I do catch that my last commit message isn't good...

  • By
    Convert Image to Data URI with JavaScript

    Whenever I go on a "performance run" on a website, the first place I look is imagery.  Why?  Because you can save an image out of Photoshop, push it into ImageOptim or even TinyPNG, and save 70% on its file size.  What do most developers not consider?  Taking tiny image...

  • By
    Detect if a Document Has Loaded with JavaScript

    If you follow me on Twitter, you've probably noticed me whining about ChromeDriver.  For some reason it seems as though tests run before the document has properly loaded, leading to transient test failures and loads of frustration. I thought the best way to avoid these problems was...

  • By
    Git Undo Last Commit

    I'm a massive fan of git; it's super powerful and easy to use, especially when it comes to branching.  The biggest sin I commit when using git is adding files and then committing them...to master branch instead of a feature branch.  Oops.  Certainly don't want that. If you've done a git...

  • By
    Get and Set Nested Objects with JavaScript

    Back when JavaScript frameworks like MooTools and jQuery ruled the land we all wrote tutorials which were framed more toward the given framework instead of vanilla JavaScript.  Sad but true.  These days I avoid framework-oriented posts since Node.js has taken over the world and JavaScript toolkits come and...

  • By
    The Complete Web Developer Course with Rails Online Training Program – 92% off!

    Whether you're a complete beginner or have tinkered around a bit with some code, The Complete Web Developer Course with Rails can turn you into a full-fledged, professional programmer in just 12 short weeks. With 160+ videos spanning more than 22...

  • By
    Get and Set Environment Variables in Node.js

    One of the best ways to use sensitive information in open source repositories without hard-coding the information within publicly available repositories is setting environment variables.  Set the environment variables on the server, retrieve them by key within your application. When using Node.js, you can retrieve environment variables by key from the process.env object: There...

  • By
    Recommended Tools, Services, and Resources for Designers

    This listing of recommended themes and website, page, and app builders, and related services and resources, will hopefully save you some search time. Every item featured here is among the best in its class, so you really can't make a wrong decision if what you choose...

  • Media Temple Hosting
  • By
    Intercept HTTP Requests with Node.js nock

    Unit testing external APIs is difficult no matter what language you do it in.  Hell, working with any external API is scary, if only because you have zero control of networking issues, API changes, and a host of other issues.  But if you do create a service...

  • By
    Introducing Frontend Masters (with Giveaway)

    Hey DWB readers, I'm super happy to sponsor this blog. I've been a long-time reader and fan, since back when David wrote about JavaScript and MooTools back in 2007. ;-) We are in one of the fastest changing, evolving, most lively communities on earth: JavaScript and front-end web...