Friday, May 9, 2014

Wednesday, April 9, 2014

Openshift Add --harmony flag to NodeJs

Trying to run Koajs or ES6 code with --harmony flag but getting 503 error on Openshift? Here’s how to solve it.

Thursday, April 3, 2014

Use GruntJs to Uglify ES6 Application

Get to know how to Uglify (mangling and minify) your javascript files written in javascript ES6.

Wednesday, March 26, 2014

IE11 Not Working?

Are you having trouble opening website with Internet Explorer 11? IE explorer can only work on Windows App mode? You have tried disabled or uninstalled all extensions but still no use? This may help you solve the problem without refresh or reset system.

Saturday, March 22, 2014

Blogging using Haroopad and

I always wanted to blog with markdown but few things always hold me back. Either the blog site not support markdown or there’s no good editor tools with publishing utility. Finally there’re wonderfull tools now: and Haroopad.

Monday, March 17, 2014

Koajs - Getting Started

Koa is the next generation web framework for nodejs. Similar to express.js but smaller because most modules have been seperated out as individual package, for example you will have to use koa-router in your application in order to use app.get() method. Another main feature of Koa is the use of javascript ES6 (still pending) generator.

Thursday, March 13, 2014

Npm install from Github or Bitbucket

Nodejs comes bundled with a very useful package management tool npm. We can easily install modules suchs as connect, express, koa and etc into our project by using the command npm install <module>. Where <module> are in the repository.

Suppose you have a repository on Github or Bitbucket, how can you npm install the module?