"If life gives you lemons, make lemonade", which philosophy is this?

Mary Prankster, Lemonade

A pragmatic (2nd def.) application of the stoic outlook, perhaps?