How to add ssh and gpg keys in GitHub or GitLab?

Configure git

Initial configuration of git if you have not set yet.

git config --global color.ui true
git config --global user.name "YOUR NAME"
git config --global user.email "[email protected]"
ssh-keygen -t rsa -b 4096 -C "[email protected]"

Adding SSH key

Run this command in your terminal to generate new ssh key

ssh-keygen -t rsa -b 4096 -C "[email protected]"

The next step is to take the newly generated SSH key and add it to your Github or GitLab account. You can add SSH key in your setting of GitLab or GitHub. You want to copy and paste the output of the following command and paste it in your ssh key setting.

cat ~/.ssh/id_rsa.pub

Once you’ve done this, you can check and see if it worked:

Continue reading »

B.Sc. CSIT Sixth Semester All Questions 2075

Here is a collection of all subjects of B.Sc.CSIT sixth semester questions 2075. Click the respective subject to view or download the question.

Compulsory Subjects

Software Engineering (CSc.351)
Compiler Design and Construction (CSc.352)
Web Technologies (CSc.353)
Real Time Systems (CSc.354)

Alternative Subjects

Fundamental of E-commerce (CSc.356)
Net Centric Computing (CSc.360)
Embedded System Programming (CSc.362)
Image Processing (CSc.363)

Continue reading »

C program to find the HCF of the two numbers

#include<stdio.h>
#include<conio.h>
int hcfactor(int x,int y)
{
	if(y==0)
	return x;
	else
	return hcfactor(y,x%y);
}
void main()
{
	int a,b,f;
	printf("Enter two numbers:\n");
	scanf("%d%d",&a,&b);
	f=hcfactor(a,b);
	printf("HCF of %d and %d is %d.",a,b,f);
	getch();
}
Continue reading »
Top