Birds like to peck through irrigation tubing, in search of water. This leaves holes that can often (until the tube is riddled with them) be fixed with aptly named "goof plugs." I went out a little while ago, in strong winds, to plug some recent holes. Because of the wind, I didn't wear a hat.
Trouble was, these holes were under some pine trees. When I got back inside, because I had been so windblown, I washed my hands and then tried to run a brush through my hair, to no avail. I had somehow got a clump of pine sap (or resin) in my hair, and it was quickly hardening there.
I turned to the interwebs, where I found various pieces of advice. One common one was to apply oily peanut butter, and soften it with a hair dryer. Not owning a hair dryer, that was out, and the whole peanut butter thing sounded a little gooey. A more appealing option was olive oil. I took off my shirt, put a little olive oil on my fingers, and rubbed it on the spot, then combed it out. The sap was entirely gone. A quick afternoon shower did the same for the olive oil (I hope--my hair is not yet dry as I type this). But if it smells like olive oil for a day or two... well, could be worse. Toss in some garlic and rosemary and I'll be ready for a meal!
Another bit of advice offered was to treat the sap quickly, before it hardens fully. So if you get sap in your hair, don't go looking up advice--just remember nature's miracle substance, olive oil, and you're all set.