Multithreading in Java

There are several key terms which one must know to get a picture of how multithreading works in Java. The post deals mostly with the java multithreading classes that come builtin with java. Runnable A Runnable is basically a type of class (Runnable is an Interface) that can be put Read more

Go Routines

Goroutines are functions that are created and scheduled to be run independently by the Go scheduler. The Go scheduler is responsible for the management and execution of goroutines. Notes Goroutines are functions that are scheduled to run independently. We must always maintain an account of running goroutines and shutdown cleanly. Read more

Useful Chef commands

Here is my shortcut list for some of the chef commands. Not all of these work in AWS opsworks. Generating cookbooks named apache chef generate cookbook cookbooks/apache   Generating recipes named server.rb   chef generate recipe cookbooks/apache/ server Check syntax of recipe   chef exec ruby -c cookbooks/apache/recipes/server.rb Run Recipe Read more

Installing Jenkins with java 1.8 using java tar ball

For installing jenkins on Ubuntu 14.04 using Java RPM do the following steps. Step 1: Download java tar ball file from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Step 2: Scp the files from your local machine to your server Step 3: Install java sudo tar xvzf jdk-8u5-linux-i586.tar.gz -C /usr/java Step 4: Setup java. I downloaded Read more