6 min read
While trying to build my blog, the build started failing whenever I used my live WordPress site’s graphql endpoint. It resulted in the following error. It was clear that the site was not letting the parallel traffic. There is no way for me to configure my WordPress site to accept more traffic but to find […]
27 min read
15 min read
I had this idea of having a Gatsby frontend for my WordPress blog since I started learning Gatsby in May 2019. I even wrote a blog about it. But it had not been straight forward. Initially, I used gatsby-source-graphql and wp-graphql plugin in WordPress. WP-graphql plugin exposed the data in WordPress in a graphql endpoint, […]
5 min read
When working with Gatsby with WordPress, I had to dump and import my WordPress database multiple times. Either trying out new host, or some data has updated on my local and I need it in production or vice-versa. Every time I need to import SQL dump, I had to manually update the two options in […]
10 min read
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 […]
41 min read
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 […]
2 min read
You can add image to the cart’s item listing as well as wishlist listing. To do that you will need to edit the the view and add a new relation and then add the product image field. You may want to rearrange the field as you want.
26 min read
I have been a customer of Laxmi bank for more than 5 years now. Two years back in July, I wrote about bad ATM service of Laxmi Bank. I had to go round the city several times to get some cash out of it. Now, this post is about a very bad customer service from the […]
8 min read
Cascade multiple conditions "rewriteCond" with or / and using .htaccess in apache server. Especially Important when fixing Google 404 not found errors in crawling.This may help in PR , I am not sure though, but surely you wont see the 404 crawl errors at least.
1 min read
Look at the picture carefully. Girls getting ready, doing make ups. Can u find something unusual?