David Walsh Blog

  • By

    Get Keychain Passwords from Command Line

    One of my favorite command line utilities is Guillermo Rauch's wifi-password, a utility that allows you to get a saved password for the wifi network you're presently connected to (to share with colleagues or creeper in the cafe you're in).  The idea of being able to...

  • By
    Interview with James Turnbull, Chair for O’Reilly Velocity Conference

    O'Reilly's awesome Velocity conference, come to San Jose from June 19-22, focuses on the "magic in the background": DevOps, Security, and Systems Engineers. You'll have a chance to learn from engineers at Dropbox, Slack, Microsoft, Intel, Twitter, and more! As our systems grow...

  • By
    Get Python Requirements Package Hashes

    Python's (pip's) requirements.txt file is the equivalent to package.json in the JavaScript / Node.js world.  This requirements.txt file isn't as pretty as package.json but it not only defines a version but goes a step further, providing a sha hash to compare against to ensure package integrity: Coming from the JavaScript / package.json world, you only need...

  • By
    Protect Sensitive Data in Docker

    Developing authentication code for open source repositories can be a scary task; you're scared that hackers can find loopholes in your code but you're also petrified of accidentally committing sensitive credentials to a public repository.  I've seen unintentional credential commits happen and the panic that ensues throughout an organization will...

  • By
    Powerful Tips and Tools for UX and UI Designers

    Although they are separate entities, UX and UI design are often done by the same individual. This is usually the case with a freelance web designer. Most designers however, are focused on the UI when building a website. This would seem to make sense, in that...

  • By
    currencylayer:  Simple, Effective Currency Conversion

    Every developer that's maintained an eCommerce site will tell you that being responsible for properly handling currency will tell you it can be a very stressful task.  If you write buggy or insecure code, you're going to cost either your employer or the user money.  An added complication for developers...

  • By
    Chris Coyier: Some Amazing Work on CodePen III

    I'm back! David asked me to rope up some of my favorite stuff on CodePen again, which I both love doing, and wince at the thought of having to pick so few favorites. I like a ton of stuff on...

  • By
    Building Animated SVG Banners

    I've been reading David Walsh's blog for years. The tips and tutorials he shares have helped me fix a lot of problems. I love that I get to support him now by advertising TrackJS on his site. Plus, I get a chance to build...

  • By
    Continue Download with cURL

    One of the most useful but least talked about utilities a developer has at their disposal is cURL.  The cURL command line utility has been so amazing that Chrome lets you copy requests as cURL from the developer tools Requests panel.  cURL lets you post form data, follow redirects,

  • By
    Conference Giveaways:  Fluent Conference and Velocity Conference!

    Two of O'Reilly's amazing conferences are about to hit San Jose:  Fluent and Velocity.  Each conference is taking place in San Jose, CA from June 19-22.  You'll learn a ton from the amazing speakers, network with developers like yourself, and have the opportunity to get...

Popular Features

  • By
    Being a Dev Dad

    I get asked loads of questions every day but I'm always surprised that they're rarely questions about code or even tech -- many of the questions I get are more about non-dev stuff like what my office is like, what software I use, and oftentimes...

  • By
    JavaScript Promise API

    While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready?  Promises are becoming a big part of the JavaScript world...

  • By
    Chris Coyier’s Favorite CodePen Demos II

    Hey everyone! Before we get started, I just want to say it's damn hard to pick this few favorites on CodePen. Not because, as a co-founder of CodePen, I feel like a dad picking which kid he likes best (RUDE). But because there is just so...

  • By
    7 Essential JavaScript Functions

    I remember the early days of JavaScript where you needed a simple function for just about everything because the browser vendors implemented features differently, and not just edge features, basic features, like addEventListener and attachEvent.  Times have changed but there are still a few functions each developer should...

  • By
    I’m an Impostor

    This is the hardest thing I've ever had to write, much less admit to myself.  I've written resignation letters from jobs I've loved, I've ended relationships, I've failed at a host of tasks, and let myself down in my life.  All of those feelings were very...