How to cheat/hack vending machines?

Do you know that you can cheat/hack a certain type of vending machine with a dollar that is torn in one corner, allowing you to get free chi...