Immutability means something that cannot be changed. In java an immutable class is one whose state cannot be changed once it has been created. This post aims to give a guideline on how to make a class immutable. The post contains an example of creating an immutable class.The complete code is available on Github The … Continue reading Immutability in Java – What it takes to build an immutable class
Author: Anjana Shankar
Getting Started with TestNG
TestNG is a testing framework which, inspired by JUnit and NUnit, but introduces things like dependency testing, grouping concept to make testing more powerful and easier to do. It is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc...The NG in TestNG stands for Next Generation. TestNG requires JDK7 or higher.Reference: http://testng.org/doc/index.html … Continue reading Getting Started with TestNG
Setting up Mac OSx for Foundation5
Foundation is an open source responsive front end framework maintained by zurb.com. It has a seemingly endless list of features that allows you to build responsive web applications within no time. In this post, we will set up our Mac OSx for developing foundation projects. For foundation you need the following packages to be installed … Continue reading Setting up Mac OSx for Foundation5
Mastering Diff and patch
Diff and patch are essential if you are working on a large project with multiple contributors. They are a boon for programmers distributed across the globe and wanting to work on a single project. These tools are present by default on a linux or Unix based operating system. Diffing individual file $diff -u originalFile modifiedFile … Continue reading Mastering Diff and patch
Archives using TAR
If you are running a Linux Distribution, a Mac OS X or other Unix-like operating system, your system certainly has the tar program on it already.You can see the tar manual by typing '$man tar'. Unpacking a tarball To unpack a tarball, use $ tar xvf <tarball> The x stands for extract.The v stands for … Continue reading Archives using TAR
Prepending a set of lines with Vim
Have you ever faced a situation where you just wanted to have a set of characters prepended to a set of lines in one of your files, and wished that there was an easy way to do it. Well Vim comes to your rescue. It gives you a very simple way of doing this 1. Use Ctrl+V … Continue reading Prepending a set of lines with Vim
Say Hello to Android – Your very first Android App
For installation instruction follow my post on Android App development on a Mac. This post is written with an android studio version 1.0.1. Open Android Studio. Create a New Project. In the project Wizard, set up the App name to be HelloWorld. Then provide a package name. Remember that the package name should be globally … Continue reading Say Hello to Android – Your very first Android App
Android App development on a Mac
I started with Android development yesterday, and getting to run the Android App on my phone took some struggle. I hope that this post helps the naive android developers to get started with building their first App.OSx version : Yosemite 10.10.1 For developing an Android App, you need the following to be installed. Install Java … Continue reading Android App development on a Mac
Gearing up for Learning Scala
Scala, an acronym for Scalable language is defined by Wikipedia as an object-functional programming language. This post will be an introduction to setting up your environment for scala development and writing a hello world program in scala. We will deep-dive into the concepts of scala in later posts. Installation 1. You should have JDK6 or … Continue reading Gearing up for Learning Scala
Configuring Hive on Ubuntu
Hive facilitates querying and managing large datasets residing in distributed storage. It is built on top of Hadoop. Hive defines a simple query language called as Hive Query language (HQL) which enables users familiar with SQL to query the data. Hive converts your HQL (Hive Query Language) queries into a series of MapReduce jobs for … Continue reading Configuring Hive on Ubuntu
You must be logged in to post a comment.