Many of us were saved from callback hell and arrived in the Promised Land. Our code was flattened, control logic flowed gracefully, and our errors were tamed. But alas, there was still confusion to be found in this land of enlightenment. For those of us who found ourselves working in Angular, the way the $q Promise library works can be a bit surprising. This post aims to help get rid of these…
After using Vim for a while, it is likely that you have found yourself to be incredibly productive within it. Those moments when you have to step outside, however, can be painful. But they need not be. Vim itself is just a text editor. Vi-nature, though, is becoming increasingly universal. "Vim is not permanent. Nvi is not permanent. Vi itself is not permanent, only vi-nature. Emacs has vi-nature,…
Updated: 30 Nov 2013 Sublime Text is a text editor that has rapidly grown in popularity. While I still prefer Vim, I love some of the features that Sublime Text has. Among them is something called Distraction Free Mode . As one might expect, there are plugins that aim to bring similar functionality to Vim. VimRoom and Distraction Free Writing With Vim are the two that I am familiar with. I had…
Note: This guide was written for Laravel 3. In case you haven't heard, PHP is becoming cool again. I say this as a joke, but there's a ring of truth to it. With the advent of things like Composer, PSRs, and improvements to the core of PHP, things are beginning to look bright for PHP once again. Among the shiny new things is a framework called Laravel . It's described as a framework for web…
This is a brief guide to get you acquainted with using Vim in the terminal. If you're reading this, you've probably heard of Vim already. For those that haven't, it's a text-editor that's a bit different than most. It's optimized for touch typists, and eschews the use of a mouse in favor of keyboard shortcuts. Rather than binding controls to modifiers such as the Ctrl or Alt keys, Vim makes use of…