Woman, 25, shares 'genius' hack for using food ruined in heatwave and social media users love it