TO THE NEW Blog PAGES

Grails

Adding interactive charts to web pages using Highcharts

I recently had to add charts to a web page in my project. I used Highcharts library for this. It is very dynamic allowing you to change graphs even after the chart has been drawn. To display a graph we need a div with an ID. Let’s say we have div with ID “chartDivId” and we want to display two lines […]

Node.js

Build RESTful API Using Node and Hapi

With the increasing popularity of Hapi in the Node community, it is a good option to build API’s using this framework. Let’s understand the Hapi framework and how easily we can define routes to build Hapi RESTful API for production ready environment. We will also be using some of the Hapi plugin’s for ease of […]

Grails

SSH Tunneling through a secure box

Hi, many of us must have landed into a situation which I faced recently, the issue was with one of the new features deployed to PRODUCTION environment in the latest release not working as expected, but I was unable to reproduce this on Local or QA environments. So to debug it quickly, I tried something […]

Grails

Adding field to hasMany, got MySql error ??

It’s a common practice to add fields to Grails domain’s hasMany block while in database a foreign key relationship is maintained for every such entry. In other words, for each foreign key, we have a column in parent table (or domain) and a reference column in other table. I was adding a field into hasMany […]

GrailsJava/JVMTechnology

Migrating Code Base from SVN to GIT

Hi all, I have a use case where I need to migrate the code base from svn to git while preserving all the commits of different committers. For migration I have used an utility tool git-svn. In order to install git-svn we can use below command in linux box : sudo apt-get install git-svn After […]

AWSTechnology

Python Interface for Pingdom REST API

Pingdom is a tool which is used for monitoring websites’ availability in real time. Now we can interact with pingdom using its REST API with the help of python scripts. Every time, a deployment is made on production servers, the pingdom tool throws a downalert because several services like tomcat, apache etc need to be […]

Node.js

Adobe Behance Portfolio development API’s: node-behance-api

Behance is an online portfolios website. Here a user can create and see his/her/others portfolios. node-behance-api is an utility wrapper built on node.js for Adobe Behance rest services. This utility is developed for node.js only. Currently it supports most of the API’s of Adobe Behance. You can upgrade or add other new API’s via simply  coding. This node-behance-api is […]

AWS

Autoscaling Environment Logs Collection using LogEntries

LogEntries Managing log data across large autoscaling environments can be a time-consuming and expensive job. Logentries has designed a scalable service that dynamically supports autoscaling environment as log volumes expand and change dynamically. By centralizing all logs across distributed instances into one secure location, we can efficiently monitor and track log events in real time, […]

Node.js

Introduction To Mocha [Part-1]

  Introduction To Mocha Recently I have started learning MochaJs for unit testing of my NodeJs application. Although  http://mochajs.org/ is very well documented and refine in its own. But that is most respect to Mocha itself. I tried and created lots of example so that it can relate to NodeJs. Before starting further, Clone/download examples […]

AWSTechnology

Installing latest Puppet master and agent setup on ubuntu14.04

This blog post focuses on installation and configuration of two node Puppet setup, i.e. a Puppetmaster (or master) and an agent. Puppet is an open source configuration management tool used for automation of administration jobs across big server farms. It is written in ruby and uses DSL (Domain specific language) to write codes known as […]

Automation TestingTechnologyTesting

Best Practices of choosing good locators for your test automation scripts

One of the important requirements of a successful test automation project is the robustness of your code. If the properties of GUI or GUI itself of the application under test changes and your automation code are sensitive to GUI changes, you’ll lose valuable time fixing the code. Good element locators greatly contribute to the maintainability […]

AndroidTechnology

RecyclerView in Android

Android RecyclerView  was introduced in Android 5.0 Lollipop. It is much faster and memory efficient than Android ListView. You can download sample application source code for this tutorial from here. A RecyclerView can cache previously used view for a specific adapter position for later reuse to display same type of data again later. This improves the performance of […]

Services