Skip to content

Instantly share code, notes, and snippets.

View OshekharO's full-sized avatar
:electron:
Open Source Contributor

Saksham Shekher OshekharO

:electron:
Open Source Contributor
View GitHub Profile
@OshekharO
OshekharO / ublock.txt
Last active June 28, 2024 18:46
Adblock Rules For Ublock Origin
! Title: Adhock Special List
! Homepage: https://github.com/OshekharO
! by: Saksham Shekher
||jiusudie.com^
||bytecdntp.com^
||h2wtja8bjqzu.xyz^
||kspl48j.xyz^
||soza57e.xyz^
||kyuhcmok92yc.xyz^
@OshekharO
OshekharO / calc.py
Created June 14, 2024 07:08
Basic python script for performing addition, subtraction, multiplication, percentage calculation, and division
def add(x, y):
"""Returns the sum of x and y."""
return x + y
def subtract(x, y):
"""Returns the difference of x and y."""
return x - y
def multiply(x, y):
"""Returns the product of x and y."""
@OshekharO
OshekharO / mail.py
Created June 14, 2024 06:57
Python script that you can use to send emails to multiple recipients using Gmail SMTP
import smtplib
from email.mime.text import MIMEText
# Replace these with your details
sender_email = "your_email@gmail.com"
sender_password = "your_password"
recipient_emails = ["xyz@gmail.com", "yzx@gmail.com", "zxy@gmail.com"]
subject = "Human Resource Executive Position - [Your Name]" # Personalized subject line
# Body content with placeholder for hiring manager name