Saturday, February 25, 2012

Getting Express project ready with Coffee.

# Utility script to create express project and make it ready with coffee scripts
# Assumes the availability of (express, js2coffee) node modules on path.


if [ "$PROJECTDIR" = "" ]; then
        echo "Usage: $0 projectname";


echo "   converting js to coffee and installing dependencies"

js2coffee app.js >; rm app.js
js2coffee routes/index.js > routes/; rm routes/index.js
npm install

echo "   \n$PROJECTDIR is ready now."
echo "   \$ cd $PROJECTDIR"
echo "   \$ coffee"

Tuesday, February 21, 2012

PHPNohup - execute in background.

Finally got some breakthrough in executing the long-running stateless scripts on the server using PHP in background.

Checkout: phpnohup @github

Saturday, February 18, 2012

Cool markdown editors.

Markdown helps to get the quick documentation,
preview enabled editors makes it easy to get the formatted content ready to be used.

Thursday, February 16, 2012

Started with MacOSX Lion and got-off with setup hiccups

Following items came in handy:
Enjoying the full-screen mode feature - helps to stay away from too many window distractions!

This page is powered by Blogger. Isn't yours?