How to Embed GitHub Code Snippets in Hugo Template Blog Posts?

How to Embed GitHub Code Snippets in Hugo Template Blog Posts?

In this post, I am going to show you how to embed GitHub code snippets in the Hugo Template blog post in 5 simple steps. In Hugo Template, we enclose code snippet inside backtick ``` Generally, it doesn’t highlight the syntax based on what programming language the snippet/code is written in. GitHub Gist code snippets helps us to embed pre-formatted code in markdown. It’s best and simplest way to embed pre-formatted code in markdown....

December 5, 2022 · 2 min · 362 words · Prakash Bhandari
Create Laravel Composer Package From Scratch and Publish on Packagist

Create Laravel Composer Package From Scratch and Publish on Packagist

In this post, I’m going to explain how you can create Laravel package locally and publish to Packagist. To demonstrate, I will create a package to convert Hindu Arabic(Nepali) number to English and English number to Hindu Arabic (Nepali). Creating Laravel package is not that hard. In few simple steps you can create your own package. I will go through few steps: Step #1: Install Laravel I choose Laravel 9 because Laravel 9 is the latest version of Laravel....

December 4, 2022 · 8 min · 1693 words · Prakash Bhandari
How to Publish Your Own Public NPM Package

How to Publish Your Own Public NPM Package?

Publishing your own public NPM package is not that hard. All you need is basic understanding of Javascript, NPM, package.json file and Account in https://www.npmjs.com In this post, I will try to explain the steps to create and publish your own public NPM package to https://www.npmjs.com. To demonstrate, I will create real NPM package which will convert English number to Nepali Number and Nepali number to English Number. Finally, this package will be publish to https://www....

December 1, 2022 · 8 min · 1624 words · Prakash Bhandari
Mock AWS Services in Local Development Environment with LocalStack and NodeJS

Mock AWS Services in Local Development Environment with LocalStack and NodeJS

I was developing and deploying the applications to dedicated servers, on-premises and shared servers. In 2017, I got an opportunity to work with AWS for one of the retail online ecommerce web application. Since then primarily, I have been developing AWS based applications. In my career, I have used many AWS services. Primarily, Route 53, EC2 instances, RDS, SQS, SNS, S3 buckets and so on. Developing and testing applications in the real AWS account is sometimes time-consuming, costly and has dependency on the internet....

November 19, 2022 · 9 min · 1848 words · Prakash Bhandari
Javascript Unit Test With Jest

Javascript Unit Test With Jest

In this tutorial, I will demonstrate how to write a basic unit test to calculate the area of geometric shapes like circle and rectangle by using the JavaScript Testing Framework called Jest. ...

November 12, 2022 · 4 min · 672 words · Prakash Bhandari
Software Engineering

Changes I have seen in the software engineering space

In this article I will share the changes that I have seen and experienced in the software engineering space as a Software Engineer. I started my career as a front-end developer in late 2010. At that time I was converting PSD files to HTML pages. It took time to learn the basics of photoshop, HTML and CSS. But, slowly I became a professional frontend developer. Not actually a frontend developer was called HTML/CSS developer. ...

November 11, 2022 · 6 min · 1112 words · Prakash Bhandari
API Design Best Practices

API Design Best Practices

I had done presentation within the API development team in my work place on "{API} Design Best Practices" that is consumed by the clients (web app, device app and other third party API consumer). The main purpose of this presentation was to bring ease and smoothness in API development and implementation. I have shared the slide in slideshare.net. ...

August 24, 2021 · 1 min · 62 words · Prakash Bhandari
Code Review in Software Development Process

Code Review in Software Development Process

In the Software Development process, code review is one of the major processes. It plays a vital role in developing quality software and reducing human errors. This article highlights the significance of code review and tries to answer ...

September 8, 2020 · 6 min · 1207 words · Prakash Bhandari
How to Copy S3 Bucket Objects From One AWS Account to Another Account

How to Copy S3 Bucket Objects From One AWS Account to Another Account

I had to transfer the S3 bucket objects form one AWS account (Source account) to another AWS account (Destination Account) within the same region. But, transferring the objects form one AWS account to another is not straight forward. According to AWS documentation its transfer the ownership of S3 objects from one account to another AWS account rather than transferring the objects itself. To transfer this ownership we have to go through multiple steps....

September 23, 2019 · 4 min · 738 words · Prakash Bhandari