Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sirsaw/e1477fcd18ce7fbe9ab5b26a5d0b580a to your computer and use it in GitHub Desktop.

Select an option

Save sirsaw/e1477fcd18ce7fbe9ab5b26a5d0b580a to your computer and use it in GitHub Desktop.

Revisions

  1. sirsaw revised this gist Jul 9, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -85,4 +85,4 @@ Possible Methods (verbs / actions):

    *Question: Is it too redundant to have two attributes for wheels? If a chair has no wheels, the Wheel_Count value could be set to 0, and I assume that could still be used to check if the Roll method is available. I included a boolean because I wasn't 100% sure. Also, I assume there must be some way to say that a value of 1 or 2 would be invalid for the Wheel_Count attribute since that wouldn't be possible on an actual chair, right? Looking forward to learning more!*

    *Note to Tim: FYI, it looks like this item was included twice for Session 4, once here in the "Practice Tasks," and once in the "Readings and Responses."*
    *Note to Tim: FYI, it looks like this video on bottles was included twice for Session 4, once here in the "Practice Tasks," and once in the "Readings and Responses."*
  2. sirsaw revised this gist Jul 9, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -52,7 +52,7 @@ Use about half of a blank sheet of paper to draw out a diagram that shows how yo

    ## Task 4: OOP and Bottles (12 min)

    - [ ] Watch [this video](https://drive.google.com/open?id=1wtlcsYrfk7bO975KxJhTqAfU9une7Pb8). Then choose your own real-world class and objects of that class. In the space below, define and name the **attributes** and **methods** for your class and the associated objects.
    - [x] Watch [this video](https://drive.google.com/open?id=1wtlcsYrfk7bO975KxJhTqAfU9une7Pb8). Then choose your own real-world class and objects of that class. In the space below, define and name the **attributes** and **methods** for your class and the associated objects.

    Class (singular): Chair

  3. sirsaw revised this gist Jul 9, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -83,6 +83,6 @@ Possible Methods (verbs / actions):
    - Roll (available if `Wheeled` boolean is true)
    - Spin (available if `Spinnable` boolean is true)

    *Question: Is it too redundant to have two attributes for wheels? If a chair has no wheels, the Wheel_Count value could be set to 0, and I assume that could still be used to check if the Roll method is available. I included a boolean because I wasn't 100% sure. Also, I assume there must be some way to say that a value of 1 or 2 would be invalid for the Wheel_Count attribute. Looking forward to learning more!*
    *Question: Is it too redundant to have two attributes for wheels? If a chair has no wheels, the Wheel_Count value could be set to 0, and I assume that could still be used to check if the Roll method is available. I included a boolean because I wasn't 100% sure. Also, I assume there must be some way to say that a value of 1 or 2 would be invalid for the Wheel_Count attribute since that wouldn't be possible on an actual chair, right? Looking forward to learning more!*

    *Note to Tim: FYI, it looks like this item was included twice for Session 4, once here in the "Practice Tasks," and once in the "Readings and Responses."*
  4. sirsaw revised this gist Jul 9, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -83,6 +83,6 @@ Possible Methods (verbs / actions):
    - Roll (available if `Wheeled` boolean is true)
    - Spin (available if `Spinnable` boolean is true)

    *Note from Shane: FYI, it looks like this item was included twice for Session 4, once here in the "Practice Tasks," and once in the "Readings and Responses."*
    *Question: Is it too redundant to have two attributes for wheels? If a chair has no wheels, the Wheel_Count value could be set to 0, and I assume that could still be used to check if the Roll method is available. I included a boolean because I wasn't 100% sure. Also, I assume there must be some way to say that a value of 1 or 2 would be invalid for the Wheel_Count attribute. Looking forward to learning more!*

    *Question: Is it too redundant to have two attributes for wheels? If a chair has no wheels, the Wheel_Count value could be set to 0, and I assume that could still be used to check if the Roll method is available. I included a boolean because I wasn't 100% sure. Also, I assume there must be some way to say that a value of 1 or 2 would be invalid for the Wheel_Count attribute. Looking forward to learning more!*
    *Note to Tim: FYI, it looks like this item was included twice for Session 4, once here in the "Practice Tasks," and once in the "Readings and Responses."*
  5. sirsaw revised this gist Jul 9, 2019. 1 changed file with 9 additions and 7 deletions.
    16 changes: 9 additions & 7 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -64,17 +64,17 @@ Instances / Objects:

    Possible Attributes:
    - Armrests (boolean)
    - Color (string)
    - Height (integer)
    - HeightAdjustable (boolean)
    - MaxWeight (integer)
    - Spinnable (boolean)
    - Tiltable (boolean)
    - Wheel_Count (integer)
    - Wheeled (boolean)
    - Height (integer)
    - MaxWeight (integer)
    - WheelCount (integer)
    - Width (integer)
    - innerMaterial (string)
    - outerMaterial (string)
    - color (string)
    - Inner_Material (string)
    - Outer_Material (string)

    Possible Methods (verbs / actions):
    - Break (occurs if `MaxWeight` value is exceeded by user's weight)
    @@ -83,4 +83,6 @@ Possible Methods (verbs / actions):
    - Roll (available if `Wheeled` boolean is true)
    - Spin (available if `Spinnable` boolean is true)

    *Note from Shane: FYI, it looks like this item was included twice for Session 4, once here in the "Practice Tasks," and once in the "Readings and Responses."*
    *Note from Shane: FYI, it looks like this item was included twice for Session 4, once here in the "Practice Tasks," and once in the "Readings and Responses."*

    *Question: Is it too redundant to have two attributes for wheels? If a chair has no wheels, the Wheel_Count value could be set to 0, and I assume that could still be used to check if the Roll method is available. I included a boolean because I wasn't 100% sure. Also, I assume there must be some way to say that a value of 1 or 2 would be invalid for the Wheel_Count attribute. Looking forward to learning more!*
  6. sirsaw revised this gist Jul 9, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -77,8 +77,8 @@ Possible Attributes:
    - color (string)

    Possible Methods (verbs / actions):
    - Break (happens if `MaxWeight` value is exceeded by user's weight)
    - ChangeHeight (Only available if `HeightAdjustable` boolean is true, and will alter the `Height` attribute)
    - Break (occurs if `MaxWeight` value is exceeded by user's weight)
    - ChangeHeight (available if `HeightAdjustable` boolean is true, and will alter the `Height` attribute)
    - Lean (available if `Tiltable` boolean is true)
    - Roll (available if `Wheeled` boolean is true)
    - Spin (available if `Spinnable` boolean is true)
  7. sirsaw revised this gist Jul 9, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -77,6 +77,7 @@ Possible Attributes:
    - color (string)

    Possible Methods (verbs / actions):
    - Break (happens if `MaxWeight` value is exceeded by user's weight)
    - ChangeHeight (Only available if `HeightAdjustable` boolean is true, and will alter the `Height` attribute)
    - Lean (available if `Tiltable` boolean is true)
    - Roll (available if `Wheeled` boolean is true)
  8. sirsaw revised this gist Jul 9, 2019. 1 changed file with 31 additions and 1 deletion.
    32 changes: 31 additions & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -52,4 +52,34 @@ Use about half of a blank sheet of paper to draw out a diagram that shows how yo

    ## Task 4: OOP and Bottles (12 min)

    - [ ] Watch [this video](https://drive.google.com/open?id=1wtlcsYrfk7bO975KxJhTqAfU9une7Pb8). Then choose your own real-world class and objects of that class. In the space below, define and name the **attributes** and **methods** for your class and the associated objects.
    - [ ] Watch [this video](https://drive.google.com/open?id=1wtlcsYrfk7bO975KxJhTqAfU9une7Pb8). Then choose your own real-world class and objects of that class. In the space below, define and name the **attributes** and **methods** for your class and the associated objects.

    Class (singular): Chair

    Instances / Objects:
    - Office
    - Dining
    - Stool
    - Recliner

    Possible Attributes:
    - Armrests (boolean)
    - HeightAdjustable (boolean)
    - Spinnable (boolean)
    - Tiltable (boolean)
    - Wheeled (boolean)
    - Height (integer)
    - MaxWeight (integer)
    - WheelCount (integer)
    - Width (integer)
    - innerMaterial (string)
    - outerMaterial (string)
    - color (string)

    Possible Methods (verbs / actions):
    - ChangeHeight (Only available if `HeightAdjustable` boolean is true, and will alter the `Height` attribute)
    - Lean (available if `Tiltable` boolean is true)
    - Roll (available if `Wheeled` boolean is true)
    - Spin (available if `Spinnable` boolean is true)

    *Note from Shane: FYI, it looks like this item was included twice for Session 4, once here in the "Practice Tasks," and once in the "Readings and Responses."*
  9. sirsaw revised this gist Jul 9, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -48,7 +48,7 @@ To start this assignment:

    Use about half of a blank sheet of paper to draw out a diagram that shows how you understand the git workflow. Then, use the other half to show how this workflow fits with GitHub.

    - [ ] Post this diagram on the Mod 0 Slack channel.
    - [x] Post this diagram on the Mod 0 Slack channel.

    ## Task 4: OOP and Bottles (12 min)

  10. sirsaw revised this gist Jul 9, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -42,7 +42,7 @@ To start this assignment:
    1. Use the `site:help.github.com` Googling trick to search GitHub's help area to figure out how to create a pull request from a fork. It may also be helpful to figure out what `pull request` means.
    1. Open a pull request for your changes.

    - [ ] Once your pull request is open, you're done! You don't need to submit or paste anything since we will get a notification that you've opened a pull request.
    - [x] Once your pull request is open, you're done! You don't need to submit or paste anything since we will get a notification that you've opened a pull request.

    ## Task 3: How do Git and GitHub work? (55 min)

  11. sirsaw revised this gist Jul 9, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ To start this assignment:
    1. Add the remote to your local repository.
    1. Push your repository to GitHub.

    - [ ] Paste the link to your repository here: https://github.com/sirsaw/git_and_gh_practice
    - [x] Paste the link to your repository here: https://github.com/sirsaw/git_and_gh_practice

    ## Task 2: Forking a Repo on GitHub and Creating a Pull Request (30 min)

  12. sirsaw revised this gist Jul 9, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ To start this assignment:
    1. Add the remote to your local repository.
    1. Push your repository to GitHub.

    - [ ] Paste the link to your repository here:
    - [ ] Paste the link to your repository here: https://github.com/sirsaw/git_and_gh_practice

    ## Task 2: Forking a Repo on GitHub and Creating a Pull Request (30 min)

  13. @rwarbelow rwarbelow revised this gist Jun 4, 2019. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -49,3 +49,7 @@ To start this assignment:
    Use about half of a blank sheet of paper to draw out a diagram that shows how you understand the git workflow. Then, use the other half to show how this workflow fits with GitHub.

    - [ ] Post this diagram on the Mod 0 Slack channel.

    ## Task 4: OOP and Bottles (12 min)

    - [ ] Watch [this video](https://drive.google.com/open?id=1wtlcsYrfk7bO975KxJhTqAfU9une7Pb8). Then choose your own real-world class and objects of that class. In the space below, define and name the **attributes** and **methods** for your class and the associated objects.
  14. @rwarbelow rwarbelow revised this gist Apr 11, 2019. 1 changed file with 0 additions and 13 deletions.
    13 changes: 0 additions & 13 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -49,16 +49,3 @@ To start this assignment:
    Use about half of a blank sheet of paper to draw out a diagram that shows how you understand the git workflow. Then, use the other half to show how this workflow fits with GitHub.

    - [ ] Post this diagram on the Mod 0 Slack channel.

    Next, a new gist of your own by clicking the `New Gist` button in the upper right-hand corner of the screen. Create a "Beginners Guide to Git" documenting your git knowledge so far using Markdown. Incorporate each of the following features into your Gist:

    - at least two headings of different sizes
    - at least one numbered list
    - at least one bullet point list
    - at least one bold word/phrase
    - at least one italic word/phrase
    - at least one code block
    - at least one inline code block (greyed text)
    - at least one image

    - [ ] Paste the link to your gist here:
  15. @rwarbelow rwarbelow revised this gist Mar 22, 2019. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -44,9 +44,13 @@ To start this assignment:

    - [ ] Once your pull request is open, you're done! You don't need to submit or paste anything since we will get a notification that you've opened a pull request.

    ## Task 3: Practicing Markdown (40 min)
    ## Task 3: How do Git and GitHub work? (55 min)

    Create a new gist of your own by clicking the `New Gist` button in the upper right-hand corner of the screen. Create a "Beginners Guide to Git" documenting your git knowledge so far using Markdown. Incorporate each of the following features into your Gist:
    Use about half of a blank sheet of paper to draw out a diagram that shows how you understand the git workflow. Then, use the other half to show how this workflow fits with GitHub.

    - [ ] Post this diagram on the Mod 0 Slack channel.

    Next, a new gist of your own by clicking the `New Gist` button in the upper right-hand corner of the screen. Create a "Beginners Guide to Git" documenting your git knowledge so far using Markdown. Incorporate each of the following features into your Gist:

    - at least two headings of different sizes
    - at least one numbered list
  16. @rwarbelow rwarbelow revised this gist Jan 31, 2019. 1 changed file with 38 additions and 6 deletions.
    44 changes: 38 additions & 6 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -1,20 +1,50 @@
    # Session 4 Practice Tasks

    The assignments listed here should take you approximately __ total minutes.
    The assignments listed here should take you between 1.5 and 2 total hours.

    To start this assignment:

    1. Click the button in the upper right-hand corner that says **Fork**. This is now your copy of the document.
    1. Click the **Edit** button when you're ready to start adding your answers.
    1. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

    ## Task 1: Creating a Repo on GitHub
    ## Task 1: Practicing Git Workflow and Pushing a Repo to GitHub (20 min)

    ## Task 2: Cloning a Repo on GitHub
    1. From your command line, make a directory `git_and_gh_practice` with two files inside: `hobbies.txt` and `travels.txt`.
    1. Initialize git, and your two files, and make an initial commit.
    1. Use your text editor to open `hobbies.txt`.
    1. Add some text about your hobbies.
    1. Add the changes and commit.
    1. Use your text editor to open `travels.txt`.
    1. Add some text about your favorite vacation or travel experience.
    1. Add the changes and commit.
    1. On GitHub, create a new repository.
    1. Add the remote to your local repository.
    1. Push your repository to GitHub.

    ## Task 3: Forking a Repo on GitHub
    - [ ] Paste the link to your repository here:

    ## Task 4: Practicing Markdown
    ## Task 2: Forking a Repo on GitHub and Creating a Pull Request (30 min)

    1. Fork the [Mod 0 Resources](https://github.com/turingschool-examples/mod0resources) repository.
    1. Open your terminal
    1. Clone your fork to your computer (`git clone <url>`).
    1. `cd` into your cloned repository.
    1. Make a new file with the pattern `lastname_firstname_resources.md`.
    1. Open the file you just created in your text editor.
    1. Create a list of some of your favorite resources so far related to coding/Turing/git/GitHub/etc. These resources do not need to be ones that we've discussed in class. They can be *anything* that has helped you so far in your journey to learn software development.
    1. Add your changes.
    1. Commit your changes with a properly formatted commit message.
    1. Push your changes to your fork.

    **This next part is not something we discussed during Session 4 and will involve some figuring out on your own.**

    1. Use the `site:help.github.com` Googling trick to search GitHub's help area to figure out how to create a pull request from a fork. It may also be helpful to figure out what `pull request` means.
    1. Open a pull request for your changes.

    - [ ] Once your pull request is open, you're done! You don't need to submit or paste anything since we will get a notification that you've opened a pull request.

    ## Task 3: Practicing Markdown (40 min)

    Create a new gist of your own by clicking the `New Gist` button in the upper right-hand corner of the screen. Create a "Beginners Guide to Git" documenting your git knowledge so far using Markdown. Incorporate each of the following features into your Gist:

    @@ -25,4 +55,6 @@ Create a new gist of your own by clicking the `New Gist` button in the upper rig
    - at least one italic word/phrase
    - at least one code block
    - at least one inline code block (greyed text)
    - at least one image
    - at least one image

    - [ ] Paste the link to your gist here:
  17. @rwarbelow rwarbelow revised this gist Jan 31, 2019. 1 changed file with 14 additions and 1 deletion.
    15 changes: 14 additions & 1 deletion mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,17 @@ To start this assignment:

    ## Task 2: Cloning a Repo on GitHub

    ## Task 3: Forking a Repo on GitHub
    ## Task 3: Forking a Repo on GitHub

    ## Task 4: Practicing Markdown

    Create a new gist of your own by clicking the `New Gist` button in the upper right-hand corner of the screen. Create a "Beginners Guide to Git" documenting your git knowledge so far using Markdown. Incorporate each of the following features into your Gist:

    - at least two headings of different sizes
    - at least one numbered list
    - at least one bullet point list
    - at least one bold word/phrase
    - at least one italic word/phrase
    - at least one code block
    - at least one inline code block (greyed text)
    - at least one image
  18. @rwarbelow rwarbelow created this gist Jan 30, 2019.
    15 changes: 15 additions & 0 deletions mod_0_session_4_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    # Session 4 Practice Tasks

    The assignments listed here should take you approximately __ total minutes.

    To start this assignment:

    1. Click the button in the upper right-hand corner that says **Fork**. This is now your copy of the document.
    1. Click the **Edit** button when you're ready to start adding your answers.
    1. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

    ## Task 1: Creating a Repo on GitHub

    ## Task 2: Cloning a Repo on GitHub

    ## Task 3: Forking a Repo on GitHub