Featured

Heroku PostgreSQL database backup and restore
5/29/2021

Heroku PostgreSQL database backup and restore

If you are new to Heroku and PostgreSQL and need to backup/restore data to and from your PostgreSQL database in Heroku, it might be overwhelming to get it right. This post has everything you will need to do just that.

10/17/2019

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)
1/12/2015

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.

Getting started with Serverless
9/20/2019

Getting started with Serverless

What is Serverless Application? Resources without provisioning and operations. What is a Microservice? Why? Auto-scaling Fault-Tolerant by design Pay-as-you-go Quick and easy to develop? depends.. When? It is wise to consider when to think serverless. Workloads with irregular access patterns Workloads with short execution times Automation What is AWS Lambda? AWS Lambda is an event-driven, serverless […]

Kathmandu Kora Cycling Challenge 2014 #kora14
7/18/2014

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
1/14/2014

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
12/7/2013

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.

Kathmandu Kora Cycling Challenge 2013
7/16/2013

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.

© 2023 Anil Maharjan