TO THE NEW Blog PAGES

Grails

Vertical Labels with Google Chart API

While working with Google charts, we usually face issues with long labels on the horizontal axis. The chart displays well, however the X-axis labels are not completely visible and displays the numbers like this: 24/3.. 25/3.. 26/3.. 27/3.. 28/3.. 30/3.. 31/3.. instead of 24/3/2006, 25/3/2006, 6/3/2006, 27/3/2006, 28/3/2006, 30/3/2006, 31/3/2006 The usual practice that we all apply is […]

Mansi Arora
Mansi Arora
Read

Node.js

Form Validations using AngularJs

There are lots of ways to validate a web page like HTML5 validations, but why not do it in a better interactive way by using AngularJS. AngularJS provides us with several form properties for validation, which helps in providing instant feedback in case validation is violated.     $valid: return true when input field is valid. […]

Sandeep Kumar
Sandeep Kumar
Read

Technology

JavaScript : String.slice() vs String.substring() vs String.substr()

In this blog, we will discuss about few methods that are used in JavaScript for partial string extraction. You can also see my blog specific on Arrays which are used in JavaScript. The following methods are :- slice() substring() substr() All these methods extracts parts of a string and returns the extracted parts in a new string. […]

Vivek Garg
Vivek Garg
Read

Technology

JavaScript : Array.splice() vs Array.slice()

1. The splice() method returns the removed item(s) in an array and slice() method returns the selected element(s) in an array, as a new array object. 2. The splice() method changes the original array and slice() method doesn’t change the original array. 3. The splice() method can take n number of arguments: Argument 1: Index, […]

Vivek Garg
Vivek Garg
Read

Grails

Integrating PubNub With Grails

PubNub is a real-time push service provider for different platform and by using PubNub with Grails we can create push notification system similar to Facebook. My use case was that I needed to create a notification system where user should be notified for different activities which is required for the user to be known. A […]

Sumant Thakur
Sumant Thakur
Read

AngularJSFront End Development

Minification safe Angular.js

Recently, I wanted to upgrade my Grails application to 2.4.3 and also switched from resource plugin to assets-pipeline plugin. As everything was going good in the development, so I pushed it to QA after which I was bombarded with JavaScript errors and missing providers. What has happened?? So here, Angular.js internal dependency injection was broken… 🙁 Since Angular […]

Brij Kishor
Brij Kishor
Read

Grails

SonarQube – All in one code quality manager

Introduction to SonarQube: We all are well aware of the importance of codebase quality, unhampered of “deadly programming skills” which can wreck our code. But isn’t it quite cumbersome to implement different tools to look upon its different aspects. What if in one place, we can have detailed insight of all the development sins. This […]

Technology

Why are atomic commits a best practice in Git?

Atomic means all or nothing – either everything succeeds or all fails. Git is known to have atomic operations i.e. an environment issue will not cause git to commit half of the files into the repository and leave the rest. So what are we doing talking about atomic commits when all operations are already atomic in […]

Aseem Bansal
Aseem Bansal
Read

Node.js

Highlighting links in text using “linky” filter

At times we come across few cases where we need to differentiate the links amongst the plain text. Angular provide us with a very useful filter named : “linky” which help us to do so. With the help of linky filter we can detect links from text and show them differently .  Linky takes text and produces HTML by […]

Rubi Saini
Rubi Saini
Read

Big Data

Spark 1O3 – Understanding Spark Internals

In this post, I will present a technical “deep-dive” into Spark internals, including RDD and Shared Variables. If you want to know more about Spark and Spark setup in a single node, please refer previous post of Spark series, including Spark 1O1 and Spark 1O2. Resilient Distributed Datasets (RDD) – An RDD in is primary abstraction […]

Node.js

High performance find query using lean() in mongoose

Using lean() in mongoose provides high performance queries.

Sakshi Tyagi
Sakshi Tyagi
Read

Big Data

Predictive Analysis in R using Rattle

R is the most common platform for predictive analysis. Rattle library is an extension of R which takes the predictive analysis to another level. This blog is focused towards  people who have some experience in R. Rattle is the library provided for R language that is used for data mining process, where you can apply […]

Mohit Garg
Mohit Garg
Read