Category: Javascript

Loopback Automigration Scripts
December 10th, 2017 Javascript 85 views

Hey Guys, its been a long time I haven’t posted anything. I have been recently playing with Loopback API Framework. And planning to build a small App using Loopback + MySQL + VueJS. I am planning to keep posting updates on this. But for now just wanted to share this most important info which I […]

Read more  
Easily manipulate time using javascript
December 9th, 2016 Javascript 1,185 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  
Get last day of month from specific date
September 12th, 2015 Javascript 1,042 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  
How I handle disabled javascript
August 13th, 2015 Javascript 1,055 views

This time I would like to share something technical. As this is a very easy trick for hackers to break the website security or find out website vulnerability. e.g. You have build a membership registration form for a website. You have put some form validation using javascript or any jquery plugin. That will definitely help us […]

Read more