Italian Programming Domain Filter
def check_unwanteds(self, value): result = self.whois.get_text(value) result = result.lower() if 'cloudflare' in result or 'namecheap' in result or 'amazon' in result or 'google' in result: return True return False
A Python-style function checks domain-related text, converts it to lowercase, and flags strings containing Cloudflare, Namecheap, Amazon, or Google. The joke is that the code resembles an exaggeratedly strict “Italian programming” filter that rejects anything associated with major internet companies, making it useful as an absurd developer reaction to overzealous blocking or oddly specific code. EN: A Python-style function checks domain-related text, converts it to lowercase, and flags strings containing Cloudflare, Namecheap, Amazon, or Google. The joke is that the code resembles an exaggeratedly strict “Italian programming” filter that rejects anything associated with major internet companies, making it useful as an absurd developer reaction to overzealous blocking or oddly specific code.
- @gentoomemes / 10169 2024-03-27
- Type
- image
- Size
- 794×189 · 13.8 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added