AWS

Migrate from External MySQL to AWS RDS

To import data from a MySQL database that is running external to Amazon RDS, you can configure replication from that database to a MySQL RDS instance. The external MySQL database you are importing from can be running either on-premises in your data center, or in an Amazon EC2 instance. The MySQL RDS instance must be […]

Technology

Hosting WordPress Site in LXC

LXC (LinuX Containers) is an operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host. In this blog, we will explain, how to host a WordPress site in LXC & migrate it to another server Installing LXC To downloads the package lists from the repositories and “updates” them to […]

Technology

How to emulate different screen resolutions in Chrome?

In the modern web world we all know the importance of a responsive web design. As a web developer, I have to test my application in different resolutions. Most of us will use the different devices to test our applications, but we can get rid of this problem by using Emulation feature in Chrome browser. […]

AWS

Deploying a simple php Application using Capistrano on AWS EC2

Introduction : In this article we will see how we can automate the deployment using Capistrano, and how we can roll back to previous version if needed. Also in order to connect to deployment server we’ll use the key based authentication . What is Capistrano ? Capistrano is a remote server automation tool. It supports […]

Ishant Kumar
Ishant Kumar
Read

AWS

ELB Logs on S3 Bucket

Today we’ll be implementing an S3 bucket policy for storing multiple Elastic Load Balancer access logs on a single S3 bucket. Instead of having multiple S3 bucket for each ELB access logs, we’ll create only one S3 bucket for storing all ELB’s access logs. This section walks you through the step by step guide for […]

Vikash Jha
Vikash Jha
Read

Grails

Map-Reduce in MongoDB

Map-reduce is a data processing paradigm for condensing large volumes of data into useful aggregated results. Basically, in MongoDB map-reduce contains two JavaScript functions map and reduce. The map functions emits key-value pair. And for those keys which have multiple values reduce function collect and condenses aggregated data. Let’s discuss the problem from one of […]

Puneet Behl
Puneet Behl
Read

Grails

Thumb rules, one must consider while HTML development

Some best practices that need to be followed by a HTML developer in grails web development that are important and useful while writing a code. 1. Follow semantic markup. Example: Semantically correct [java]<h2><a href="#">Heading</a></h2>[/java] Semantically wrong [java]<a href="#"><h2>Heading</h2></a>[/java] By default, there are two types of HTML elements, Block and Inline. Block level elements include divs, […]

Technology

Using Media queries with Sass

While starting work on redesign of an existing site, I was suggested to give CSS preprocessors like Less/SCSS a try.  I was thrilled by the features of SCSS and started woking on it and I would like to share my experience about writing media queries in SCSS with you guys. In SCSS, we can use […]

Node.js

NodeJs with MySql using Sequelize

This time I am going to explain a very basic CRUD operation on MySql database via NodeJs using Sequelize. Here Sequelize become’s a bridge between NodeJs and MySql database, it is a Object Relational Mapping Library written on javascript. Let us quickly learn the things with the help of Examples and we will use Item Table […]

Kashish Gupta
Kashish Gupta
Read