by Cube Websites | Jun 9, 2017 | Extensions, Magento 2
I’m currently working on a client-site which is using Magento 2, and realised there’s no full en_GB language pack for English (United Kingdom) available. I’ve created the following package with full instructions that you can view on Github....
by Cube Websites | Mar 7, 2016 | Ember, PHP
Introduction This guide will show you how to setup a new project using Ember and Laravel, JSON-API and token based authentication. The deployed version of your application will be a Laravel backend which serves up the Ember frontend using a Laravel route. Software At...
by Cube Websites | Feb 29, 2016 | PHP
The Code // Inline Style Images $content = preg_replace_callback(‘/!\[(.*)\]\s?\((.*)(.png|.gif|.jpg|.jpeg)(.*)\)/’,function($match){ return str_replace(‘your_search_term’,’your_replacement’,$match[0]); },$content); // Reference...
by Cube Websites | Jan 14, 2016 | Development, Tools
I normally use PuPHPet to configure my Vagrant boxes. On my latest box using CentOS 5.6 the setup worked normally, but when trying to run my application I was getting the Class ‘Memcache’ not found error. Usually this is a simple fix, just go in and type:...
by Cube Websites | Aug 5, 2015 | Tools
I just came across an issue where I updated my vagrant config and tried to provision the box, but it kept erroring out with the following error: ==> default: Error: printf “\\n” | pecl -d preferred_state=stable install pecl_http returned 1 instead of...