![]() Next, hop over into the terminal and navigate to a repo you have cloned. (It should have 9 extensions included, not just the C/C++ extension). In VS Code, click Extensions on the left hand navigation bar, then type in C/C++ Extension Pack to install the necessary extensions. After it is installed and open, close & reopen the terminal to make sure the PATH environment variable is updated to include VS Code. Install VS Code for Windows (don’t install it in the terminal). Now, you should be able to clone, push & pull from Github without a password. Go to the terminal now and run the following commands to configure git: git config -global user.email config -global user.name "Firstname Lastname" Paste the key into the Key field and click “Add SSH Key”. Name it something descriptive, like “Dell Laptop” or something that ties it to your machine. Pop over to GitHub and navigate to Settings->SSH & GPG Keys. Never share this file with anyone, it is basically your password.Ĭopy the entire output (including ssh-rsa) to your clipboard. There is also a id_rsa in this folder that contains your private key. Run the following command to print your public key to stdout: cat ~/.ssh/id_rsa.pub Home stretch, now need to add the SSH key to GitHub. Next, run the following commands to register the ssh key: eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_rsa The output should look like this (if you want the fancy tabbed terminal, install Terminal from MS Store) In the terminal, generate a ssh key by using the following command (replace your email first): ssh-keygen -t rsa -b 4096 -C will need to press enter to save in the default location, and don’t put in a password unless you want to type it in all the time (an extra layer of security if you want it). Therefore, we gotta have SSH keys to git gud. Next, it will be helpful if we didn’t have to type in a token or a password each time we want to pull or push to our Git remotes. sudo apt install git git-extras build-essential gcc-multilib gdb cmake -y Installing Necessary Development PackagesĪfter we get a terminal open, run the following commands to update Ubuntu package information and upgrade all installed software: sudo apt update & sudo apt upgrade -yĪfter this completes, run the following command to install git, the gcc toolchain, gdb, and cmake. You will need this password to run sudo and other privileged commands in WSL. After this completes, you will need to type in a username and password for your WSL virtual machine. After that has finished installing, in PowerShell, type the Restart-Computer cmdlet to restart and finish installing WSL2.Ī terminal should open on restart with the text Installing, this may take a few minutes. ![]() Next, run the command wsl -install to quickly install everything needed to run Ubuntu on Windows. Right-click the start menu icon and click “Windows PowerShell (Administrator)” or use the Win-X + A shortcut to do the same thing. Remove Apps from Startup Folder in Windows 10Īnother way to Disable Startup Programs in Windows 10 is by removing them from the Startup Folder on your computer.Pushing Changes Back to GitHub Installing WSLįirst off we want to pop into PowerShell to get WSL2 installed on the Windows machine. Note: If the “Disable” button is greyed out or unavailable, you need to login with you Admin Account. Repeat the above steps to prevent other Programs from starting up with the computer. Note: If you cannot see the Startup Tab, click on More Details option located at the bottom left corner of your screen.ģ. On Task Manager screen, switch to Startup Tab, select the Program that you want to prevent from starting and click on the Disable button. Right-click on the Start button and select Task Manager in the WinX menu.Ģ. ![]() Disable Startup Programs Using Task ManagerĪn easy way to stop any App or Program from automatically starting up with the computer is by using Task Manager.ġ. In the right-pane, disable Startup programs by moving the toggle next to the Apps to OFF position.Ģ. ![]() Go to Settings > Apps > Select Startup in the left-pane. Hence, Windows 10 provides multiple ways to prevent Apps and programs from automatically starting up with the computer and using up resources by running in background.
0 Comments
Leave a Reply. |