Compiling PHP 7 from source
1 year ago by: matt
cd /usr/local/src
sudo gunzip php-7.0.1.tar.gz
sudo tar -xvf php-7.0.1.tar
cd php-7.0.1
1 year ago by: matt
cd /usr/local/src
sudo gunzip php-7.0.1.tar.gz
sudo tar -xvf php-7.0.1.tar
cd php-7.0.1
1 year ago by: matt
Well another year comes to an end and the stats are in:
I also got to work on some pretty interesting projects over the year. Early on in the year I finished off a project for a private client which was for tracking quality control across multiple companies. I contracted for a few m...
1 year ago by: matt
Couldn't get this working right out of the box due to some changed syntax/callbacks on summernote so here's some quick code samples on how to get image upload working for summernote 0.7. Keep an eye on the summernote insertion API for any changes in future:
http://summernote.org/deep-dive/#insertimage
Unless you have manually disabled csrf, Laravel will be expecting the post request to also submit t...
1 year ago by: matt
Edit: I have since this article was written updated the Phalcon documentation here to include this example. I have also put in a pull request to 2.1.x to put this functionality into the dispatcher in the phalcon core.
So this is something I discovered today after creating a new feature request over on the cphalcon GitHub. My initial request was to allow for route model binding similar to what is ...
1 year ago by: matt
First meetup of 2016 and probably the best one I've attended so far. Rasmus Lerdorf himself gave a great presentation/introduction to PHP 7 which came with examples and benchmarks. I also loved the deployment example without loosing requests in progress. Obviously there is still no similar solution for deployments with schema changes but one can dream...
PHP 7.0.2 has already been released so there...
1 year 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:
http://mydomain.com/articles?sort=desc
Now you would expect the following output if you have your Paginator set up correctly:
<?php echo $page->next ?> //Output ?page=2&sort=desc
How...
1 year 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...
1 year 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
wget http://nginx.org/download/nginx-{VERSION}.tar.g...
1 year 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...11 months ago by: matt
Summary: Spent 3 weeks building my first Android app from scratch to the Play store. Feature creep is real! Laravel and Dingo are awesome for quick API work!
Here's the result: B.A.S.E jumping logbook app
3 months 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...