TO THE NEW Blog PAGES

AWS

AWS Auto Scaling -Lifecycle Hooks

Typically there could be some scenario , when a scale in event occurs and Auto Scaling determines that an instance is no longer necessary, it immediately puts the instance into Terminating  state. The instance remains in this state until the instance fully terminates. By default,  We cannot connect to an instance that is terminating Recently aws has […]

AWS

Getting started with Nagios

Monitoring lies at very heart of the Production application. Its absolutely necessary that each and every aspect of application is monitored be it application itself any helper services that run on the server like SSH, FTP, NFS etc and the server resources like CPU usage, disk usage. Even the slightest deviation from the regular usage […]

Android

Android Notifications with Images and Text Together

We all love notifications of android applications and its notification bar. But it would be much better if we can show the user the rich notifications instead of those boring text notifications. But it is not simple task that it sounds to be. The problem is, when we try to display image with text then […]

Anand Rai
Anand Rai
Read

AWSDevOps

Change ssh key-pair of Running EC2 Instance

Sometimes we get the requirement to change the key-pair for some security reasons. In this article, we will be changing the key pair of running EC2 instances. Steps: 1. Create a new key pair from AWS Console. 2. Generate Public key from newly created key pair ( Private Key ). 3. Paste the generated public […]

Vikash Jha
Vikash Jha
Read

Grails

Grails Unit Test Filters with the injected Service

Recently I was writing unit tests for a filter in my project, which makes use of a service. Normally mocking using ‘metaclass’ and ‘demand’ doesn’t work for services in filter, because filters don’t let mock the service methods like we do in other classes or controller. Suppose we have a filter like: [java] class SomeFilters […]

Neha Gupta
Neha Gupta
Read

Grails

Manage javascript library dependencies via bower in Grails

I loved the way node package manager loads and manage the JS dependencies, thought of doing that in my grails project as well. Until now all our third party JS files used to live with our source code. So loading them the way Maven loads Jar dependencies for us is what we are going to […]

Amit Jain
Amit Jain
Read