Serverless Framework

TASK: Static website http://cocktail.review.com.np/ Search bar does not work. Add a data endpoint to serve drinks data to the autocomplete field. Prerequisites NodeJs AWS account AWS CLI Install Serverless cli # Install the serverless cli npm install -g serverless Login to Serverless serverless login Bootstrap a new service serverless Follow the setup instruction in your […]

Apache2 on Ubuntu ignores sites-enabled conf (vhost config)

I am using Vagrant to host my local dev environment in Ubuntu. I found this issue, Apache2 on Ubuntu ignores sites-enabled *.conf After few tries figured out, you need to edit the default 000-default.conf file and comment out the configurations there or just delete the file.

Kathmandu Kora Cycling Challenge 2014 #kora14

I know it’s a bit late for me to be posting this but it’s never too late re kya :D. Tomorrow is the day when more than 1,000 people are cycling around the city for a great cause. This year,  it’s going to be even bigger, the organizing team has planned to build a birthing facility in […]

Paging a long text into a specific size document like pages using javascript

Here is a tutorial about creating  pages with specific height and width out of a very long text to give a microsoft word or other document editor type look using javascript and jQuery. 

Using gradient stops and transparency to dynamically fill circle partially in svg using d3js

Using gradient stops and transparency we can fill circle partially in svg. Doing this dynamically using data may be great visualization tool. We will use d3 to do this.

Create filled circle to visualize data using svg

Here is how to tutorial on creating filled circle to visualize data using svg and tiny bit of javascript.

Kathmandu Kora Cycling Challenge 2013

I am so excited and delighted to say that I am participating in Kathmandu Kora Cycling Challenge 2013. Its a charity event, anyone can take challenge of 50 km circuit around kathmandu. All funds collected goes towards BUILDING an eco-designed birthing facility in Sharmali, Baitadi.