Skip to content

Instantly share code, notes, and snippets.

@nicolasleander
Created August 22, 2023 12:02
Show Gist options
  • Save nicolasleander/ba0eb1626d931cd31c111f45e58115a8 to your computer and use it in GitHub Desktop.
Save nicolasleander/ba0eb1626d931cd31c111f45e58115a8 to your computer and use it in GitHub Desktop.
@month = "M4"
@base = {
overhead: 66,
bench: 113,
squat: 130,
deadlift: 160
}
def c(p,s,b = @base)
(p * b[s]).round
end
puts "#{@month}W1"
puts "D1 Overhead #{c 0.65, :overhead} x5 #{c 0.75, :overhead} x5 #{c 0.85, :overhead} x5+"
puts "D2 Squat #{c 0.65, :squat} x5 #{c 0.75, :squat} x5 #{c 0.85, :squat} x5+"
puts "D3 Bench #{c 0.65, :bench} x5 #{c 0.75, :bench} x5 #{c 0.85, :bench} x5+"
puts "D4 Deadlift #{c 0.65, :deadlift} x5 #{c 0.75, :deadlift} x5 #{c 0.85, :deadlift} x5+"
puts "\n"
puts "#{@month}W2"
puts "D1 Overhead #{c 0.70, :overhead} x3 #{c 0.80, :overhead} x3 #{c 0.90, :overhead} x3+"
puts "D2 Squat #{c 0.70, :squat} x3 #{c 0.80, :squat} x3 #{c 0.90, :squat} x3+"
puts "D3 Bench #{c 0.70, :bench} x3 #{c 0.80, :bench} x3 #{c 0.90, :bench} x3+"
puts "D4 Deadlift #{c 0.70, :deadlift} x3 #{c 0.80, :deadlift} x3 #{c 0.90, :deadlift} x3+"
puts "\n"
puts "#{@month}W3"
puts "D1 Overhead #{c 0.75, :overhead} x5 #{c 0.85, :overhead} x3 #{c 0.95, :overhead} x1+"
puts "D2 Squat #{c 0.75, :squat} x5 #{c 0.85, :squat} x3 #{c 0.95, :squat} x1+"
puts "D3 Bench #{c 0.75, :bench} x5 #{c 0.85, :bench} x3 #{c 0.95, :bench} x1+"
puts "D4 Deadlift #{c 0.75, :deadlift} x5 #{c 0.85, :deadlift} x3 #{c 0.95, :deadlift} x1+"
puts "\n"
puts "#{@month}W4"
puts "D1 Overhead #{c 0.40, :overhead} x5 #{c 0.50, :overhead} x5 #{c 0.60, :overhead} x5+"
puts "D2 Squat #{c 0.40, :squat} x5 #{c 0.50, :squat} x5 #{c 0.60, :squat} x5+"
puts "D3 Bench #{c 0.40, :bench} x5 #{c 0.50, :bench} x5 #{c 0.60, :bench} x5+"
puts "D4 Deadlift #{c 0.40, :deadlift} x5 #{c 0.50, :deadlift} x5 #{c 0.60, :deadlift} x5+"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment