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 …

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 …

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 …

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 …

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, …

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 …

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 …

How to use Eu.org domain with Heliohost

Eu.org is the best and most legitimate free domain provider. They provide free domain which is not black listed by Google or other search engines and also after domain dedication they do not ask for paying them despite of your website traffic or whether the website is successful or not. …

How to connect to remote Postgresql in Java

In the previous post I explained about connecting to remote Postgresql database with SSH command in Linux. This post is dedicated to do make remote connection with do some programming in Java which is quite simple. In order to connect to Postgresql in Java despite the fact of connection type …

Few books that every geek should read

If you are a big fan of Linux and interested in knowing about philosophy of Linux and Free software, I would recommend you to get  copies of the following books and start reading it. I should mention that these books are not merely for geeks, Linux/Free software lovers or computer …

Story of customization of my CentOS 6.5

Few months ago, I have decided to give a try to CentOS 6.5 and triple boot my Dell Studio 1557 laptop and then I have decided to prepare a simple tutorial of the customization I have done on CentOS 6.5 for make it usable for my daily tasks. So, let’s …

Repeat URL request in Linux command line

Sending N times URL request in Linux command line is quite easy. There are various tools available for doing that. Here I will introduce just two of them I have ever used. First one is CURL which is very popular and useful tool and it can be used for various …

Solving Ubuntu 12.04 Netbeans swing problem

I have tried to launch and run a new Swing application in Netbeans 7.0.1 but surprisingly, I saw that when I had run the application, Java gave me bunch of exceptions regarding that “package org.jdesktop.layout does not exist ubuntu”. At first I have thought that the problem might come from …

How to install FreeBSD 9.0 on VirtualBox

ABSTRACT The article expresses about installing FreeBSD version 9.0 as a virtual machine on ViirtualBox application. In the first part of tutorial you will familiar about installation procedure of FreeBSD. The next step is about configuration and installation “VirtualBox Guest Addition” package on FreeBSD. Finally, the last section talks about …