TO THE NEW Blog PAGES

Grails

Generate PDF for Google Charts through Javascript

In a previous blog, we learned, how to draw a google chart. Let’s say, I have 5 graphs on my page and I want to generate a PDF which contains these graphs using a JavaScript. For that, we will use jsPDF plugin. Step 1. Create a hidden empty DIV, to store graph-images: [java] <div id=’graph-images’ […]

AWS

DOCKER (Scenario: Installing and using Apache web server in docker container)

Introduction Docker is an open source platform which can be used to run/test applications in an isolated environment on the host system. Docker could be defined as an implementation of container using the concept of images. Unlike VM which is a complete OS intalled on host system managed by hypervisors and needs dedicated resources from […]

AWS

Getting Started with AWS WorkSpaces

AWS WorkSpaces is a service provided by AWS which provides you a cloud based desktop and allow you to access it form different devices like laptops, iPad, Amazon kindle and Android Tablets using WorkSpaces Client. Directory Service is a service provided by AWS which is fully managed Active Directory which helps you launch your windows […]

Technology

Using “srcset”: Responsive inline images

Hi guys, With the advent of “retina” screens in our day-to-day life, usage of high resolution images has not only increased, but has also become a necessity to shed the shabby look of your website. For those who don’t know, “retina” display is a marketing term that was introduced by Apple and is used to refer […]

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