Git commands part-2

Long time ago I have written a simple guideline for Github and how it works. In that post which is available from here [Geeksweb], I have explained some basic Git commands. In this post I will explain more commands and trying to complete it later. Git clone for cloning a … Continue Reading →

Introduction to Docker

Docker is an open-source project that makes creating and managing Linux containers really easy. Containers are like extremely lightweight VMs – they allow code to run in isolation from other containers but safely share the machine’s resources, all without the overhead of a hypervisor. First thing you need to do … Continue Reading →

Starting with recommender system

Recommender System is quite new and attractive subject in computer science and nowadays it is almost utilized in all over the net mostly. The simplest example could be Amazon and Youtube. When you go to Youtube and watch a particular video, then Youtube sites on right hand provides list of … Continue Reading →

Copy file code with progress bar in Java

How does copy file progress bar works? This might be the question of many programmers including myself. The mechanism is very simple, first the size of the destination file should be retrieved and then divided to 100. In the next step while the program reads the destination  file, we can guess … Continue Reading →

Cp command with progress bar for Linux

In Linux default cp command does not show any sorts of progress [bar] when you try to copy the file. This matter sometimes get annoying particularly when you use command line extensively to copy big and huge files over. At least this for me is kind of big matter. Therefore, … Continue Reading →

Simple Apache Ant script example

In one of my post I discussed about connecting to Postgres with Java. On that time in order to compile and run the app I used Bash script. Now in this post I would like to deprecate the script and use Ant (build.xml) instead of it. Basically Ant is a … Continue Reading →

Increasing size of heap memory in Java

In Java size of heap memory by default is 64MB, however if your application holds many objects then you might get the following exception, There is a simple solution for the problem and it would be reached by increasing your heap size on runtime with the following command, The first … Continue Reading →