Skip to content

openEDU-Labs/openEDU-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

792 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<<<<<<< HEAD

openEDU-Website

Website for openEDU

Submissions

This is where you submit your code. We understand and accept the fact that you can see everyone else's submissions. We are not going to do anything to prevent you from cheating. Keep in mind that this is an Honors course, meant for enriching your knowledge. You gain absolutely nothing from cheating.

##How do I set up git and submit homework assignments?

Do you have git? If yes, skip to 2.

  1. Get Git
    • For Windows : Download git bash - https://git-for-windows.github.io and install.
    • For Mac: open terminal and paste this command and hit enter: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew install git
    • For Linux: sudo apt-get install git (replace apt-get with your OS's package manager)
  2. On https://github.com/CS196Illinois/Submissions, Fork the repository (top right corner) to your own Github alt tag
  3. Run the following command in git bash (or terminal for Mac and Linux users): git clone https://github.com/[YOUR_GITHUB_USERNAME]/Submissions. Replace [YOUR_GITHUB_USERNAME] with your username.
  4. Make a new folder and name it your NETID
  5. copy the files from this weeks PSet directory into the NETID folder Example File structure
    Submissions
    ├── PS1
    │   └── EXAMPLE_NETID
    │         ├── Anagram.java
    │         ├── Anagram.txt
    │         ├── Diagonal.java
    │         ├── Diagonal.txt
    │         ├── PS1.txt
    │         ├── Stairs.java
    │         └── Stairs.txt
    └── README.md
    or, for example, if you were to do it in Python instead of Java:
    Submissions
    ├── PS1
    │   └── EXAMPLE_NETID
    │         ├── Anagram.py
    │         ├── Anagram.txt
    │         ├── Diagonal.py
    │         ├── Diagonal.txt
    │         ├── PS1.txt
    │         ├── Stairs.py
    │         └── Stairs.txt
    └── README.md
    ... etc
  6. Solve the problems!!!
  7. When you are ready to submit, type into console, (after making sure you are in the proper the directory) and only for the first time run: git remote add origin https://github.com/[YOUR_GITHUB_USERNAME]/submissions
  8. Following that (in the same directory), add your changes files to be staged for a commit, and commit your changes: git add [FILE] and then a git commit -m "PSET submission"
  9. then run git push origin master (you may need to git pull to catch up to master)
  10. On github.com/[YOUR_USERNAME]/Submissions, click the button for a new pull request (on the right sidebar)
  11. To the complete the new pull request: set the base fork HEAD to cs196illinois:submissions and the head fork HEAD to [yourGithubID]:master
  12. Once you are done with the pull request, PAT YOURSELF ON THE BACK!!!
  13. wait for a response (either accepting or rejecting the merge). Poke your Course Assistant if it takes more than a few hours.

Repeat steps 10 through 15 for subsequent PSets! SEE EXAMPLE ENTRY IN PS1 for SUBMISSION FORMAT!!!

WE UNDERSTAND THAT GIT IS VERY DIFFICULT TO PICK UP INITIALLY. IF YOU HAVE ANY TROUBLE OR HAVE ANY QUESTIONS, PLEASE FEEL TO CONTACT YOUR CA, COME TO HACKERSPACE, OR SEND AN EMAIL TO cs196-instructors@illinois.edu, OR FIND Aravind Sundaresan (sundrsn2@illinois.edu) OR Naren Dasan (sivagna2@illinois.edu) THROUGH WHATEVER FORMAT IS MOST CONVENIENT

0dfbdb537c759718e41b51565a4ecf7b838c9388

About

Website for openEDU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors