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 … Continue Reading →


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 … Continue Reading →


How to set allowed lower and upper value of Gtk Adjustment component

I have limited experience in Gtk+, even though I studied it around four years ago. The newer version has brought some changes which sometimes seems confusing particularly when using Glade Interface Designer for building the UI. Part of it is due to lack of good documentation and part of it … Continue Reading →


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 … Continue Reading →


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 … Continue Reading →


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 … Continue Reading →


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, … Continue Reading →


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 … Continue Reading →


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 … Continue Reading →


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 … Continue Reading →


How to create Telegram bot with PHP and host in HeroKu

Nowadays, Telegram is one of the most popular messengers. The reason that the app is so popular is because of three reasons, The application is open source It is cross platform supports and works out of the box Bot support Among the reasons, I believe the third one is so … Continue Reading →


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 … Continue Reading →