Dude Listen, you don't need to go through the bins for food.
Firstly, I've been in the same situation years ago, and learned eventually about how to do this shit properly. Now you're in spain, so you have as much free food as you can shake a stick at. Ask people where the local Caritas is...