Categories
DevOps

How to Fix the Vagrant Error: Failed to mount folders in Linux guest.

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 […]

Categories
DevOps

How to Fix the Vagrant Error: The guest machine entered an invalid state while waiting for it to boot.

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 […]

Categories
PHP 5

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 […]

Categories
Android

How to create and use Offline Maps with an Android App?

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 […]

Categories
Android

Using an Existing SQLite Database with an Android Project

This article highlights how to use an Existing SQLite database with an Android Project. Prerequisites A sqlite3 database is required as it is the only db that android supports (probably because it is a single simple file). Converting between databases can be tricky sometimes. In this case I needed to convert a MSSQL database to […]