It's a social thing really. Food Not Bombs would gather food from dumpsters (more excess food than half-eaten rolls), then eat communal meals in parks along with any hungry or homeless people. Fancy restaurants throw away unused food, people are hungry and don't have much money for food, FNB puts it together for free meals once a week.
I know Food Not Bombs was doing this in Florida and had trouble with the police. It was a real all-American conflaton - hungry people lining up for free food, even if it came from dumpsters, police cars rolling up with night sticks and guns to stop this, anal-retentive upper middle class white liberals pontificating about the feeding, the discarded food from the upscale restaurants going to waste amidst the police breaking up the food lines. As American as apple pie.
We did occasionally dumpster also though, but Food Not Bombs groups have a loose guideline of serving vegan food, which is much less likely to go bad after a few hours of not being refrigerated (though the veganism is part of the ethics also)
In either case, when you are hungry, bad food is still better than no food. (unless it is so bad, that that you puke from it, but poor people usually have a strong stomach. They have to have)
I actually have not eaten from a dumpster in months.
But most dumpster food is quite safe, because it is still in packaging, or it is of the non-risky variety.
I basically wait for food to "manifest" for me to eat, and do not eat until it happens.
To "fuel" this manifesting, I practice karma yoga.
I developed this practice based on reading various teachings, finding parallels between them, and then poking about and experimenting until I found what works.
Sort of like how I learned computers...
I prayed. I typically pray in 3 parts: gratitude-forgiveness-requests, and this time was no exception. It went something like this: Thank you for [... some gratitudes ...]. Please forgive me for [... some regrettable things I've done ...]. Please help me find a banana or two to eat.
Before I pray, I typically focus on my breathing, in traditional "breath meditation" fashion. This was the beginning and the foundation of all these practices, and I started practicing breath meditation several years ago.
After prayer, I listened carefully, and I followed what one may describe as physical intuition to a place where someone had left behind the bottom of a banana nut muffin. Not quite a banana, but it did the trick.
Physical intuition is subtle, it is like when you go for a walk without a purpose, going whichever way feels most natural.
In this case, of course, I went out of my way for food, but I also went for a walk, I meditated along the way, etc. I'm not an absolutist by any means.
How did you get into this lifestyle?