Create Custom CountDownLatch In Java

March 26, 2017 by Sandeep Bhardwaj | Tags:

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 more

Integrate Thunderbird on Elementary OS Loki

November 15, 2016 by Sandeep Bhardwaj | Tags:

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 more

Missing Dropbox icons on Elementary OS Loki

November 13, 2016 by Sandeep Bhardwaj | Tags:

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 more

Install Gradle on Ubuntu

January 30, 2016 by Sandeep Bhardwaj | Tags:

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 more

Set Maven Home on Ubuntu

January 22, 2016 by Sandeep Bhardwaj | Tags:

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