Skip to content

Instantly share code, notes, and snippets.

View viperadnan-git's full-sized avatar
🧠
Installing AI in my Brain

Adnan Ahmad viperadnan-git

🧠
Installing AI in my Brain
View GitHub Profile
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
@viperadnan-git
viperadnan-git / README.md
Last active September 5, 2022 12:16
Delete Junk Email from GMail in Bulk

Delete Junk Emails from you Gmail Account easily with python.

Generate Mail App Password
Configure What to delete
  • Default it will delete all email which contains Custom String in subject. Change it in line 5.
  • To delete all email from a specific sender, replace line 10 with typ, data = box.search(None, 'from', 'specific@sender.email')
  • To delete all unread email, replace line 10 with typ, data = box.search(None, 'UnSeen') or set value of query to UnSeen`