I learned the importance of documentation, how to use GitLab and Git Bash, and gave myself a refresher on
how to use HTML and CSS this week. On Wednesday, we discussed documentation and the importance of doing tasks in
small sequential chunks. We were given the example of making sure a pre-made simple sensor works, then a more advanced one,
and finally if a student-made advanced sensor works in a project. I taught myself HTML and CSS in high school and made a website for which I received a Gold Award.
I took a look at some of the code from my old website to give myself a refresher. Finally, I finished the sketches
for my final project, which you can find in the 'Final Project' tab. You can find some of my notes on Git Bash to the right
on this webpage. But how did we get Git working? First, as a windows user, I installed Git Bash. Then, I added my Git username
and configured my email for uploading using the following 2 commands:
git config –-global user.name “YOUR_USERNAME”
git config -–global user.email “jSmith@mail.com”
After doing these commands, I generated and SSH key and copied
my keygen which I then added to the web version of Git. To generate and copy the keygen, I used the following commands:
ssh-keygen -t rsa -C "$your_email"
cat ~/.ssh/id_rsa.pub
Windows: clip < ~/.ssh/id_rsa.pub
Finally, I cloned
my student repo to a folder I made for the repo, with this command: