TO THE NEW Blog PAGES

Big Data

Apache Flume : Setup & Best Practices

Apache Flume is an open source project aimed at providing a distributed, reliable, and available service for efficiently collecting, aggregating, and moving large volume of data. It is a complex task when moving data in large volume. We try to minimize the latency in transfer; this is achieved by specifically tweaking the configuration of Flume. […]

Rishabh Jain
Rishabh Jain
Read

Technology

Creating OSGI Factory Configurations in AEM

AEM houses a powerful open source framework in its technology stack,Apache Felix. Felix is a open source implementation of OSGi. OSGi provides a way to manage bundles and their configurations. OSGi provides a way to configure services and modify those configurations on the run-time. But apart from this there is a another powerful feature that OSGi […]

ankit.gubrani
ankit.gubrani
Read

AWS

Find EBS snapshot using python boto

Since we have already covered the basic configuration and installation of boto in the previous blog by @Vikash, Here we will be discussing about one of the common use case of daily routine. In this script we will find out the snapshot of the particular volume in specific region.So parameter to find the snapshots are […]

Technology

Command Line Syntax Characters

Hi Friends, I came across command line syntax characters while I was trying to under stand what different kind of characters stand for in -help manual for typing commands in a command line tool. Within a command line syntax, certain characters and formatting have special significance and meaning. The command line syntax within this document […]

Noor Alam
Noor Alam
Read

Technology

Hide a CQ parsys in edit mode

Often, a situation is encountered in CQ where we have a number of parsys on our page and it is required to show/hide some of them on certain events. A typical use case is that of a Tabbed Component where the parsys associated with a particular tab needs to be shown only on click of that […]

Rima Mittal
Rima Mittal
Read

Big Data

Consistent Hashing? What the heck is that…..

Hashing is one of the main concepts that we are introduced to as we start off as a basic programmer. Be it ‘data structures’ or simple ‘object’ notion – hashing has a role to play everywhere. But when it comes to Big Data – like every thing else, the hashing mechanism is also exposed to […]

AWS

log_output TABLE vs FILE inside Amazon RDS

Amazon RDS provides us with three different types of logs : 1) General Logs 2) Slow Query Logs 3) Error Logs   You can enable these logs by modifying the DB Parameter Group. 1) Enable General Log [js] Parameter Name : general_log Value : set the value to 1. Default is 0. [/js] 2) Enable […]

Vikash Jha
Vikash Jha
Read

Grails

Track my traffic -Implementing Traffic Analytics

This one is for a particular use case, so lets come straight out to the point. We start with the obvious first: Problem Statement: To track the traffic of a public page from your application. User Story: The current system needs to add a feature that would enable the end user to use your product […]

kartikey
kartikey
Read

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