TO THE NEW Blog PAGES

Grails

Amazon S3 Bucket Lifecycle

Amazon S3 offers a highly durable, scalable, and secure solution for backing up and archiving your critical data. You can set the lifecycle of the objects stored on the buckets, that will automatically delete or move these objects to the Glacier according to the set rules. Follow these steps to add the lifecycle of an […]

AWS

Enabling Slow Query Log in AWS RDS

By default The MySQL slow query logs are disabled in AWS RDS, To enable the same you have to made changes in your DB parameter group. Following are the steps to enable the Slow query logs. Prerequsites: AWS CLI Tools (You can install it using this link.) First we will create a parameter group, (this is […]

Grails

Installing LAMP stack through Chef

Chef as we all know is a Configuration Management Tool. It enables Infrastructure as Code. Recently I had to give a technical presentation on Chef in my current organization which helped me to get some insights into how Chef works & how it eases the deployment process. In this article I would touch upon very […]

ankush
ankush
Read

Grails

Using AngularJS with Grails app… my first impression

In my current grails application, we have started using the AngularJS after realizing that the GSP template engine is a bit slow. Now, I realize how efficient AngularJS can be, and think of sharing my first impressions while using AngularJS with grails app. Following are some of the reasons, that I find, makes AngularJS stands out: The aim […]

AWS

Allow/Reject IP at Varnish Level

I am using Varnish with Apache in one of my projects and i had a use case to allow admin panel only from few IPs. If you are using only Apache, You can easily do this by adding few rules in Apache and limit the access control, but in the case of Varnish, Apache will […]

Technology

Enabling SSO with CQ5 – Part III

In previous part , we discussed protecting CQ5 author instance when CQ5 acts as a service provider (SP). In this blog post, we’ll cover how to protect any published resource/website. We’ll be using Shibboleth SP for the same. Necessary Steps:  Installing LDAP Server. Installing Shibboleth IdP. Installing Apache tomcat on Ubuntu. Configuring Shibboleth IdP. Installation of SP. […]

Grails

jQuery dataTables plugin for pagination of HTML tables

In my project on Angular.js I came across a use case where I needed to paginate the HTML tables . DataTable jQuery plugin is a perfect choice in order to accomplish this task. Let us take a simple example to illustrate the use of dataTable plugin: [js] <html> <head> <style> <link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css"> </style> […]

pulkit
pulkit
Read

AWS

EBS Snapshot using Backup_Monkey

Getting EBS Snapshot with BackUp Monkey [ a python utility ] Backup_Monkey : It’s a command line utility written in python that uses boto library. Purpose : To create snapshot of all the Elastic Block Storage volume’s (EBS). Automatically detects the volume in the region and take the backup. It is especially designed for Amazon […]

Vikash Jha
Vikash Jha
Read

AWS

VPC Explained Part -1 : VPC with a Public Subnet Only

A virtual private cloud is a virtual network that is logically isolated from other virtual networks in the AWS cloud. One can launch AWS resources in a virtual network that you define and customize it accordingly at the time of vpc creation. Basically, VPC is a virtual network that resembles a network in your own data center, […]

AWS

Caching Multiple Domain with Varnish

Varnish is an in-memory web accelerator server which helps  Apache/Nginx server to run 10-300 times faster without spending anything on procuring hardware. Besides this It can also be used as a reverse proxy server. In our projects we are using Varnish to cache the static content and in some cases we are also using it […]

Grails

New Data Binding features in Grails 2.3

We recently upgraded to Grails 2.3 and found some pleasant features in the rewritten Data Binding. This raised my interest to look further into what is new and found some interesting things that could be useful: We can create a global setting for the dataBinding of the dates using the following setting in Config:[java]grails.databinding.dateFormats = […]

Imran Mir
Imran Mir
Read

Grails

Applying layout to template at Runtime in Grails Application

There are use cases where we render the template from our action and update some div in the page using ajax. The downside of this approach is when the user hits the url directly in browser address bar and the UI get totally messed up. So to fix this issue we need to apply the […]