When I feel stuck (due to being unable to code something nor do math homework) I often put on my headphones, turn on my favorite song then chew some peppermint-flavored gums and at the same time continue working on the problem inside my head. The music keeps me focused while the gums enables my mind to think clearer.
Thanks to this weird hobby I was able to solve lots of difficult math problems and create some awesome spells for the campaign