Live-code demos for Computer Science 30 at WMCI.
You can, of course, simply view the code that we have created together here on the GitHub website. However, the best way to use this GitHub repository is to click the "Clone or download" button (on the right side at the top of this page) and select "Open in Desktop". Now you just need to choose where on your local computer you'd like to save all of our class demos. At school, I'd recommend your M:/, though it can be anywhere. You can clone this repository at home to have easy access to all the demos there as well. To update your folder to include the most recent demos, open GitHub Desktop, select the cs20-demos repository, and click on the "Fetch Origin" button. From then on, whenever you want to get the latest demos on your machine, just open GitHub Desktop, and click on the "Fetch Origin" button.
One of the most common errors that students encounter happens when they edit the demos inside the folder they have cloned to their local machine. This will cause problems when you click "Fetch Origin", since GitHub tries to update the folder to match the current state found online, but will not know what to do about the file(s) that you have changed locally. To avoid this, make a copy of the demo you would like to edit, and save it somewhere other than the cs30-class-demos folder.