Edmondscommerce - edmondscommerce.co.uk
General Information:
Latest News:
MySQL Substring not Returning Anything + Solution 20 Aug 2013 | 03:54 pm
If you are puzzled why your simple usage of the MySQL SUBSTRING() function is not returning anything this could be your solution. The substring function allows you to specify a string (eg a column), t...
Compiling Twitter Bootstrap’s less files on Ubuntu 12.04/Mint 13 30 Jul 2013 | 08:57 pm
The version of lessc available in Ubuntu 12.04′s repositories is now out of date, stuck on version 1.2. When attempting to compile the bootstrap.less file to a proper CSS file, you’ll find it complain...
How To Prototype For Mobile Devices Fast & Easy? 29 Jul 2013 | 04:29 pm
As a designer who is keen on usability and user centric, well tested web systems I was in a desperate need of silly fast and useful mobile prototyping system. Up until recently I’ve used paper prototy...
Prevent zooming in a mobile browser 26 Jul 2013 | 07:09 pm
It may some times be necessary to prevent a user from zooming in on a mobile browser. This can be done with the following meta tag More Reading: Responsive Web Design for Mobile and Tablet Optimised W...
Tab Complete for SSH and SCP 26 Jul 2013 | 03:31 pm
If you are required to connect to different servers, then remembering and typing in all of the details can become tiresome. Thankfully there is simple solution to this, using the SSH config file. To m...
PHP Base64 Decode if Encoded Otherwise Leave Intact 25 Jul 2013 | 08:05 pm
I had a scenario where an API I was working with would sometimes base64 encode data (instead of using CDATA which is the more usual approach). However to really make things interesting, they didn’t al...
Sylius E-Commerce based on Symfony 23 Jul 2013 | 06:48 pm
As if there weren’t enough! There is a new contender for the open source e-commerce crown, a platform called Sylius. The thing that makes this one especially interesting is that rather than being buil...
Side by Side diff on the command line 9 Jul 2013 | 10:25 pm
I have recently discovered a handy trick when comparing files on the command line. Adding the -y command line options to diff will display the files side by side. Using this with the Color Diff tool w...
PHP SOAP Client Basic Template 8 Jul 2013 | 01:28 pm
Often when integrating with SOAP services I find myself doing the same old moves. I have a deep suspicion of API’s written by others. They always tend to be in ASP.net, have error message pages that h...
ERROR 1062 (23000) at line [Line No]: Duplicate entry for key ‘[Key Name]‘ 2 Jul 2013 | 07:09 pm
Importing a database dump from one location using mysqldump, and them importing it into a blank database I received this error: ERROR 1062 (23000) at line [Line No]: Duplicate entry for key ‘[Key Name...