CakePHP - limit number of results per page.

Reading time ~1 minute

This one is a simple trick, and one to remember. Add this little line to the controller (/App/Controller/UsersController.php to control how many results per page are loaded. You can also use this same method to manipulate the results in other ways as well (See this for more details.)

public $paginate = array( 'limit' => 25, 'order' => array('Post.title' => 'asc'));

Quick Laravel/Lumen install with Docker!

The default installer that comes with Laravel is great, but unfortunately that means you have to install dependencies of PHP and Laravel/...… Continue reading

PHP To Python

Published on February 24, 2016

Aftertouch in Logic Pro X and 2015 Macbook Pro

Published on February 24, 2016