braincheck() perl script

During the weekend I was getting bored, so I looked for something creative to spend time on. Since two weeks I’m using elementary OS, an Ubuntu based distribution. It was a fresh install and
Read More ›


Visual Studio 2013 virtual launch

Following Arnaud’s invitation to attend the Virtual launch of Microsoft Visual Studio 2013 today, I visited Microsoft Indian Ocean Islands office at the Dias Pier Building, Caudan. A nice & cozy place among the
Read More ›


Sunday afternoon with Ruby

I usually say Sunday is the creative day! I looked around to see what creative thing I could be doing today. Ok, let’s learn another programming language. During the week I got hands on
Read More ›


Geany – a lightweight IDE

Geany is a lightweight text-editor that incorporates IDE features. I came across Geany some time back when I had to edit scripts and test them quickly. I wanted something that could offer syntaxing, indentation, etc.
Read More ›


Bash – for loop

Say you have some PHP files and you need to replace the .php extension with .html. The “for” loop in bash comes handy to do this task. However, prior to renaming we need to strip
Read More ›


Python ‘function’ explained

A function is a block of reusable code that performs a single action. Functions enable applications to be modular. Python provides many built-in functions like print(). You can also create your own functions. These are
Read More ›


Python lists

Spent some time scribbling about Python lists today. Python lists can hold values of mixed data type. They can be fully manipulated and any element can be called from the list at will. Creating a
Read More ›


C++ says hello world

Previously, I posted a couple of C examples. While C does not support OOP, I had to turn towards C++ for exam needs. #include <iostream> int main() { using namespace std; cout <<
Read More ›


One dimensional array – C

Use of array to store a ‘string’ of characters. In the code below you’ll notice I’ve specified the array size as ’12’ which corresponds to the number of characters in ‘Hello World!’ including
Read More ›


Playing with the C language

Points to remember while coding in C : – put newline (\n) in your printf so as the output does not overlap with the terminal prompt. – keep clean tab spaces to make code reading easier. – put a
Read More ›