Mocking – Unit test video modifications

A quick way of unit testing video modifications by generating a real file. https://gist.github.com/allaniftrue/e14f7babe31252a459d7129b236e377c  

Sorting an associative array with PHP

Sorting has been chasing me lately and need to put it out in the wild because it gets really crazy when you need it and when you are limited by time in implementing it. The problem: Sort the json string by price from lowest to highest and if the price are equal sort it by … Continue reading Sorting an associative array with PHP