Sorting

Laravel column sorting made easy

This is my shot at universal and easy to use model sorting in Laravel. The end result allows you to sort an Eloquent model using any column by clicking the column name. Everything is done in PHP, no JS involved. Laravel/PHP Prerequirements Traits are only supported in PHP 5.4+ Tested with Laravel 4.0, 4.1 and…


mosh

Running Mosh behind a NAT

I recently discovered Mosh and wanted to use it with my home server. I received this message and was very frustrated since it works on my public web server: Nothing received from server on UDP port 60001 Turns out Mosh doesn’t like NAT.┬áThe way around this is to build Mosh from source as the HEAD…