Skip to content

Instantly share code, notes, and snippets.

import time
import csv
import random
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException
from webdriver_manager.chrome import ChromeDriverManager
download zen and extract in ~
nano ~/.local/share/applications/zen.desktop
[Desktop Entry]
Version=1.0
Name=Zen Browser
Comment=Experience tranquillity while browsing the web without people tracking you!
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer
Exec=/home/abhitruechamp/zen/zen
Terminal=false
@abhitrueprogrammer
abhitrueprogrammer / gh.sh
Last active May 17, 2025 05:35
github Current flow
git config --global user.name "Your Name"
git config --global user.email "yourname@example.com"
git config --global init.defaultBranch main
ssh-keygen -t ed25519 -C <youremail>
cat ~/.ssh/id_ed25519.pub
#copy the whole output
#Add SSH key to github [https://github.com/settings/keys]
existing:
git clone git@github.com:USER-NAME/REPOSITORY-NAME.git
---
git branch <branch_name> -> Create branchname
git checkout <branch_name> -> Checkout branchname
git branch -> list branches
git merge <branch_name> -> Merge branch with main
git branch -d <branch_name> -> Delete branched merged into main
@abhitrueprogrammer
abhitrueprogrammer / git.sh
Last active October 20, 2024 07:41
Guide to setting up github
git config --global user.name "Your Name"
git config --global user.email "yourname@example.com"
git config --global init.defaultBranch main
ssh-keygen -t ed25519 -C <youremail>
cat ~/.ssh/id_ed25519.pub
#copy the whole output
#Add SSH key to github [https://github.com/settings/keys]
#Copy your repo's SSH url.
git clone git@github.com:USER-NAME/REPOSITORY-NAME.git