What is the origin of the phrase "every whip and flip"?

I believe it's used in Cornwall to mean "at every opportunity" but I'm interested in how it originated. Thanks