March 26, 2017 by Sandeep Bhardwaj | Tags: Java Concurrency
CustomCountDownLatch.java /** * Custom CoundDownLach implementation * @author sandeep * */ public class CustomCountDownLatch { int counter; public CustomCountDownLatch(int counter) { this.counter = counter; } public synchronized void await() throws InterruptedException { if (cou...
Read moreNovember 15, 2016 by Sandeep Bhardwaj | Tags: Elementary OS
Install Thunderbird using below command. sandeep@koko:~$ sudo apt install thunderbird then install sandeep@koko:~$ sudo apt install thunderbird-gnome-support ttf-lyx After successful installation of thunderbird install below add-ons to make Thunderbird more integrated and beautiful. Add-...
Read moreNovember 13, 2016 by Sandeep Bhardwaj | Tags: Elementary OS
After installing the Dropbox on latest Elementary OS Loki icons of dropbox is missing in wingpanel. For fixing this issue you just need modify dropbox.desktop file.Open the dropbox.desktop file in your favourite editor. sandeep@koko:~$ sudo gedit /usr/share/applications/dropbox.desktop then ...
Read moreJanuary 30, 2016 by Sandeep Bhardwaj | Tags: Ubuntu Java
1) Download the latest Gradle version from Gradle Download page. 2) Extract the binaries to the desired location. 3) Set the GRADLE_HOME environment variable. Setting the environment variable in Ubuntu in really easy, just need to edit the /etc/profile. Just add your gradle installation direct...
Read moreJanuary 22, 2016 by Sandeep Bhardwaj | Tags: Ubuntu Java
Setting the environment variable in Ubuntu in really easy, just need to edit the /etc/profile. Just add your maven installation directory as below. Open the /etc/profile file in your favorite editor. sudo gedit /etc/profile Add following lines in end M2_HOME=/data/dev/tools/apache-maven-3.3....
Read more