Skip to content

Commit a5a44ad

Browse files
committed
Updated README links to point to the correct folders
1 parent fed8b49 commit a5a44ad

File tree

4 files changed

+104
-75
lines changed

4 files changed

+104
-75
lines changed

Get Hexcodes From Websites/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This tools allows you to get a python list formated colors.txt file containing most of the colors(*Hexcodes*) that the website had.
2-
3-
To use the tool you will need to import bs4 library by doing
1+
This tools allows you to get a python list formated colors.txt file containing most of the colors(*Hexcodes*) that the website had.
2+
3+
To use the tool you will need to import bs4 library by doing
44
*pip install bs4*
+15-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
Image-Manipulation-using-Python-without-external-libraries
2-
---
3-
Image manipulation techniques in Python without using external libraries like OpenCV, Pillow, etc
4-
5-
Includes the following manipulations:
6-
7-
- Channel-wise Addition
8-
- Invert Colors
9-
- Mirror Vertical
10-
- Mirror Horizontal
11-
- Blur(2 methods)
12-
- Resize
13-
- Lightness
14-
- Brightness
15-
- Contrast
1+
Image-Manipulation-using-Python-without-external-libraries
2+
---
3+
Image manipulation techniques in Python without using external libraries like OpenCV, Pillow, etc
4+
5+
Includes the following manipulations:
6+
7+
- Channel-wise Addition
8+
- Invert Colors
9+
- Mirror Vertical
10+
- Mirror Horizontal
11+
- Blur(2 methods)
12+
- Resize
13+
- Lightness
14+
- Brightness
15+
- Contrast

Password Manager/README.MD

+57-57
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
1-
# Password Manager
2-
3-
## Usage
4-
Run the pwd_mgmr.py file and you will be prompted for the rest of the required inputs
5-
6-
### Getting Started:
7-
1. Select Option (1) Create a new key that will be used to encrypt your password file.
8-
2. Select Option (3) Create a new password file that will be used to hold your encrypted passwords.
9-
3. Select Option (5) Add a new password to the password file. \n
10-
11-
### Retrieving or Adding Passords:
12-
1. Select Option (2) Load the existing key so it can be used to encrypt new passwords or retrieve passwords from the password file.
13-
2. Select Option (4) Load the existing password file so it can be used to add or retrieve passwords.
14-
3. Select Option (5) Add a new password to the password file.
15-
4. Select Option (6) Retrieve a password for a site.
16-
17-
## Example
18-
19-
What would you like to do?
20-
(1) Create a new key
21-
(2) Load an existing key
22-
(3) Create new password file
23-
(4) Load existing password file
24-
(5) Add a new password
25-
(6) Get a password for a site
26-
(7) Get the list of sites
27-
(m) Menu
28-
(h) Help
29-
(q) Quit
30-
Enter your choice: h
31-
Getting Started:
32-
1. Select Option (1) Create a new key that will be used to encrypt your password file.
33-
2. Select Option (3) Create a new password file that will be used to hold your encrypted passwords.
34-
3. Select Option (5) Add a new password to the password file.
35-
36-
Retrieving or Adding Passords:
37-
1. Select Option (2) Load the existing key so it can be used to encrypt new passwords or retrieve passwords from the password file.
38-
2. Select Option (4) Load the existing password file so it can be used to add or retrieve passwords.
39-
3a. Select Option (5) Add a new password to the password file.
40-
3b. Select Option (6) Retrieve a password for a site.
41-
Enter your choice: 1
42-
Invalid Choice!
43-
Enter your choice: 1
44-
Enter the path: C:\pwds\mykey.key
45-
Enter your choice: 3
46-
Enter the path: C:\pwds\pwds.pass
47-
Enter your choice: 5
48-
Enter the site: facebook
49-
Enter the password: password123
50-
Enter your choice: 6
51-
What site do you want: facebook
52-
password123
53-
Enter your choice: 7
54-
List of Sites:
55-
facebook
56-
Enter your choice: q
57-
Bye!
1+
# Password Manager
2+
3+
## Usage
4+
Run the pwd_mgmr.py file and you will be prompted for the rest of the required inputs
5+
6+
### Getting Started:
7+
1. Select Option (1) Create a new key that will be used to encrypt your password file.
8+
2. Select Option (3) Create a new password file that will be used to hold your encrypted passwords.
9+
3. Select Option (5) Add a new password to the password file. \n
10+
11+
### Retrieving or Adding Passords:
12+
1. Select Option (2) Load the existing key so it can be used to encrypt new passwords or retrieve passwords from the password file.
13+
2. Select Option (4) Load the existing password file so it can be used to add or retrieve passwords.
14+
3. Select Option (5) Add a new password to the password file.
15+
4. Select Option (6) Retrieve a password for a site.
16+
17+
## Example
18+
19+
What would you like to do?
20+
(1) Create a new key
21+
(2) Load an existing key
22+
(3) Create new password file
23+
(4) Load existing password file
24+
(5) Add a new password
25+
(6) Get a password for a site
26+
(7) Get the list of sites
27+
(m) Menu
28+
(h) Help
29+
(q) Quit
30+
Enter your choice: h
31+
Getting Started:
32+
1. Select Option (1) Create a new key that will be used to encrypt your password file.
33+
2. Select Option (3) Create a new password file that will be used to hold your encrypted passwords.
34+
3. Select Option (5) Add a new password to the password file.
35+
36+
Retrieving or Adding Passords:
37+
1. Select Option (2) Load the existing key so it can be used to encrypt new passwords or retrieve passwords from the password file.
38+
2. Select Option (4) Load the existing password file so it can be used to add or retrieve passwords.
39+
3a. Select Option (5) Add a new password to the password file.
40+
3b. Select Option (6) Retrieve a password for a site.
41+
Enter your choice: 1
42+
Invalid Choice!
43+
Enter your choice: 1
44+
Enter the path: C:\pwds\mykey.key
45+
Enter your choice: 3
46+
Enter the path: C:\pwds\pwds.pass
47+
Enter your choice: 5
48+
Enter the site: facebook
49+
Enter the password: password123
50+
Enter your choice: 6
51+
What site do you want: facebook
52+
password123
53+
Enter your choice: 7
54+
List of Sites:
55+
facebook
56+
Enter your choice: q
57+
Bye!

update_readmes.py

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import os
2+
3+
def update_links(readme_path):
4+
try:
5+
with open(readme_path, 'r') as file:
6+
content = file.read()
7+
8+
# Example update: replace 'old-link' with 'new-link'
9+
updated_content = content.replace('old-link', 'new-link')
10+
11+
with open(readme_path, 'w') as file:
12+
file.write(updated_content)
13+
14+
print(f"Updated {readme_path}")
15+
except Exception as e:
16+
print(f"Failed to update {readme_path}: {e}")
17+
18+
def find_and_update_readmes(root_dir):
19+
for root, dirs, files in os.walk(root_dir):
20+
for file in files:
21+
if file.lower() == 'readme.md':
22+
file_path = os.path.join(root, file)
23+
update_links(file_path)
24+
25+
if __name__ == "__main__":
26+
root_directory = '.' # Update this to your repo's root directory if necessary
27+
find_and_update_readmes(root_directory)
28+
29+

0 commit comments

Comments
 (0)