Using mini tubes lined throughout a vest or hat for example. So you could simply turn it inside out for the desired effect of heating or cooling the unfortunate gentleman working in harsh conditions. Also utilizing flexible solar cells and batteries for the long-term effects of such desired function? A Peltier thermoelectric module is typically something you can find in a computer used to cool the cpu/gpu. It uses low voltage direct current to create a refrigeration effect on the cold side while it creates heat on the conductive side. You could also use temperature variations to create electricity from such modules. Simplest of which applying is fire to the conductive side among other ways