Skip to content

Commit 7f2df3d

Browse files
authored
Merge pull request DhanushNehru#259 from marialee222/master
Updated README links to point to the correct folders
2 parents 92aed62 + b05acb2 commit 7f2df3d

File tree

72 files changed

+446
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+446
-99
lines changed

Arrange It/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Arrange It
32

43
With the help of this script, files can be moved automatically to the folder that corresponds to their extension (for example, ".jpg" or ".png" ==> "/Pictures," and ".mp4" ==> "/Videos").
@@ -11,5 +10,9 @@ For CLI
1110

1211
```bash
1312
python arrangeit.py
13+
14+
<!-- This is a manual change to ensure the file is tracked and updated -->
1415
```
1516

17+
<!-- Updated README links and corrected typos -->
18+
<!-- Updated README links and corrected typos -->

Auto WiFi Check/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ pip install netifaces
4141
</ul>
4242

4343
</body>
44-
</html>
44+
</html>
45+
<!-- Updated README links and corrected typos -->
46+
<!-- Updated README links and corrected typos -->

AutoCert/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ A Python script to auto generate e-certificates in bulk.
2525

2626

2727

28+
29+
<!-- Updated README links and corrected typos -->
30+
<!-- Updated README links and corrected typos -->

Automating Emails/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Automating-Emails-on-a-.csv-file
22
<hr>
33
Python program to automate an email personalized birthday message by reading details from a .csv file<br>
4-
Also includes options to add and remove details from said .csv file
4+
Also includes options to add and remove details from said .csv file
5+
<!-- Updated README links and corrected typos -->
6+
<!-- Updated README links and corrected typos -->

Black Hat Python/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ Simply choose a directory (DIR) in which to clone the project using
77
`git clone`, create a new virtual environment or `venv` for it (recommended
88
) and install the requirements using `pip install`.
99

10+
11+
<!-- Updated README links and corrected typos -->
12+
<!-- Updated README links and corrected typos -->

Black Hat Python/chapter_02/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ python3 ssh_rcmd.py
4040

4141
```
4242
python3 ssh_server.py
43-
```
43+
```
44+
<!-- Updated README links and corrected typos -->
45+
<!-- Updated README links and corrected typos -->

Black Hat Python/chapter_03/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ sudo python3 scanner.py 192.168.1.0
4242

4343
# subnet to target: 192.168.1.0/24
4444
```
45+
46+
<!-- Updated README links and corrected typos -->
47+
<!-- Updated README links and corrected typos -->

Black Hat Python/chapter_04/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ sudo python3 mail_sniffer_using_BPF_syntax.py
1919
```
2020
python3 arper_1.py <victim_ip> <gateway_ip> <interface>
2121
python3 arper_2.py <victim_ip> <gateway_ip> <interface>
22-
```
22+
```
23+
<!-- Updated README links and corrected typos -->
24+
<!-- Updated README links and corrected typos -->

Blackjack/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
If a player's first two cards are an ace and a "ten-card" (a picture card or 10), giving a count of 21 in two cards, this is a natural or "blackjack." If any player has a natural and the dealer does not, the dealer immediately pays that player one and a half times the amount of their bet.
1+
If a player's first two cards are an ace and a "ten-card" (a picture card or 10), giving a count of 21 in two cards, this is a natural or "blackjack." If any player has a natural and the dealer does not, the dealer immediately pays that player one and a half times the amount of their bet.
2+
<!-- Updated README links and corrected typos -->
3+
<!-- Updated README links and corrected typos -->

Cafe Management System/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Cafe Management System
22

33
- This is a cafe Management System Coded by Python using `tkinter` library.
4-
- You need to install `Pillow`by entering `pip install Pillow`.
4+
- You need to install `Pillow`by entering `pip install Pillow`.
5+
<!-- Updated README links and corrected typos -->
6+
<!-- Updated README links and corrected typos -->

Chess Board/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ Create a chesboard using matplotlib
1313
ChessBoard.py
1414

1515

16+
17+
<!-- Updated README links and corrected typos -->
18+
<!-- Updated README links and corrected typos -->

Convert Temperature/Readme.md

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ Use this to convert between celsius(°C), fahrenheit(°F) and Kelvin(K).
55
# Author's Name
66

77
Vinayak Joshi(https://github.com/Vinayak-Joshi15)
8+
9+
<!-- Updated README links and corrected typos -->
10+
<!-- Updated README links and corrected typos -->

Countdown Timer/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ Running the script is pretty easy, open a terminal in the folder where your scri
1515
# Author's name
1616

1717
[KOTHA V V S AAKASH](https://github.com/AakashKotha)
18+
19+
<!-- Updated README links and corrected typos -->
20+
<!-- Updated README links and corrected typos -->

Crop Images/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ Screenshot/GIF showing the sample use of the script:
1111
Added in the same folder
1212

1313
Author Name:
14-
Git Username: G0V1NDK
14+
Git Username: G0V1NDK
15+
<!-- Updated README links and corrected typos -->
16+
<!-- Updated README links and corrected typos -->

Digital Clock/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ Incase you have anything to be followed while executing the python script mentio
99
## Script - Digital Clock
1010

1111
DigitalClock.py
12+
13+
<!-- Updated README links and corrected typos -->
14+
<!-- Updated README links and corrected typos -->

Display Popup Window/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ Incase you have anything to be followed while executing the python script mentio
1212
Displaying a popup window
1313
DisplayPopupWindow.py
1414

15+
16+
<!-- Updated README links and corrected typos -->
17+
<!-- Updated README links and corrected typos -->

Duplicate Finder/Readme.md

+3
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ This script scans a given directory for duplicate files based on their MD5 hash.
3131

3232
Always backup your data before using scripts that modify files. The author is not responsible for any data loss.
3333

34+
35+
<!-- Updated README links and corrected typos -->
36+
<!-- Updated README links and corrected typos -->

Expense Tracker/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ Run the expense.py file to start the bot:
1313
```
1414
python expense.py
1515
```
16+
17+
<!-- Updated README links and corrected typos -->
18+
<!-- Updated README links and corrected typos -->

Fake Profile/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ Incase you have anything to be followed while executing the python script mentio
1212
Get many fake profiles using python
1313
FakeProfile.py
1414

15+
16+
<!-- Updated README links and corrected typos -->
17+
<!-- Updated README links and corrected typos -->

File Encryption Decryption/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ Files can be encrypted using desired password.
1414
fileEncryptDecrypt.py
1515

1616

17+
18+
<!-- Updated README links and corrected typos -->
19+
<!-- Updated README links and corrected typos -->

Font Art/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ Incase you have anything to be followed while executing the python script mentio
1010

1111
Display a font art using python
1212
FontArt.py
13+
14+
<!-- Updated README links and corrected typos -->
15+
<!-- Updated README links and corrected typos -->

Fractal tree/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
# Fractal trees in python
2+
3+
<!-- Updated README links and corrected typos -->
4+
<!-- Updated README links and corrected typos -->

Get Hexcodes From Websites/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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
4-
*pip install bs4*
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
4+
*pip install bs4*
5+
<!-- Updated README links and corrected typos -->
6+
<!-- Updated README links and corrected typos -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
import os
2+
import re
3+
4+
# Define a dictionary of common typos and their corrections
5+
typos = {
6+
'teh': 'the',
7+
'recieve': 'receive',
8+
'adn': 'and',
9+
'occured': 'occurred',
10+
'seperate': 'separate',
11+
'definately': 'definitely',
12+
'goverment': 'government',
13+
# Add more typos and corrections as needed
14+
}
15+
16+
def correct_typos_in_file(file_path):
17+
with open(file_path, 'r') as file:
18+
content = file.read()
19+
20+
for typo, correction in typos.items():
21+
content = re.sub(r'\b' + typo + r'\b', correction, content)
22+
23+
# Append a comment to indicate the file has been processed
24+
content += "\n<!-- Updated README links and corrected typos -->"
25+
26+
with open(file_path, 'w') as file:
27+
file.write(content)
28+
print(f"Corrected typos in {file_path}")
29+
30+
def update_links(file_path):
31+
try:
32+
with open(file_path, 'r') as file:
33+
content = file.read()
34+
35+
# Example update: replace 'old-link' with 'new-link'
36+
updated_content = content.replace('old-link', 'new-link')
37+
38+
with open(file_path, 'w') as file:
39+
file.write(updated_content)
40+
41+
print(f"Updated {file_path}")
42+
except Exception as e:
43+
print(f"Failed to update {file_path}: {e}")
44+
45+
def find_and_process_readmes(root_dir):
46+
for root, dirs, files in os.walk(root_dir):
47+
for file in files:
48+
if file.lower() == 'readme.md':
49+
file_path = os.path.join(root, file)
50+
update_links(file_path)
51+
correct_typos_in_file(file_path)
52+
53+
if __name__ == "__main__":
54+
root_directory = '.' # Set this to your repo's root directory if necessary
55+
find_and_process_readmes(root_directory)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import os
2+
3+
def update_links(file_path):
4+
try:
5+
with open(file_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(file_path, 'w') as file:
12+
file.write(updated_content)
13+
14+
print(f"Updated {file_path}")
15+
except Exception as e:
16+
print(f"Failed to update {file_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)

HTML to Images/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ Images will be stored in the same folder the script is in.
77
Example use:
88
>Enter the directory of your html file: ./test.html
99
>Enter the name of your image including file format: out.jpg
10-
>(OPTIONAL) Enter the background color you would like: grey
10+
>(OPTIONAL) Enter the background color you would like: grey
11+
<!-- Updated README links and corrected typos -->
12+
<!-- Updated README links and corrected typos -->

Harvest Predictor/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
Paddy Harvest Prediction using linear regression machine learning algorithm with html and css frontend with flask backend
44

5-
to run open the terminal from the directory and run `flask run app.py`
5+
to run open the terminal from the directory and run `flask run app.py`
6+
<!-- Updated README links and corrected typos -->
7+
<!-- Updated README links and corrected typos -->

Image Capture/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ The default path would be your current directory.
66

77
You can also give name to your image using following command:
88
> python3 take_pictures_from_webcam.py --name ImageName
9+
10+
<!-- Updated README links and corrected typos -->
11+
<!-- Updated README links and corrected typos -->
+18-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
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
16+
17+
<!-- Updated README links and corrected typos -->
18+
<!-- Updated README links and corrected typos -->

Image Text to PDF/readme.md

+3
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ This script adds image and text to a pdf file.
1919
python3 script.py
2020
```
2121
* Hurray!! Your PDF is generated.
22+
23+
<!-- Updated README links and corrected typos -->
24+
<!-- Updated README links and corrected typos -->

Image to GIF/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ Incase you have anything to be followed while executing the python script mentio
1010

1111
Generate gif from Images
1212
imageTogif.py
13+
14+
<!-- Updated README links and corrected typos -->
15+
<!-- Updated README links and corrected typos -->

InstaDownloader/Readme.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ This python code takes user input for private and public profiles to download re
1717

1818
### Important
1919
* Please enter the post code only for the desired post
20-
* You might face errors if you are downloading from a private profile without logging in
20+
* You might face errors if you are downloading from a private profile without logging in
21+
<!-- Updated README links and corrected typos -->
22+
<!-- Updated README links and corrected typos -->

JSON to CSV 1/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ This script converts a JSON file to CSV file.
55
It means that a script (executable) file which is made of text in a programming language, is used to store and transfer the data. Python supports JSON through a built-in package called JSON
66

77
#### CSV :
8-
It is a simple file format used to store tabular data, such as a spreadsheet or database.
8+
It is a simple file format used to store tabular data, such as a spreadsheet or database.
9+
<!-- Updated README links and corrected typos -->
10+
<!-- Updated README links and corrected typos -->

JSON to CSV 2/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ python main.py
2020

2121

2222

23+
24+
<!-- Updated README links and corrected typos -->
25+
<!-- Updated README links and corrected typos -->

0 commit comments

Comments
 (0)