Spring AOP Spring AOP (Aspect-oriented programming) framework is used to modularize cross-cutting concerns in aspects.Some of cases where we can use it are to control some of common things like logging , adding some extra feature without actually touching the core logic. This blog post will explain how to enable aspects in our AEM projects […]
We have been using Jasmine to test our angular code. Recently I came across a piece of code in Javascript which included a REST API call and returned a promise. The promise then had a success callback and all the rest of the play. So in this blog, I have tried to illustrate how to […]
Use Case : Sometimes we need to upload file on Amazon S3 or need to write code to upload file. As file upload on S3 using API call requires parameters in specific format and debugging that is very cumbersome task, in that case we can use CURL request with the inputs for debugging. Following are […]
I am very glad to explain about the Grunt, because i feel it makes my life easy. Always keep in mind, use your valuable time in creative activities, not in repetitive and boring tasks in web development. In this context, grunt is very helpful for everyone. So, a basic question is “What is Grunt?” It […]
Amazon Web Services has introduced Step Autoscaling Policies for the autoscaling of EC2 instances. These policies are much different from the Simple Autoscaling Policies which are being used till the date. The cooldown periods are not supported in the Step Scaling Policies. It let you define lower bound , upper bound for metric values and […]
Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from […]
android.os.Handler allows us to send and process Message and Runnable objects associated with a thread’s MessageQueue. Each Handler instance is associated with a single thread and that thread’s message queue. Handler used for: Message creation Inserting messages into the queue Processing messages on the consumer thread Managing messages in the queue Construction Of Handler By […]
Google IMA SDK provide a solution to publisher who are requesting video ads from the following sources: DoubleClick for Publishers (DFP) Ad Exchange for Video AdSense for Video (AFV) and AdSense for Games (AFG) Third-party ad servers The Google IMA SDKs are supported on the following platforms: Platform Version Ad Type Flash Flash Player 10+ […]
Prerequisites: This tutorial requires existing Nagios server to be up and running and root privileges for Nagios server and remote Linux host. Please follow this blog for its setup. Most of the system administrators write custom shell scripts to do basic monitoring and sends email in case services crosses defined thresholds, but those scripts can’t […]