Welcome to my blog !

How to create and delete gitlab project and repositories

February 22, 2023 ·  1 min read

This tutorial explains how to delete projects and repositories in Gitlab. Gitlab Create a project Following are steps to create a project Login to GitLab Go to Projects links Click on the New Project button It redirects to the new project page Select Create Blank project Please enter the project details given below Project name: project name Project slug: slug name for the project Project configuration: default README is created with a selection Visibility level: private and public...

Fix for Gitlab Permission denied publickey

February 22, 2023 ·  2 min read

This tutorial explains about solution for [email protected]: Permission denied (publickey). Gitlab is a cloud hosting for managing git repositories. When you are working with source code repositories, You need to clone code, add/change code, and push changes to the gitlab repository. When you are pushing changes to GitLab using the git push command, It gives the following error. [email protected]: Permission denied (publickey). B:\waste\node-unittest.git>git push gitlab --mirror [email protected]: Permission denied (publickey). fatal: Could not read from remote repository....

Typescript mock interface and async promise example

February 21, 2023 ·  2 min read

In this tutorial, You learned how to test a mock interface in typescript. Typescript is advanced to javascript with strong features like typesafe checking. Jest is a unit testing framework like jasmine from Facebook. How to mock an interface in Jest? Let’s declare an interface in typescript with an enum being used in the interface. role.ts: enum ROLE { ADMIN, SALES, FINANCE } user.ts: export interface User { id: number; name: string; role: ROLE....

Solution git fatal: remote origin already exists error on push

February 21, 2023 ·  2 min read

This article discusses how to resolve the issue git fatal: remote origin already exists error during the push or add commands. How to fix git fatal: remote origin already exists error on push You must run the ‘git init’ command to enable git for any application or folder/directory. Once git is initialized, we must either create a new repository or clone an existing repository to map this to the existing directory....

React UUID Component Generator Example | React Native UUID example

February 21, 2023 ·  2 min read

In this blog post, We will learn how to Generate Unique Identifier - UUID in react js with examples. Sometimes, we need to have a use case like the generation of a Unique random identifier or UUID. UUID is a unique value that is not repeated. UUID will be mostly used to identify the visitor or user identification for session values and also for privacy functionality, Chat applications. GUID is a 128-bit value divided into five groups separated by a hyphen....

You'll get a notification every time a post gets published here.