Getting Started With Testing In Laravel

testing-with-laravel

Testing is not something I’ve personally ever put a lot of time in to. If the code I was writing did what I wanted it to do, that was good enough for me. If formal testing is not part of your background, the benefits of testing are not all that obvious. In fact, being new to testing myself, some of the benefits are not obvious to me.…

How To Compare Two Arrays of Data and Calculate Position Differences

How To Compare Two Arrays of Data and Calculate Position Differences

Sometimes we might want to compare two arrays of data, and determine the positional difference of each value in the array from one to the next. One example of such an application of this might be similar to what you see where a website is keeping track of the position of a programming language for instance. Consider the Tiobe Index which tracks the position of a programming language from month to month.…

How To Provision NGINX Using Vagrant

How To Provision NGINX Using Vagrant

Now that we have learned the basics of how to work with Vagrant, let’s now go a little further into working with the fundamentals in Vagrant. In this vagrant tutorial, we’re going to create a new development environment using the precise32 box like we have done already. This time however, we are going to add some shell provisioning to the Vagrantfile in order to automatically install the NGINX web server on our new virtual machine.…

Getting Started With Vagrant

getting started with vagrant

With Vagrant now installed, let’s have a look at getting started with Vagrant. In this article we’ll have a look at several topics. First off, we’ll explore the concept of Synced Folders and how Vagrant sets up file sharing between the host and guest OS. Then we’ll move on to working with a few different commands in Vagrant. We will look at vagrant suspend, vagrant resume, vagrant status, vagrant halt, vagrant up, and a few others.…

Setting Up Vagrant On Ubuntu

Setting Up Vagrant On Ubuntu

This is going to be a fun tutorial in setting up Vagrant on Ubuntu Linux. Vagrant is the excellent software by HashiCorp, created by Mitchell Hashimoto. It’s purpose is to make development environments easy. Vagrant enables the software developer, devops engineer, or system administrator to create lightweight and fully reproducible software environments in virtual machines. In this vagrant virtualbox tutorial, we’ll work on an Ubuntu Desktop Virtual Machine and install Virtualbox as well as Vagrant on this VM.…