Wozniak says he and Steve Jobs used to pull a lot of pranks back in the day. For example, when they were building "blue boxes," devices which allowed people to make long-distance phone calls for free, Wozniak rang up the Vatican, saying he was Secretary of State Henry Kissinger calling on behalf of President Richard Nixon. And Jobs says it was a high school prank — one in which they rigged a sign that gave the graduating class the finger — that sealed his friendship with Wozniak.
"That keeps you happy," Wozniak tells Squawk Box.
The other part of the formula is just as important: Avoid frowns. "Don't be bothered when things don't go your way," Wozniak explains. "Just think out how to be constructive."
That advice sounds a lot like "Option B" co-author Adam Grant's theory of resilience. "I don't think there's any skill more critical for success," Grant tells CNBC.
"I think about resilience as the speed and strength of your response to adversity. So when you encounter a difficulty, a hardship, a challenge, how quickly and how effectively are you able to marshal strength and either overcome that challenge or persevere in the face of it?"
Wozniak says he's particularly good at this: "Don't waste your time blaming people and being all upset, because those feelings destroy your psychology."
Don't miss: The first project Steve Jobs and Steve Wozniak worked on was a high school prank