Visual Studio Code

Visual Studio Code and opening a file by file type

Reading Time: < 1 minute Visual Studio Code and opening the program that is associated with the file’s extension. This covers both Mac and Windows. Mac CMD-Shift-P Tasks: Configure Task Add this JSON to the task Windows Ctrl-Shift-P or F1 Tasks: Configure Task Add this JSON to the task file

GitHub

github.com: Permission denied (publickey)

Reading Time: < 1 minute git@github.com: Permission denied (publickey) If you ever receive this message when attempting to clone a git repository try the following. eval “$(ssh-agent -s)” Should return: Agent pid [process pid] ssh-add ~/.ssh/id_rsa ( Run ssh-keygen to generate a key if you haven’t already ) Should return Identity Added: … Add your ~/.ssh/id_rsa.pub file to your GitHub…

Terminal

Setting SSH Key Permissions

Reading Time: < 1 minute If you use ssh (Secure Shell) then you have likely ran into this error. If you haven’t generated a key then you’ll want to use ssh-keygen to create a key for ssh sessions. Linux Usually, your key file will be located at ~/.ssh/id_rsa.pub on UNIX based systems chmod 600 path/to/key/keyfile Windows Usually, your key file…