FILE = File.join(File.dirname(__FILE__), '..', 'activity_exercise_sport.csv') WEIGHTS = [130, 155, 180, 205] ...
Ruby CSV to hash
sum = 0
self.items.each { |item| sum += item.fragments.count }
...
Ruby Calculate sum of items in a...
I'm pretty sure I'm not doi...
#1/bin/bash PKG_MANAGER="paludis" ...
Bash Big and Ugly Associative Ar...
Working on a script, took o...
The part where weight_calor...