What is gulp.js and why use it?

What is gulp and what problem does it solve? There's no point in investing your time into learning a new tool if you don't even know what problem it solves. Gulp solves the problem of repetition. Many of the tasks that web developers find themselves doing over and over on a daily basis can be simplified by becoming ...

Using AngularJS services to broadcast messages between controllers

The basics of Broadcast and Emit Two handy functions built into the angularjs api are the $scope.broadcast and $scope.emit functions. Both of these functions are similar in the sense that they allow you to propagate messages up or down your html controller nesting. Emit will allow you to propagate messages up to controllers to which your current ...

What is a Singleton? How do I implement it? And when do I use it?

This explanation will use C# to explain the basic ideas of a singleton and the singleton pattern. Keep in mind that if you're using a programming language that doesn't support classes, this explanation may require a bit more analysis. What is a singleton? A singleton is simply a class which only allows a single instance. You can't new ...

Common List of Mac Keyboard Shortcuts

Learning keyboard shortcuts and getting familiar with your tools are great ways to be more productive. Keyboard shortcuts not only minimize the amount of time that you're navigating your cursor, but also become second nature to getting around your OS, documents, and applications. Here are a few shortcuts that I use on a regular basis. I'll ...