11 Mar My Tech Life
This week was full of excitement. Taking the time to get my entire tech world set up was pretty challenging but nonetheless necessary. I thoroughly enjoyed seeing the power of Github along with WordPress. Both of these platforms are going to prove to be vital in my tech existence. There are so many tools from terminal, to Palentton, to Affinity and even Google Fonts. These were all fun to play with but my favorite was by far Github.
Github is a coder’s playground because it allows the individual to create code in an open source file that can then be edited by peers and other fellow coders. Important and useful are understatements because I’m sure you’ve heard the saying, “2 heads are better than one!” This is an amazing platform because it allows for a repository that everyone can contribute to if given access. Example, my WordPress site outside of my personal portfolio that is being built is www.Ragzonly.com (Links to an external site.)Links to an external site.. I look forward to utilizing Github during the construction of Ragzonly. When I think of the different elements I care to have incorporated into my site, I can think of several things I do not possess the embedded knowledge for yet. That’s what I will utilize Github for. I am more than confident (because I have already checked), that I will be able to find code for several elements (tables, animated objects, etc.).
The challenging part this week was syncing my computer with Github. Creating the repository for my code to be uploaded to (in Github), and creating the project folder within Visual Code Studio was tedious and a bit confusing for me because the steps are similar so mentally, I mixed them up! Crazy of me I know, however, it happened, and as I write this, I am still trying to think through the steps! Thank heavens for a “cheat sheet”! The first thing I was instructed to do was to create and SSH key. In my first mind, I did not know what this was or what it did. It took me following the steps first and then looking at what was created in order for me to see what was done by following the steps. Listed as follows is how you create and SHH key on the mac:
1. Open Terminal.
2. Paste the text below, substituting in your GitHub email address.
$ ssh-keygen -t rsa -b 4096 -C “your_email@example.com”
This creates a new ssh key, using the provided email as a label.
> Generating public/private rsa key pair.
When you’re prompted to “Enter a file in which to save the key,” press Enter. This accepts the default file location.
> Enter a file in which to save the key (/Users/you/.ssh/id_rsa): [Press enter]
3. At the prompt, type a secure passphrase. For more information, see “Working with SSH key passphrases” (Links to an external site.)Links to an external site..
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]
4. Start the ssh-agent in the background.
$ eval “$(ssh-agent -s)”
> Agent pid 59566
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
5. Add your SSH private key to the ssh-agent and store your passphrase in the keychain. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.
$ ssh-add -K ~/.ssh/id_rsa
Note: The -K option is Apple’s standard version of ssh-add, which stores the passphrase in your keychain for you when you add an ssh key to the ssh-agent.
HELP!!!
Do you see why I was confused? That was simply unable to complete all of these steps and then turn around and add the new SSH key to Github and understand what I was going to be doing before it was done. Reading the steps alone were a bit confusing to COMPREHEND (not complete) because the lingo was new. After completing the steps above, I was then instructed to configure my GitHub account to use my new SSH key, which was simply adding it to my GitHub account, right?! I followed these steps in order to complete the task:
1. Copy the SSH key to your clipboard.
$ pbcopy < ~/.ssh/id_rsa.pub # Copies the contents of the id_rsa.pub file to your clipboard Tip: If pbcopy isn't working, you can locate the hidden .ssh folder, open the file in your favorite text editor, and copy it to your clipboard.
2. In the upper-right corner of any page, click your profile photo, then click Settings.
3. In the user settings sidebar, click SSH and GPG keys.
4. Click New SSH key or Add SSH key.
5. In the “Title” field, add a descriptive label for the new key. For example, if you’re using a personal Mac, you might call this key “Personal MacBook Air”.
6. Paste your key into the “Key” field.
7.Click Add SSH key.
8.If prompted, confirm your GitHub password.
That was the end of me setting up my tech life! Simple enough I think. NOT! That’s why exercises like this are important because they force me to retrace my steps. While I explain I learn and I’m learning that in the tech field, I will need to do a lot of that! I hope you were able to find some value in this blog. Now I’m off to create the world’s best social networking platform for motorcyclists! MC’s unite via Ragzonly.com

Sorry, the comment form is closed at this time.