Showing posts with label mongo. Show all posts
Showing posts with label mongo. Show all posts

Tuesday, June 25, 2013

Check if Mongoose it's already conected


You can tell if mongoose is already connected or not by simply checking:
if(mongoose.connection.readyState){}
0 = no
1 = yes

The Video converter I needed

Handbrake it's an open-source video transcoder and a lifesaver!  For people that don't have a lot of time for transcoding or don...