The only things I avoid throwing on are oils and cheeses. If you have meat eaters in the house, don't put any of that in. Cooked vegetables, pasta, rice are fine. If you get smelly compost, you are putting the wrong things in.
I have a compost pile and a compost bin. The bin gets more food items (anything thats rotten out of my garden or falls and smashed, fruit peels, scraps from vegetables, coffee grounds, ect) they both get pine needles, leaves, grass clippings, ect.
We have a compost pile and put pretty much the same things the posters have mentioned - all fruit and veggie scraps, coffee grounds, plant leaves/trimmings, and egg shells (the rest of my family eats them). We don't usually put things like beans, pasta, bread, etc. just because I am afraid it is going to smell too much.
I've been told that cooked food attracts rats - so we put chicken wire on the floor and put the compost bins on top of that. I put in pretty much everything thats 'fresh'. Cooked potatoes go in (skins etc), toast does as well. I do put brown cardboard in after I found that straight grass clippings go slimy without the extra carbon.
Daily diggings made a enormous difference - the temperature of the compost got really quite hot and stuff broke down very fast indeed. This was the summer though.
Weirdest thing I've found to go in was Quality Street wrappers - the box pronounces them as compostable - not the foil bit - but it was nice to see information like this on the side of a packet.