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
@viperadnan-git
viperadnan-git / docker-install-ubuntu.sh
Created August 30, 2024 09:53
Install Docker on Ubuntu
# https://docs.docker.com/engine/install/ubuntu/
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
@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', '[email protected]')
  • To delete all unread email, replace line 10 with typ, data = box.search(None, 'UnSeen') or set value of query to UnSeen`