Skip to content

Commit

Permalink
pre-commit badge added
Browse files Browse the repository at this point in the history
  • Loading branch information
rsb-23 committed Jul 11, 2024
1 parent bfde2e6 commit f71bbd8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pre-commit.yml
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]
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.idea/
*.log
*.bak
*.yml
cred*.yml
emails.py
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
# 1page-automation

[![pre-commit](https://github.com/rsb-23/1page-automation/actions/workflows/pre-commit.yml/badge.svg)](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.

0 comments on commit f71bbd8

Please sign in to comment.