Skip to main content

Posts

Showing posts from September, 2015

How to pass variables to res.render() in Node.js

I was trying to figure out how to render a view inside a view, as I was stuck with this issue. Horrible Effects of Misplaced Extensions ;) I was using Node.js platform with ejs template engine. My index.ejs file has an included header.ejs file. Everything works well except that I can't pass values to the variable status in header.ejs. Here is my abstract code... index.ejs header.ejs app.js The most funniest solution ever! The solution is as easy as this. Just remove .ejs extension from the include command. I spent at least an entire night to figure it out.

Taking Slow Motion videos are so funny

Testing SlowMo in Moto G... Do blogger play videos from Google Photos ? If you cant play is let me know, So that I can use YouTube...

Seminar on Internet of Things

Recently I had taken a seminar on Internet of Things. By the Grace of God Almighty , it received very beautiful responses from my teachers and friends. I thank all of them. Here is a video from it: