Know which types to choose

Types of fat to choose

Let’s talk about Health. When choosing fats, pick unsaturated fat over saturated or trans fat. You don’t need to completely eliminate all fat from your diet. In fact, some fats actually help promote good health. But it’s wise to choose the healthier types of dietary fat and then enjoy them.

Here’s how to know the difference:

Continue reading

Advertisements

Regular Expressions

What is a Regular expressions?

Regular expressions are patterns used to match character combinations in strings. In JavaScript, regular expressions are also objects. These patterns are used with the exec and test methods of RegExp, and with the match, replace, search, and split methods of String.

How to Write a Regular Expression Pattern

A regular expression pattern is composed of simple characters, such as /abc/, or a combination of simple and special characters, such as /ab*c/ or /Chapter (\d+)\.\d*/. The last example includes parentheses which are used as a memory device. The match made with this part of the pattern is remembered for later use, as described in Using Parenthesized Substring Matches.

Continue reading

Gradle build tool

Sharing my own experience with you on Gradle

Gradle is nice tool to build applications like Maven and ant since it brings best of Maven and ANT… One thing that I don’t like with Gradle is too slow! It is slowest one when compared with ANT and Maven but it is simplest one either 😉

Gradle may be future of building JAVA apps. One day, it might be more popular and will be replaced with Maven by many companies.

Gradle uses the “Groovy” programming language! Don’t panic! You don’t need to know Groovy in order to write build script in Gradle! You just need to understand the Groovy and that is it! However, if you wanna learn about Groovy then here is link for you: Gradle

Continue reading