Created
May 24, 2014 02:31
-
-
Save notionparallax/06b0a47db36f58e804a4 to your computer and use it in GitHub Desktop.
This is a very quick go at trying to use ruby syntax to describe crossfit workouts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def fran() | |
for i in [21,15,9] | |
thruster(weight:40.kg, reps:i) | |
pull-up(reps:i) | |
end | |
end | |
def ‘Sixty Sixes'() | |
notes = "In 3’s (pair up otherwise, no 4’s)" | |
type="AMRAP" | |
while clock<26.minutes do | |
WallBall(reps:60) | |
Burpee( reps:60) | |
S2OH( reps:60, weight:{boys:43.kg, girls:30.kg}) | |
KBswing( reps:60, weight:{boys:32.kg, girls:24.kg}) | |
T2B( reps:60) | |
plate_carry(distance:200.m, weight:20.kg, note:"one plate each, all carry together") | |
end | |
end | |
session(date) | |
def strength() | |
notes = "Build to something heavy/maximal" | |
for i in 0..4 | |
clean_and_jerk(reps:1, weight:record()) | |
wait.until(1.minute) | |
end | |
for i in 0..4 | |
clean_and_jerk(reps:1, weight:record()) | |
wait.until(2.minute) | |
end | |
end | |
def Conditioning(strengthResult) | |
working_weight = strengthResult * 0.6 | |
for i in 0..15 | |
if i%3 == 1 | |
hangPC(reps:3, weight:working_weight) | |
elsif i%3 == 2 | |
S2OH(reps:3, weight:working_weight) | |
else | |
clean_and_jerk(reps:3, weight:working_weight) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment