With latest version of Raspbian being based on Debian Jessie, this still comes with PHP 5.6 by default. Since PHP 5.6 reaching its end of life, and only security updates support starting tomorrow, it's time to start looking at the newer versions. PHP 7.0 was released last december in 2015 but is still not merged in the stable branch. Luckily there's a little workaround for this issue!
After using Vagrant for the past few years and Docker gaining more adoption every day, I decided to give it a go as well. In this post I'll guide you through the installation process and how to configure it and use it with docker-compose.
There's also a TL;DR with just a download link if you don't care how it works but just want to get started ;-)!
Not that long ago I was fidling around with my Xdebug settings and discovered by accident that you can enable a nice color formatted var_dump by changing just one small setting. It improves readability a lot and also color highlights errors which obviously comes in very handy when debugging code.
Ever needed to loop over every day between 2 dates for a data set you need? From time to time I do and this can come in handy especially when making graphs or charts for example. Luckily, it's super easy to do this with some date & time extensions.
After I recently found out that a newer version of nano than the one that ships by default with OS X can be upgraded to a version that supports syntax highlighting, I started to be annoyed by the fact that cat didn't supported syntax highlighting.
So I did a little bit of research. Turns out that with a little bit of effort and a small workaround, we can bring it to cat as well.
Recently I was editing a php file on my VPS and I noticed it had some basic highlighting. The reason why I noticed is because on Mac OS X everything is always in the default terminal color without highlighting.
So I Googled a bit until I came accross some lost gist with a few comments of people trying to enable it. After trying it myself and using it for a day or two I wouldn't want to live without it anymore. It's a very handy little tweak that will definitely boost your productivity as a developer.
Sadly enough, we discovered today that our web application was crashing when browsing in private mode on Safari (this happened during a product demo of our CEO ?). It was a bit unfortunate that we had to discover it like that and that none of us had tested it with Safari in private mode. However, we were not expecting that modern browsers would do such weirdness, even caniuse.com doesn't mention it. But still, we can't assume things like that of course.
Just admit it. We all like emoji. You might have tried adding it to your blog or website. Sometimes this can be a tricky thing, especially when it's database powered. In this short blogpost I'll show you how to enable emoji on your website in just a few minutes!