There are cities in the UK that have free vending machines for homeless people. Local shelters hand out access cards to people in need, who can use the vending machine 3 times a day to get free food, toiletries, and clothing. As long as the cardholder checks into the shelter once a week, they can keep using the machine. Source Source 2