If there is no more effective remedy for anger and impatience, he has surely benefited greatly who has so learned to meditate upon God's providence that he can always recall his mind to this point: the Lord has willed it; therefore it must be borne, not only because one may not contend against it, but also because he wills nothing but what is just and expedient.
To sum this up: when we are unjustly wounded by men, let us overlook their wickedness (which would but worsen our pain and sharpen our minds to revenge), remember to mount up to God, and learn to believe for certain that whatever our enemy has wickedly committed against us was permitted and sent by God's just dispensation. (Institutes 1.17.8)
As you read over the quotation about patience, remember that it applies to parenting too, as we can often be "unjustly wounded" by our children.
It may also help to remember that Calvin struggled with outbursts of anger his whole life.