RHS Energy / Lets Talk Solar / Synagia ongoing Ireland Scam

1 year ago by: matt

Latest Update June 17th 2017:

Martin Palmer is now trading under ANOTHER new company called "Synagia". Company website here and their Facebook page here. Again STAY AWAY ITS A SCAM.

Also it was requested back in march to remove "Joseph Caroll" from this article as he was "just answering the phones" and not involved with any of this which I gladly complied with. However his name is now popping up aga...

Continue reading

Injecting a model instance into a controllers action

2 years ago by: matt

This is a continuation/update from my Phalcon PHP route model binding post. My pull request has since been merged and made its way into Phalcon 3.0.0. This is taken from the documentation I wrote for this feature here.

From 3.0.x onwards the dispatcher comes with an option to handle this internally for all models passed into a controller action.

use Phalcon\Mvc\Dispatcher;

$dispatcher = new Dis...

Continue reading

Compiling Nginx from source - Ubuntu 14.04

2 years ago by: matt

More of a reference for myself but may come in useful for someone else too.

Start off by downloading the latest version you need. In my case im going for 1.9.12. I usually throw all of this into /usr/local/src.
Keep in mind, I am running all of this as sudo, if you dont know what your doing do some reading on the linux superuser.

cd /usr/local/src

Continue reading

Pacific Crest Trail 2016 - Gear

2 years ago by: matt

In 2012 I came across a movie called "Into the wild" that has stuck with me ever since. It follow Christopher McCandless on a trip to get to the Alaskan wilderness. At the time I had just started my skydiving, B.A.S.E jumping training so I had to focus on that but the idea had been planted.

Last year I watched "wild" which was filmed along the Pacific Crest Trail and it was the missing piece I need...

Continue reading

Phalcon PHP Paginator with URL parameters

2 years ago by: matt

So this is an issue that a few people on the forums and github have reported. Common scenario would be searching or filtering where you are adding additional parameters into your request. Something like the following:

Now you would expect the following output if you have your Paginator set up correctly:

<?php echo $page->next ?>



Continue reading