A term that is similar to "going with the flow". The main difference being that "stroking the cat" has a more positive optimistic outlook on things due to the cats tail becoming erect when stroked on the back.
"Ahh man, I hated waking up at stupid o'clock this morning" - Ginger
"I bet, but just remember, You Just Gotta Stroke The Cat!" - P
"Genius" - Ginger