I try to list 10 things a day. And make them difficult. Saying "I'm thankful for my family." Well, that's easy gratitude.
When frustrated with my job, I say "I'm thankful for the income and the connections it provides."
When frustrated with neighbors I think "I am thankful to live in a house I like and there are other neighbors I like."
That's what I do.