Useless code snippets to learn Ruby and other languages