This is a short written guide accompanied by gifs – the one that got me was: 5. If you must travel with it, know how to safely pack your gun!
See also LifeHacker for additional information – How to Avoid Getting Flagged By the TSA – Having never traveled with coffee beans I found this advice…interesting…”Although there are no rules against packing coffee powder or beans in your luggage, you may want to avoid doing so, as this can get you flagged by security due to coffee being used to cover up the smell of other illicit substances…”