To stock up on eggs when they are on sale or near their expiration date, freeze them! Just crack the eggs into a muffin tin, plastic egg crate or even ice cube trays (you can even separate whites and yolks first). Freeze until the eggs are frozen solid. Then transfer them to a Ziploc bag. They keep frozen for up to a year! After thawing you can fry them, bake them into casseroles or use them for baking and pastry.
(Photo D. Sauvage)