I saw on Twitter that filling a ziplock bag with water and a few coins and hanging it in a doorway/placing it on the doorstep will keep flies out. It seemed such a bizarre suggestion that I thought I would try it and can confirm it works. I've also hung one near the bins and there hasn't been any flies around for a week.
Are there any other tips that I should know?