Jump to content

UnixDevel

Active Members
  • Posts

    1401
  • Joined

  • Last visited

  • Days Won

    22

UnixDevel last won the day on May 3

UnixDevel had the most liked content!

Reputation

216 Excellent

1 Follower

About UnixDevel

  • Rank
    Registered user
    Collaborator

Contact Methods

  • Website URL
    https://lzomedia.com

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

11102 profile views
  1. UnixDevel

    intrebare

    AM o lista de emailuri ( gen example@example.com) si o lista destul de marisoara ( undeva la 10k) nu vreau sa imi stric repul la email def validate_email(email): try: domain = email.split('@')[1] # Check if the domain name is a public email provider if domain in ['gmail.com', 'yahoo.com', 'hotmail.com', 'aol.com']: # Open a new CSV file for writing the email addresses for this domain with open(f'{domain}.csv', 'a') as outfile: # Write the email address to the appropriate CSV file outfile.write(f'{email}\n') return f"{email} exists" else: # Resolve the MX records for the email address domain mx_records = dns.resolver.resolve(domain, 'MX') # Sort the MX records by priority mx_records = sorted(mx_records, key=lambda x: x.preference) # Loop through each MX record and try to connect to it for mx in mx_records: try: # Connect to the SMTP server smtp_conn = smtplib.SMTP(host=str(mx.exchange), port=25, timeout=5) # Send a HELO command smtp_conn.ehlo() # Send a MAIL FROM command smtp_conn.mail('cornatul@apple.com') # Send a RCPT TO command for the email address status, _ = smtp_conn.rcpt(email) # Check if the email address was accepted by the SMTP server if status == 250: return f"{email} exists" except: # Print an error message if there was a problem connecting to the SMTP server continue finally: # Close the SMTP connection smtp_conn.quit() else: return f"{email} does not exist" except: return f"Could not validate {email}" Intrebarea la ce risc ma expun nu vreau sa intru in probleme cu isp-ul
  2. cine va face aplicatia va trebui sa se gandeasca la cum se va misca camera si cine va putea sa miste camera , pentru ca daca ai 10 tipi unul misca sus altul jos , o sa fuga camera in vacanta
  3. cam piperat pretul, un 1080p pe usb pentru proiectul lor cred ca face mai mut sens. Sunt curios ce solutie or sa aleaga.
  4. sau un raspberry pi cu o camera usb, cred ca e cea mai buna optiune , mai ales ca il poti alimenta de pe o baterie si il poti conecta si la internet prin telefon
  5. Eu acum l-am descoperit doxbin.com
  6. ce vrei sa facit tu ? ( Big brother ) Depinde , camerele suporta api ? ( Daca nu, va fi complicat) Zi ce buget ai ?
  7. eu nu inteleg oamenii care nu folosesc raspberry pi sau intel noc
  8. Banuiesc ca de aici vine https://www.curteaveche.ro/index.php?route=product/manufacturer/info&manufacturer_id=1714
  9. nu stiu ce au pus dar tot poti sa postezi de nebun
  10. ai un exemplu unde este acel endpoint ? din documentatie
  11. Tare mi-e frica ca acel ednpoint nu face nimic. Il pinguiesc de dimineata cu aceeasi intrebare si nu pare sa se schimbe nimic. oricum va fi tare cand ii vor da drumu la comunicare,
  12. da tocmai asta e si amuzant
×
×
  • Create New...