This is how I use Mason Jars. I am lazy and do not use gas chromatography every time.
It also only makes sense to do this if you are not going to use the beans for 10+ days or you hate buying or roasting beans every couple weeks. I think you will find it is better than any other method but it is not some kind of miracle either.
1. Get some pint sized mason jars, with the two-piece lids
2. Save those little "do not eat" packets whenever you get them
3. Buy a can of nitrogen flush here:
Buy Nitrogen Spray Here4. Drop a "do not eat" desiccant packet in the bottom of the jar.
5. Fill the jar with beans
6. Insert the nozzle tube of the Wine Spray past the beans to the bottom of the jar.
7. Apply a medium spray for 5-10 seconds.
As the oxygen is purged, you will initially notice the aroma of the coffee beans with the exiting oxygen. Then, this will stop, as clean deoxygenated gas completely displaces the air in the jar.
8. Seal the jars immediately and tightly.
9. Store in any area that has minimal temperature fluctuation and exposure to light.
10. Repeat this process any time you remove beans from a jar.