-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: pre-commit | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.10 | ||
- uses: pre-commit/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.idea/ | ||
*.log | ||
*.bak | ||
*.yml | ||
cred*.yml | ||
emails.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
# 1page-automation | ||
|
||
[](https://github.com/rsb-23/1page-automation/actions/workflows/pre-commit.yml) | ||
|
||
This repository contains small automation scripts for day-to-day tasks. | ||
Technology Used : Python and Selenium | ||
|
||
## Content | ||
|
||
1. leetcode_dcc.py - To retrieve old submission of LeetCode Daily Coding Challenge and resubmit. | ||
|
||
1. To optimize privacy settings of your Social Media accounts. | ||
2. To optimize privacy settings of your Social Media accounts. | ||
- [Facebook](secureFB.py) | ||
- [Instagram](secureIG.py) | ||
- [LinkedIn](secureLI.py) | ||
|
||
## Setup | ||
|
||
1. Clone/ Download this repo. | ||
1. Download and install latest web-browser & its compatible webdriver (like Chrome.exe and ChromeDriver.exe) for execution. | ||
2. Download and install latest web-browser & its compatible webdriver (like Chrome.exe and ChromeDriver.exe) for execution. | ||
:warning: Issue with Chrome & Chromedriver version 103, use v104 instead | ||
1. Setup a python virtual environment and run | ||
3. Setup a python virtual environment and run | ||
`pip install -r requirements.txt` | ||
1. Update binary location (line-29) and driver-path (line-30) of securer.py | ||
1. Add your accounts' username and passwords in `cred.yml` file. | ||
1. Run the script. | ||
4. Update binary location (line-29) and driver-path (line-30) of securer.py | ||
5. Add your accounts' username and passwords in `cred.yml` file. | ||
6. Run the script. |