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 …

Reinstall package manager in FreeBSD 10.X

pkg_info/pkg_create/pkg_add commands have been replaced in FreeBSD version 10.X by pkg. Personally I think the new package manager is quite amazing and way better than the old one. For more details about new features, refer to this link: https://www.freebsd.org/doc/handbook/pkgng-intro.html However, on very rare and unusual occasions pkg might break and …

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 open formatted markdown files in Linux terminal

Markdown files (.md) are extensively used in Github and other places for various purposes. No doubt that they are getting more and more popular. For instance, Leanpub supports markdown for writing books or better to be said it relies on markdown. Besides that many people use markdown for writing scientific …

How to write mathematical equations in WordPress

One of the WordPress drawbacks is lack of default support of math formulas. Fortunately, there are few plugins available to facilitate adding LaTeX style equations. Among them, WP QuickLaTeX and Jetpack by WordPress.com plugins seem to work the best. Simply just install one of them and add your equation in …

How to change command prompt in FreeBSD

By default FreeBSD does not show anything in command prompt such as path, username, hostname except $. For many this can be quite annoying. As an example user does not know the current path and to get that must run pwd which is a redundant step. To have a more …

Displaying WordPress post content in multiple columns

Two approaches are available to display WordPress posts contents in multi-column, something like this. The first approach is to use a WordPress plugin called Column Shortcodes. It is very good plugin with high flexibilty and ease of use particularly for those who do not have much context about web designing …

How to solve Unity loading problem in Ubuntu 15.10

Unfortunately, sometimes Unity Desktop (including launcher and dash) does not load. This is an existing painful bug in Unity for quite sometimes. Usually the reason for not loading is because Unity plug-in turned off automatically. There are few steps should be taken to resolve the problem. The first thing you …

How to compress/decompress LZMA/LZMA2 files in Linux

This post is complementary of a three years old post in which explanation about .xz file extension missing. LZMA/LZMA2 compression algorithms usually identifiable by .xz extension. In Linux several tools are available to support .xz files. The most famous one is tar. tar is indeed a multi-purpose tool that supports …

Low battery indicator in i3

I’ve been working with i3 around 9 months now and so far it is one my favorite WM so far. It is easy to use, elegant, hackerish and geeky. However, there was a problem for long time which was bugging me and that was lack of warning dialog for low …

How to resolve error 1175 in MySQL Workbench

MySQL Workbench is a useful visualization tool for database architects, which provides similar features to PostgreSQL pgAdmin. Even though, that I am not a big fan of MySQL (I am a Postgres zombie 😉 ) , I cannot escape from it since it is widely used anywhere in any project. …

How to manage multiple Openshift accounts using rhc

Openshift is one of the best PaaS from my point of view. In comparison with Heroku, Openshift I believe has upper hand and much superiority, particularly in CLI tool, ssh facility, and most importantly huge numbers of offered frameworks. Therefore, it totally makes sense to have different account for different …

Instapaper Vs Pocket

Around a year ago I wrote a post about Instapaper and described how great it was. Anyhow, shortly after that post I found Pocket and then within short period of time I migrated to it and removed Instapaper. Back then I had an intention to write a blog post to …