Skip to content

Instantly share code, notes, and snippets.

View Dheirya's full-sized avatar
🍌
I am bananas

Dheirya Tyagi Dheirya

🍌
I am bananas
View GitHub Profile
@Dheirya
Dheirya / emailvalidator.py
Created June 11, 2022 17:13
Python Spam Email Validator
import urllib.request
def is_disposable_email(email: str) -> bool:
e = email.split('@')[-1]
for ln in urllib.request.urlopen("https://disposable.github.io/disposable-email-domains/domains.txt"):
if ln.decode('utf-8').strip() == e:
return True
return False

setting up keyboard controls in recalbox via ssh

  1. plug in keyboard
  2. default controls are
    • arrow keys
    • "start" for menu
    • "a" for select
    • "s" for back
  3. set up network / wifi in the menu, you can see your ip there
  4. ssh root@YOUR_IP, the default password is recalboxroot