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 […]
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 […]
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. […]
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 […]
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 […]
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 […]
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, […]
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 […]
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 […]
While integrating ElasticSearch with AEM, I used custom replication agent, for indexing data to ElasticSearch server, as replication agent manages a queue in case replication is not successful and tries it again(after specified time). But the problem I faced was that on successful indexing(insertion/updation), ElasticSearch return “201 OK” response but the replication agent considers only “200” […]
Hoisting is a way in which JavaScript deals with variable and function declarations. What actually the JavaScript interpreter does is, it pushes all your Function and Variable declarations to the top of the containing scope.