Converting an html or web page into a pdf is never easy and you might face similar problem in your project as well. There is a solution that works out of the box for this problem and all you need is installing PhantomJs on your system and calling it from your Grails or Java code. Just follow below steps one […]
It is difficult to build single-page web applications or complicated user interfaces by simply using frontend libraries like jQuery. Backbone.js is a lightweight JavaScript library that adds structure to your client-side code. It is based on the Model-View-Controller pattern. It is best suited for creating single page applications using a RESTful service for persisting data. […]
Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 – Download and Install nodejs from […]
It has been a long time while I was working over the project where we required accessing Rabbit MQ dashboard. I know accessing the Rabbit MQ is not the difficult task but my scenario was bit complex. Scenario: I was supposed to access Rabbit MQ dashboard from AWS Linux machine which is placed in the […]
AWS Device Farms Device Farms is a recently introduced service that can test mobile apps on real devices in the AWS Cloud. Currently, it supports Android and Fire OS apps. This service can be used to improve the quality of testing by running the test on real smartphones and tablets with different hardware, OS versions […]
In AWS, we can enable ELB logs and save them on S3 bucket. Analysing the ELB logs provide end-to-end visibility of all requests, but it’s a quiet big challenge to get a granular detail of each request. Sumo Logic collect logs from various resources and we can analyse these logs with respect to various parameters. […]
So far we have used OSGi Event Admin for event publishing that uses publisher subscriber model. Though it works really well, there is a downside in using this: – No guarantee of delivery As soon as an event is published, job of the publisher is done. No matter whether any subscriber has worked on it or not, […]
Jasmine is a behavior-driven development framework for testing JavaScript code. Many Jasmine users only use the default set of matchers which are extremely powerful, yet are unable to meet our requirements when dealing with complicated or custom code. Jasmine provides a wide list of built-in matchers: Arrays: [javascript] expect(array).toBeArray(); expect(array).toBeArrayOfNumbers(); expect(array).toBeEmptyArray();[/javascript] Booleans: [javascript] expect(boolean).toBeBoolean(); expect(boolean).toBeFalse(); […]
Sass is a well known framework of CSS. It’s an efficient and reliable tool, which gives us great power to write CSS in precise way. Sometimes we (Front-end Developers) all wonder that we wouldn’t be able to enjoy writing CSS. However, as soon as Sass came in our life, we discovered this was the way […]
In the first part you learned how to setup Amazon SDK and upload file on S3. In this part, you will learn how to download file with progress status from Amazon S3. Getting Started : Import following headers into your viewController: [code language=”objc”] #import <AWSiOSSDKv2/AWSCore.h> [/code] To use the S3 TransferManager, we first need to […]
The full-text field search allows you to look for a field anywhere in a webpage, be it the title, content, or the url of a webpage. A full-text search shall match whole words. For example, a full-text search on comments that contains “perform search” or “text search” or “text” will return a comment that contains […]
Flipkart had come up with its campaign #achhakiya for which it ran a series of advertisements on TV and had also filled most of the leading newspapers with this ad campaign. It also ran a hashtag campaign #achhakiya on Twitter. The messaging used in the campaign was that even after narrowing down on a product, […]