What's a good way to check if a cookie exist in JavaScript? image
What's a good way to check if a cookie exist in JavaScript?

What's a good way to check if a cookie exist using Javascript? The cookie is available to Javascript via So the easiest method is to write a function that checks …

read more
Get month name from month number image
Get month name from month number

How can we get the month name from the month number? For instance, if I have 3, I want to return march? Most simple method is to define a function …

read more
Get the previous months name image
Get the previous months name

Often we need to get previous months name in python, especially, when we have to save report from previous month's name. In python its is pretty simple. 1. Get first …

read more