David Walsh Tutorials
![git: Delete All Branches but Master]()
git: Delete All Branches but Master
Maintenance is incredibly important in any project, but if you want to take your professionalism to the next level, you should keep your git environment in shape. Unfortunately I'm not that guy -- I leave git branches laying around, even after they've been merged into
master.![7 Essential JavaScript Functions]()
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
addEventListenerandattachEvent. Times have changed but there are still a few functions each developer should...![File Input accept Attribute]()
File Input accept Attribute
The HTML5 revolution provided us several simple but important attributes like
download,autofocus,required,novalidate, andplaceholder. There's another one you may want to know about:accept. Theacceptattribute is useful forinput[type=file]elements. Let's have a look at it! The HTML I'll...![Get IP Address from Command Line]()
Get IP Address from Command Line
Over the past few years I've needed to look up my IP address a dozen times. What's funny is that I don't recall why I needed it, I just did. So what's the easiest way to get my IP address from the command line? To get your internal IP, you...
![Loading Static Templates for Intern Testing]()
Loading Static Templates for Intern Testing
I use Intern by SitePen for all of my JavaScript functional testing. Intern has loads of features other functional test frameworks don't and it's completely Promise-based -- something I got very used to when I used the Dojo Toolkit every day. Async test creation can...
![Convert Video to mp3]()
Convert Video to mp3
Let's all be honest for a moment: we've all ... not paid for ... music. Whether it was via a file sharing app like Kazaa or Napster, or it was downloading and seeding on bittorrent, or maybe even downloading a music video and ripping its audio...
![Sort git Branches by Date]()
Sort git Branches by Date
I'll be first person to admit I don't do as much git repository maintenance as I should. I rarely delete branches which have been merged, so a
git branchexecution shows me a mile-long list of branches that likely aren't relevant. The best way to find branches I've recently...![Best Tools and Resources for Web Professionals in 2015]()
Best Tools and Resources for Web Professionals in 2015
Looking for the right resources to help you satisfy the needs of your clients? On the lookout for the best tools to help you increase your revenue? Searching for the right software to help you improve your business? Well, then you've come to the right place.
![JavaScript Polling]()
JavaScript Polling
Polling with JavaScript is one of those ugly but important functions within advanced front-end user experience and testing practices. Sometimes there isn't the event you can hook into to signify that a given task is complete, so you need to get your hands dirty and simply poll for...
![Prevent Chrome from Translating a Page]()
Prevent Chrome from Translating a Page
A while back I shared my favorite Google Chrome extension: Google Art Project. I've enjoyed seeing beautiful art when I open a new tab -- it's brought genuine happiness to my day, however small that happiness may be. About a week ago, however, the art presented had...








