≡ Menu

Inheritance is the property by which a class can inherit data members and functions of another class.

In this case, the class which is inherited is known as base class while the class which inherits is known as derived or child class.

In this tutorial let us study the concept of inheritance in C++ programming with an example program.
[continue reading…]

20 Tips to Unclutter and Simply Your Life

Whether it is coding, sysadmin, or life in general, I like to keep things simple.

Don’t write a line of code that is not required, don’t install and configure something that is not required, don’t desire or collect things that are not required.

If you like to be free and simple, you need to start removing the clutter from your life.
[continue reading…]

How to Hide Apache Tomcat Version Number from Error Pages

Question: I’m running Apache Tomacat server. How do I hide the Tomcat version number from the error pages?
[continue reading…]

An array is a data structure that stores values of same data type. In Python, this is the main difference between arrays and lists.

While python lists can contain values corresponding to different data types, arrays in python can only contain values corresponding to same data type. In this tutorial, we will understand the Python arrays with few examples.
[continue reading…]

The clock that is managed by Linux kernel is not the same as the hardware clock.

Hardware clock runs even when you shutdown your system.

Hardware clock is also called as BIOS clock. You can change the date and time of the hardware clock from the BIOS.

However, when the system is up and running, you can still view and set the hardware date and time using Linux hwclock command as explained in this tutorial.
[continue reading…]

In our previous test automation article, we learnt about how to write testcases for a simple perl script using Test::Simple and prove command.

In this tutorial, we’ll explore advanced perl testing functions that are part of Test::More perl module.
[continue reading…]

Structures, Unions and Bit fields are some of the important aspects of C programming language.

While structures are widely used, unions and bit fields are comparatively less used but that does not undermine their importance.

In this tutorial we will explain the concept of Structures, Unions and Bit fields in C language using examples.
[continue reading…]

How to Change Process Priority using Linux Nice and Renice Examples

Every running process in Unix has a priority assigned to it.

You can change the process priority using nice and renice utility. Nice command will launch a process with an user defined scheduling priority. Renice command will modify the scheduling priority of a running process.

Linux Kernel schedules the process and allocates CPU time accordingly for each of them. But, when one of your process requires higher priority to get more CPU time, you can use nice and renice command as explained in this tutorial.
[continue reading…]