Bring back three-finger-swipe in OS X

September 13th, 2015

Somewhere between Mountain Lion and Yosemite, three finger swipe (to move windows) was removed. Here's how to get it back.

Contextual container bindings

September 4th, 2015

Have you ever had to use multiple implementations of an interface within a Laravel app and got stuck with how? Read on!

Ubiquiti EdgeOS - IP-restricted NAT forwarding

July 12th, 2015

Recently changing ISP, I found myself having to configure NAT rules in my router, but wanted to restrict access from specific hosts.

Opinionated development practices (or when to do what)

June 22nd, 2015

The question always comes up "can I do x in y?" and you will often have someone telling you about purity or the "right way" - but what is the "right way?"

Working with nullable field in Eloquent models - Part Deux

June 18th, 2015

Today I take a look at a more extensible and easily reusable version of the nullable fields trait from my previous blog post.

Working with nullable fields in Eloquent models

May 15th, 2015

Nullable model attributes still need to have their value explicitly set to null in order to be persisted as null. If you have a few nullable fields across a multiple models, the duplication of code can get unwieldy.

An Envoyer-like deployment script using Envoy

March 19th, 2015

As the release of was announced last week, I finally spent a bit of time looking into making use of Laravel's Envoy. in Homestead fails to restart nginx

March 16th, 2015

A slight change was made to the command in February 2015 that caused serve function to incorrectly set the listen port in the nginx config. Here's a brief discussion of the problem and a simple fix.

Eloquent ORM, route model binding, and repositories

March 12th, 2015

As you progress as a developer, you learn more and more ways to achieve a given outcome. The more knowledge you have, however, the more difficult it can be to determine when to use any given option over another. In this post, I discuss using the Eloquent

Filtering models with Eloquent in Laravel

March 3rd, 2015

The Eloquent ORM that ships with Laravel is a very powerful tool; it simplifies many tasks - from relationships between models to eager loading. In this post, I talk about query scopes and how they can be leveraged in order to perform filtering of model r