Gambling is almost entirely illegal in Brazil, but it's not clear if this applies to online gambling because it's never been pushed in court. 2. GreenTube. GitHub Gist: instantly share code, notes, and snippets.