Dead of the great Openshift 2

Dead of the great Openshift 2 – as many of you may have known by now, Redhat is discontinuing Openshift v2 by the end of September 2017 for free users. They have already informed customers via email and publish the news on the site, click here. The death of Openshift …

How to add keys to Python dictionary

Python has a strong feature to allow you to check availability of keys in a dictionary (AKA json string) on the fly and edit it. I recently, ran to a case that requires to check whether a particular keys are available in the dictionary. If keys are unavailable, add to …

Story behind Ubuntu Indicator Weather

Last week, I have seen a great news about my Ubuntu Indicator Weather and decided to write a post blog about it. The story started in last year November when I decided to create a weather webservice with Spring Boot built on top of Open Weather Map service with additional …

Python in one post

Two years ago when I started learning Python I had made a small note for myself as a quick reference which turned out to be so handy. The time I made the note I did not consider about sharing it. Now, after two years when I was working with Python …

Getting started with Spring Boot on OpenShift

In the previous post, I described how to run MongoDB on an OpenShift gear. In this, I expand the topic and explain about deploying a Spring Boot application to OpenShift. Basically, Spring Boot is an abstracted version of Spring with the purpose of fast development of production-ready apps. Spring Boot …

Getting started with MongoDB on OpenShift

I am fairly new to MongoDB, even though I have some knowledge about NoSQL databases concepts. In the last two days I was thinking to give a try to MongoDB and work with it in actual environment. To see how Mongo works with large data, I have targeted to import …

How to add Spring RestTemplate to Android Studio

As mentioned in a previous post related to Android, Android Studio has lack of documentation for novice users. For instance, one of the lacking area is how to add dependencies to Android Studio projects. Default dependency/build manager in Android Studio is Gradle which personally I am not a big fan, …

How to get rid of getter, setter in Java

One of the boring stuff to do in programming is to add getter, setter methods. Thanks to IDEs nowadays with few clicks or pressing shortcut keys you are able to add getters and setters to code. However, still much of coding space is wasted and besides that from my point …

How to connect Github repository to Twitter

Undoubtedly Github is the most popular distributed web-based revision control system. Beside of being able to use nearly all Git facilities, it comes with extra easy to use functions that might not be easy to access in other platforms like Bitbucket. One of my favorite Github facilities is Webhooks & …

Git commands part-3

Previously I wrote two posts about Git commands which first one was the basics and second one intermediate level. This post covers upper intermediate level about Git commands with focus areas on branching and merging. If you still have not gone through the previous posts, I highly recommend to look …

IntelliJ IDEA shortcuts for Eclipse users

Introduction IntelliJ IDEA IDEs are very popular among developers, especially Java folks. In addition to that, they support multiple languages such as Java, Scala, C/C++, Python, etc. I have recently switched from Eclipse to IntelliJ for Java development. At first, I had very difficult time to give up Eclipse convenient …

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 …

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 …

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 …