#Welcome to the Mentorship Wiki!
##Table of Contents:
Contact Info And Links
Signing Up For Shifts
Before Your Shift
During Your Shift
After Your Shift
Finding Coverage For Shifts
Giving and Receiving Feedback
#Welcome to the Mentorship Wiki!
##Table of Contents:
Contact Info And Links
Signing Up For Shifts
Before Your Shift
During Your Shift
After Your Shift
Finding Coverage For Shifts
Giving and Receiving Feedback
| // shorthand for $(document).ready(); | |
| $(function(){ | |
| //Your code... | |
| }); |
| // Shorthand for $(document).ready(); | |
| $(function(){ | |
| // Your code goes here... | |
| }); |
| /* Here is your chance to take over Socrates! | |
| Spend 10 minutes on each of the following hacks to the Socrates website. | |
| Enter them in the console to make sure it works and then save | |
| your results here. | |
| Choose a new pair for each. Add your names to the section you complete. | |
| */ |
| class Car | |
| @@WHEELS = 4 | |
| def initialize(args) | |
| @color = args[:color] | |
| @wheels = @@WHEELS | |
| end | |
| def drive | |
| @status = :driving | |
| end | |
| def brake |
| class Car | |
| @@WHEELS = 4 | |
| def initialize(args) | |
| @color = args[:color] | |
| @wheels = @@WHEELS | |
| end | |
| def drive | |
| @status = :driving | |
| end | |
| def brake |
@@WHEELS = 4
def initialize(args)
@color = args[:color]
@wheels = @@WHEELS
end
def drive
@status = :driving
end
def brake
| # A very basic Stack implemented with an array | |
| class Stack | |
| attr_reader :length, :top | |
| def initialize(size = 1) | |
| @length = size | |
| self.reset | |
| end |
| ** Instructions: ** The goal of this team based activity is to practice using Git and GitHub in a fun environment and to get comfortable with solid workflows before you are working on production code. | |
| ** Resources: ** Before beginning this activity, you should learn about Git and GitHub on your own. Here are some good resources: | |
| * One | |
| * Two | |
| ** Setup: ** | |
| * Try to complete this activity using only the console help for Git (git --help) or download a git [http://cheat.errtheblog.com/s/git/] (cheatsheet) |