every trick in the book
noun
Definitions
All possible knowledge of a subject matter.
Example: He was always one step ahead of me, as he seems to know every trick in the book.
All possible means, both honest and dishonest
Example: The solicitor tried every trick in the book to get me to sign the contract, but I wasn't having any of it!