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 "YOUR NAME"
git config --global "[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/

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

int hcfactor(int x,int y)
	return x;
	return hcfactor(y,x%y);
void main()
	int a,b,f;
	printf("Enter two numbers:\n");
	printf("HCF of %d and %d is %d.",a,b,f);
Continue reading »