When I meet a homeless person, I will make a conscious effort to remember to ask them their story. Upon hearing it, I will give them $5-$10 depending on the situation.
If they lost everything due to something foolish, I will buy them a cup of coffee and wish them well.