How to create Ubuntu indicator with Python

For a long period of time, I wanted to make a simple Ubuntu unity indicator just to learn how they work. Finally in Christmas holidays I got a chance to search on the internet and came up with a simple idea of having a weather indicator. The result was great …

Difference between abstract and interface in Java

One of the most repetitive programming interview question is “what’s the difference between abstract and interface classes?”. To answer this question I have had search the internet to come with a complete answers in bullet points. I tried to cover as much as I can. Below is the end result …

i3 wm config file

Around a month ago while I was surfing the internet I became familiar with i3 window manager. It had first impression on me. Immediately, I have installed on my fresh Ubuntu 15.10. Fortunately, it is available in the official repository and therefore, my headache was minimized. I like i3 because …

Few hints about Apache Ant

Apache Ant is one of the most awesome automation tools, even though it is not as good as Maven. If nowadays I want to select an automation tool for a new project definitely I got with Maven, but before it existence Ant was rolling. Recently, I had to work with …

My Story of Linux man page writing

Man pages are essential parts of Linux platform. Existence of the man pages started with Unix and then it moved to Linux. They are especially useful to get some quick information about commands and tools to getting things started. I have been always curious about how to write a man …

How to add show desktop shortcut for KDE

KDE is an amazing desktop environment and is one of my favorite after Unity and Cinnamon desktop environments. The biggest advantage of KDE is that it is totally customizable which is one of its downside as well. For me as an average Joe, I am not concerned about aesthetic respects …

Installing Teamviewer on OpenSUSE 42.1 Leap

Since last weekend I am working with openSUSE Leap and so far I have had a good experience. It is working perfectly, no glitch, freeze or funny bug. The only unresolved issue is the WiFi connection which I have not had time to go through and found a solution. As …

How to create RESTful web service in Spring

Spring provides many facilities to Java developers which ease the programming as well as reducing the complexity of the code. One of the most powerful features Spring supports is called invasion of control or dependency inject. In addition to that, throughout the years Spring framework has had tremendous growth and …

Object-relational mapping in Java

Object-relational mapping (ORM) is a technique which allows programmers to access a relational database from an object-oriented language and programmers do not need to map and type cast each column of database to classes manually. In other word, ORM technique take care of populating the result sets. In Java there …

Transaction in JDBC

Java JDBC is a very simple and basic library to access to database data, but it is quite common and easy to setup that is why it is kind of popular. However, it has various shortages such as Object-relational mapping (ORM) and Transaction Management. The latter though can be done …

How to install Composer in Ubuntu

Composer is a dependency manager tool for PHP programming language which is quite useful for PHP programmers and make the coding process easier. Compose more or less likes Maven that manage dependencies automatically. Installation process of compose is quite easy and will not take more than 5 minutes to set …

The correct place of bracket in programming

Basically, the location of bracket ({}) in programming is a very old argument and up to now there is no absolute winner. For those that my words look like an alien language let me provide an example. In programming languages like C/C++, Java and so on bracket ({}) are used widely. …

How to add Gson library to Android Studio project

Google Android Studio from my point of view is the most suitable IDE for native Android programming. It is simply works out of the box. However, during working with this IDE, I have faced the shortage of documentation. Unfortunately, majorities of tutorials have been written for Eclipse IDE and since …