* You are viewing Posts Tagged ‘propane’

Tried out Shoes

I got bored tonight and wanted to write a little script to calculate the amount of time left in my propane tank. Instead of just doing it in Ruby (or Numbers, for that matter), I figured I’d play with Shoes a little. Then I got bored, and really just spat it out and am done with it.

Anyways, for those curious or who want to calculate the time left in their propane tank, here’s the code:

PROPANE_GALLON_WEIGHT = 4.23
BTUS_PER_GALLON = 91_690

Shoes.app do
stack do
para “Let’s figure out how much time you have left in your … Continue Reading