Groovy Language enhancements that help with Regex Slashy Strings is the first thing that comes to my mind while talking about regex in Groovy. They are a simpler way to represent regex patterns as String compared to their Java counterparts. If we have to find all numbers in a String we can do something like this […]
Introduction Using Postfix to send email notifications to gmail or any such email providers causes relay issue (delay in email delivery) since gmail does not allow multiple emails from non-verified emails. I had to figure out delivering email notifications quickly to avoid any delay in response to the alerts generated by Nagios. AWS has a […]
Did you know that each day there are over a billion searches on Facebook and over 300 billion tweets on Twitter. YouTube is definitely far behind in achieving the coveted ‘billion’ mark. A staggering 4+ billion hours of videos are watched on YouTube everyday. Amidst rising competition from other players such as Facebook, YouTube is […]
One year ago, Apple released Swift, a brand new programming language for both iOS and OS X development and now they introduced Swift 2 with Xcode 7 this year. Swift 2 includes some new features such as improved error handling, availability check and , protocol extensions etc. Lets take the overview of new features. Error […]
Front End DevelopmentTechnology
There are many way to create the accordion effect with js but following are the example of how to create the accordion only with css and html. Here is the image that show which type of accordion I am going to create. Now starts with html code: In this I have used checkbox to use […]
Flex is an open source framework which allows us to build traditional applications for browser, mobile and desktop. It provides flex SDK, you can download it from here , consisting of the MXML and ActionScript programming language and takes care of the user interface (UI) or the client-side functionality of a web application. This post will […]
Stylish Select-box HTML [java] <select class="selectBox"> <option>Select</option> <option>New Delhi</option> <option>Mumbai</option> </select> [/java] CSS [java] .selectBox{ appearance: none;-webkite-appearance: none;-moz-appearance: none;-o-appearance: none;-ms-appearance: none; background: #f5f5f5 url(‘image-path’) no-repeat right center; border: 1px solid #eeeeee; width:300px; height:40; padding:10px; } [/java] Stylish Radio button HTML [java] <input type="radio" value="" class="radioBtn"/><label></label> [/java] CSS [java] .radioBtn { vertical-align: middle; width: 15px; height: […]
Gone are the days when every scrollable grid is either TableView or CollectionView. Enter StackView.! Stack view is a simple class that allows to stack layout views in either a column or a row. What makes it more helpful is the elimination of the need to add the constraints. It applies Auto Layout to the […]
It is really a very big problem to apply indexing or executing any query on a table containing millions of records. There is a large probability of query taking locks on the table. A few people just wait for the query to execute while some just end up killing important background queries. Both the above-mentioned […]