Recursion in Go

The Go programming language supports recursion (the process of repeating items in a self-similar way). That is, it allows a function to call itself. But while using recursion, programmers need to be careful to define an exit condition from the function, otherwise it will go on to become an infinite loop.

Continue reading

Deploy a Laravel application with Apache on Ubuntu

Laravel is a free, open-source PHP web framework, intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony. Some of the features of Laravel are a modular packaging system with a dedicated dependency manager, different ways for accessing relational databases and utilities that aid in application deployment and maintenance.

Continue reading

Which Distro? Creating your very first Linux VM

Watch out! This tutorial is over 1 year old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

As a student in the School of Informatics & Creative Arts, you will have access to our very own Cloud Computing Platform at https://xoa.comp.dkit.ie.  You will not only use this for class exercises but also for end of year projects, group collaborations, Docker, Continuous Integration Pipelines and a bunch of other stuff you are not aware of just yet!

Continue reading

Append to Bash Array

Watch out! This tutorial is over 1 year old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

The array data type is used in bash to store multiple data. The new data can be inserted at the end of an array variable in various ways. Bash has no built-in function like other programming languages to append new data in bash array. How you can insert single and multiple data at the end of the array in bash is shown in this tutorial.

Continue reading