Posted by andy | 531 views 0 likes 0 favourites 0 comments
How to minify JS and CSS files using Gulp?
In this tutorial, you will learn how to minify JS and CSS files using Gulp. So what is exactly a Gulp is? Gulp is a javascript task runner, it can be used to perform an automatic tasks such as minifying and bundling files, running unit tests, running code analysis and much more.

More
Tumblr Digg Google Plus
Posted by andy | 1249 views 1 likes 2 favourites 0 comments
Disable Google analytics for local development
Google Analytics is one of the best free analytics site tracker. It gives you an idea the statistic of your visitors like the country they come from, the URL or keyword they search to go to your site or even the demographic or ages of your visitors. If you are a developer, you definitely do not want to track any data when you are in development phase. In this tutorial, you will learn how to disable google analytics for local development by using a javascript code if condition.

More
Tumblr Digg Google Plus
Posted by andy | 1041 views 0 likes 0 favourites 0 comments
Simple way detecting if a page has a scroll bar
If you try to search this particular topic in Google Search, you will come up with a list of different solutions. Most of them will use the document or body height to compare if there is a difference, we assume there will be a scroll bar. Unfortunately it doesn't work well, most of them it will return the same height.

More
Tumblr Digg Google Plus