Tutorials Page 15

  • By
    How to Push to a Git Remote Branch of a Different Name

    Git is one of those tools that I've always known just enough about to be dangerous, and usually tend to learn new skills when I'm in a position to truly need them. Shockingly enough it has taken me roughly 15 years of using git for...

  • By
    Fix “no such file or directory, scandir”

    After 15+ years in the web development industry, and seeing the landscape of tooling change, I've really lost patience with tooling errors. Like...Old Man Walsh™ just wants yarn install to work so he can get on with his work day.One recent error I ran into...

  • By
    Confessions of a Web Developer XVIII

    It's been quite a while since I've gotten a few things off of my chest and since I'm always full of peeves and annoyances I thought it was time to unleash:Sometimes you need to get out of the cult and stop drinking the Kool-Aid to see...

  • By
    JavaScript Wake Lock API

    An enjoyable web apps rely on engineers implementing the APIs that cover all of the small things. Those small things sometimes improve performance, usability, accessibility, and the app's relationship with its host system. The Wake Lock API is the latter -- an API...

  • By
    navigator.clipboard API

    Interacting with a user's host clipboard is something web developers have wanted for both good and evil purposes. On the good side, it's nice to allow users to easily copy text like wallet addresses or branch names; for evil, copying malicious text that the user...

  • By
    Goals For 2021

    Every year I write a blog post about my goals for the year but I won't pretend this year's post is the same. I mean how the hell do I create realistic goals knowing what 2020 was and what 2021 inherits?! Pandemic, drastic political...

  • By
    Open a Browser Tab with DevTools Open by Default

    Using command line flags is a great way to subtly improve productivity. Whether saving yourself keystrokes or enabling specific features, it's very much worth knowing the application flags available to you.To launch a new tab with DevTools in Chrome, you can use the --auto-open-devtools-for-tabs command...

  • By
    Return a Default Value with Promises Using catch

    Last week I tweeted all of you looking for your best JavaScript Array and Promise tricks, and as always, it didn't disappoint -- I learned quite a bit!Today's JavaScript Promise trick is brought to you by Claudio Semeraro: how to use catch to...

  • Media Temple Hosting
  • By
    Break a forEach Loop with JavaScript

    I've written a number of blog posts about JavaScript tricks: Promise tricks, type conversion tricks, spread tricks, and a host of other JavaScript tricks. I recently ran into another JavaScript trick that blew my mind: how to break a forEach

  • By
    Sharpen Your JavaScript Skills with Pluralsight

    JavaScript recently turned 25 years old, and while it started by dominating over the client side world, this beautiful programming language is well on its way to taking over the server side. JavaScript isn't just thriving -- it's evolving with new syntax features, patterns, frameworks...