Variables in Bash

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.

For those of you that have dabbled in programming before, you’ll be quite familiar with variables. For those of you that haven’t, think of a variable as a temporary store for a simple piece of information. These variables can be very useful for allowing us to manage and control the actions of our Bash Scripts. Today we’ll go through a variety of different ways that variables have their data set and ways we can then use them.

Continue reading

Sending Information to a PHP Server

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.

A web browser communicates with the server typically using one of the two HTTP (Hypertext Transfer Protocol) methods — GET and POST. Both methods pass the information differently and have different advantages and disadvantages, as described in this tutorial.

Continue reading

C# Operator Overloading

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.

You can redefine or overload most of the built-in operators available in C#. Thus a programmer can use operators with user-defined types as well. Overloaded operators are functions with special names the keyword operator followed by the symbol for the operator being defined. similar to any other function, an overloaded operator has a return type and a parameter list.

Continue reading

Creating an instance of Ghost CMS in Docker

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.

Ghost CMS is a new blogging platform which is kinda similar to WordPress and may be a new game changer in the industry of blogging platforms. It is a fully open source, adaptable platform for building and running a modern online publication – powered by headless Node.js.

Continue reading

Node.js EventEmitter

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.

Node.js allows us to create and handle custom events easily by using events module. Event module includes EventEmitter class which can be used to raise and handle custom events.

Continue reading

Manage your XenServer or XCP-ng Pool with Xen Orchestra… inside Xen Orchestra!

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.

We use Xen Orchestra as the web interface for students to create and manage VMs via our XCP-ng Pool in PJ Carrolls. The login is found at https://xoa.comp.dkit.ie and most students are familiar with this excellent resource. But what if a student wanted to mange their own pool of virtualisation servers in a Specialist Lab, running either XCP-ng or XenServer?

Continue reading