Your friend: "Last night I lost everything. My girlfriend dumped me, I lost my job and I'm starting to lose my grip on reality. What should I do, man?"
A theatre term: An insertion of a small prop during a scene involving some kind of roll to stay out of view of the audience. Said roll does not have to be a barrel roll, but most usually is. Usually referred to by acronym; LBR
Famous line in gaming culture, originating in the Star Fox franchise. The line is commonly associated with the character "Peppy", due to his tendency to instruct the player to perform the maneuver, commonly when a scripted ambush or similar event is occurring. Due to his insistence upon suggesting that Fox "Do a barrel roll!" in so many situations, it has come to be parodied as a panacea for all problems.
In the context of the Star Fox franchise: "Fox, it's an ambush! Do a barrel roll!"
In the context of internet communication: "I can't finish the last level of the campaign! Any tips?" "Do a barrel roll."