First here are some fun general facts on getting your mood better!
Smile. It’s cheesy, but apparently it’s true: The act of smiling really can turn a frown upside down.
Drastically shorten your debugging time
Jump around. Get happy-making endorphins pumping fast with some jumping jacks, jump rope, or random flailing around (hey, no judgment here) .
Sniff certain scents. Inhaling the scent of orange (or essential orange oil) or lavender can reduce anxiety and improve mood.
Spend WAY more time planning not glued on your screen!
Chew gum. The repetitive action of gnawing on gum can promote relaxation and reduce anxiety and stress .
Increase code reviews and code quality
Ogle (or buy) some flowers. Studies find flowers provide an instant—and lasting—mood boost. Bonus: they can also make us more productive.
Eat some chocolate.As if we needed a reason other than delicious.Eating chocolate can make us feel happy
Manage Your Time
sleep!
Don't chase your tail. The very minute you realize that nothing you're doing is working--stop working. Stop thinking. Go out. Walk around
Count your blessings. Think about or write down what you’re thankful for. Even if there’s not time to write down everything, expressing gratitude creates an instant mood boost.
Achieve a goal. Even small successes can have big mood payoffs. Toss a crumpled ball of paper into the trash can Michael Jordan style, win a game of Solitaire, pick up a pencil off the floor using only your toes—in moments you’ll be basking in the glory of accomplishment.