Javascript - ♥ Attach with events

Javascript is going very populer now days, javascript was created in 10 days in 1995 by Brendan Eich, JavaScript was not always known as JavaScript: the original name was Mocha, a name chosen by Marc Andreessen, founder of Netscape. In...

Super awesome automation testing

As a born developer i never came across actual/serious testing of softwares, but some times you are the one man army of your project and gotta make all the things yourself. I went through a situation where i needed to...

'N' for NodeJS

From last few months i came across the the coolest thing in programming and because of that i’m gonna teach my childrens that ‘N’ is for NodeJS ;) Nodejs is the programmig platform developed by some super awesome people who...

Timezone conversion in python -Easy way

This lib i found most usefulll python-dateutil. sudo pip install python-dateutil from datetime import datetime from dateutil import tz date_str = "2014-08-08 19:18:01" fmt="%Y-%m-%d %H:%M:%S" from_zone = tz.gettz('UTC') to_zone = tz.gettz('America/New_York') utc = datetime.strptime(date_str, fmt) utc = utc.replace(tzinfo=from_zone) print utc.strftime(fmt)...

Killer mailer script in Python

Hey guys i always needed a mailer script which can send me hourly/daily/weekly updates of my diffrent programs running on linux box. I tried sendmail and mutt but they were not much impressive. I made a python script for myself...