You’ve just found the Fastest Way to Mock a Rest API JSON Response. I know time is precious so I’ll be quick: First Step: Install the Server sudo npm install -g json-server Second Step: Create the Mock Response This will be depending on what you want the fastest mock REST API to be. Create it […]
Author: me
How to Fix: Failed to mount folders in Linux guest Failed to mount folders in Linux guest. This is usually because the “vboxsf” file system is not available. Please verify that the guest additions are properly installed in the guest and can work properly. The command attempted was: mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent […]
The Vagrant Error The guest machine entered an invalid state while waiting for it to boot. Valid states are ‘starting, running’. The machine is in the ‘poweroff’ state. Please verify everything is configured properly and try again. If the provider you’re using has a GUI that comes with it, it is often helpful to open […]
Implement Testing on Yii Framework 1
How to Implement Testing on Yii Framework 1 So you’ve finally realised to verify the quality of the code in releases and make sure everything is working before you deploy to production you need to test. First we’ll use phpunit for unit testing. Installing PHPUnit with Composer We will only handle installing the required packages […]
When building an app we know is going to be used in areas with no wifi or cellular networks nearby or when we want to offer an offline map option we make use of Offline maps. Otherwise it would be easier to implement the Android Google Map API. Maps are made up of a collection […]