Others are right, don't resign as crappy as it sounds. Just go into work smiling, knowing you are going to not renew your contract as the end of the year.
Have the attitude of screw-it...go your own path everyday. Do the minimum and enjoy more time at home. Just have fun now at work.