Easily manipulate time using javascript
December 9th, 2016 Javascript 825 views

Calculating time has been a headache for developers from long time. Specially when you have to do it using javascript, it’s definitely a nightmare. But moment.js has made it very easy now. Moment.js is used to parse, validate, manipulate, and display dates in JavaScript. You can download it from here http://momentjs.com/ Recently I got a […]

Read more  
Convert PDF to Image using PHP
December 27th, 2015 PHP 1,356 views

Recently one of my friend asked me if there is a way to convert a PDF to Image file. I tried to do that few months ago by following some tutorial that was using combination of Ghostscript and Imagemagick tools. But I didn’t succeed at that time as there were so many version conflicts on […]

Read more  
Some useful SASS Mixins
December 25th, 2015 CSS 558 views

Alright, Time to post something useful as lately I have become the lazy blogger 🙂 . Here is a couple of useful SASS mixins that I always use on the websites that I design. Size

Clearfix

Absolute Position

Border Radius

Background Gradient

Box Shadow

Text Shadow

Transition Animation

Hope […]

Read more  
Tools for geocoding your address
September 21st, 2015 Google Maps 561 views

Anyone working on Google Maps API will find this really useful. As I have been using Google Maps API source codes from around 6-7 years, I have face the need of these 2 tools frequent times. When I have an address value and I wanted the Latitude & Longitude co-ordinates of that address,  I googled for some websites […]

Read more  
Get last day of month from specific date
September 12th, 2015 Javascript 648 views

Let’s say we have given any date and we want to find out on what day of week the Month ends using Javascript. E.g. 09-12-2015 (12th sept 2015), the last day of this month is Wednesday. So our script should return 3 which is Wednesday counting from Sunday as 0, Monday as 1, Tuesday as 2 & so […]

Read more