Which Distro? Creating your very first Linux VM

Watch out! This tutorial is over 3 years 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 3 years 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

Run a QuakeWorld Server on a Raspberry Pi

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

The video game “Quake” turns 25 on Tuesday 22nd June 2021. While this might get some fans of “boomer shooters” excited, everybody else might not realise the significance.

Continue reading

How to clear bash history completely?

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

Sometimes you don’t want to leave commands in the Bash history (accessed with UP key) of your Linux server available to other users, because it may contain some sensitive data like passwords.

This tutorial may help you to control your Bash history file, which is where these commands are actually stored.

Continue reading

PHP JSON Parsing

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

JSON stands for JavaScript Object Notation. JSON is a standard lightweight data-interchange format which is quick and easy to parse and generate (a data-interchange format is a text format which is used to interchange or exchange data between different platforms and operating systems).

Continue reading

Setup your Raspberry Pi 4 and Install Mathematica

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

Many of you will be working from home this term, and some of you will be using a Raspberry Pi to carry out various assignments, including using Mathematica – an incredibly powerful computation engine for processing data and math. These instructions will help you get started.

Continue reading

WordPress function to list site cookies

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

The EU Cookie Directive (as it is popularly known) is a 2009 amendment to the E-Privacy Directive. It requires companies to obtain your consent to place and access data (like cookies) on your digital device (like your laptop). While many plugins exist to control cookies on your WordPress website, there is a shocking lack of them to simply LIST the cookies used.. so let’s write our own!

Continue reading

The PHP mail() Function

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

Sending email messages are very common for a web application, for example, sending welcome email when a user create an account on your website, sending newsletters to your registered users, or getting user feedback or comment through website’s contact form, and so on.

Continue reading