How about reading a book ? I find a good book keeps my mind busy. If you don't want to read a book, do you have any hobbies ? knitting, sewing, painting, drawing, writing a blog, stamp collecting, scrap booking... are all great things you can do to keep you away from the kitchen. When your mind and fingers are busy, you won't think about food.
Also, you could go to bed a bit earlier than 10-11pm if nothing is going on in particular.