Skip to content

Updated README links to point to the correct folders #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Arrange It/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Arrange It

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").
Expand All @@ -11,5 +10,9 @@ For CLI

```bash
python arrangeit.py

<!-- This is a manual change to ensure the file is tracked and updated -->
```

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion Auto WiFi Check/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ pip install netifaces
</ul>

</body>
</html>
</html>
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions AutoCert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ A Python script to auto generate e-certificates in bulk.




<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion Automating Emails/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Automating-Emails-on-a-.csv-file
<hr>
Python program to automate an email personalized birthday message by reading details from a .csv file<br>
Also includes options to add and remove details from said .csv file
Also includes options to add and remove details from said .csv file
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Black Hat Python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ Simply choose a directory (DIR) in which to clone the project using
`git clone`, create a new virtual environment or `venv` for it (recommended
) and install the requirements using `pip install`.


<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion Black Hat Python/chapter_02/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ python3 ssh_rcmd.py

```
python3 ssh_server.py
```
```
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Black Hat Python/chapter_03/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ sudo python3 scanner.py 192.168.1.0

# subnet to target: 192.168.1.0/24
```

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion Black Hat Python/chapter_04/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ sudo python3 mail_sniffer_using_BPF_syntax.py
```
python3 arper_1.py <victim_ip> <gateway_ip> <interface>
python3 arper_2.py <victim_ip> <gateway_ip> <interface>
```
```
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion Blackjack/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
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.
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.
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion Cafe Management System/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Cafe Management System

- This is a cafe Management System Coded by Python using `tkinter` library.
- You need to install `Pillow`by entering `pip install Pillow`.
- You need to install `Pillow`by entering `pip install Pillow`.
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Chess Board/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Create a chesboard using matplotlib
ChessBoard.py



<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Convert Temperature/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ Use this to convert between celsius(°C), fahrenheit(°F) and Kelvin(K).
# Author's Name

Vinayak Joshi(https://github.com/Vinayak-Joshi15)

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Countdown Timer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ Running the script is pretty easy, open a terminal in the folder where your scri
# Author's name

[KOTHA V V S AAKASH](https://github.com/AakashKotha)

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion Crop Images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ Screenshot/GIF showing the sample use of the script:
Added in the same folder

Author Name:
Git Username: G0V1NDK
Git Username: G0V1NDK
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Digital Clock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ Incase you have anything to be followed while executing the python script mentio
## Script - Digital Clock

DigitalClock.py

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Display Popup Window/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ Incase you have anything to be followed while executing the python script mentio
Displaying a popup window
DisplayPopupWindow.py


<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Duplicate Finder/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ This script scans a given directory for duplicate files based on their MD5 hash.

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


<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Expense Tracker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Run the expense.py file to start the bot:
```
python expense.py
```

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Fake Profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ Incase you have anything to be followed while executing the python script mentio
Get many fake profiles using python
FakeProfile.py


<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions File Encryption Decryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ Files can be encrypted using desired password.
fileEncryptDecrypt.py



<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Font Art/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ Incase you have anything to be followed while executing the python script mentio

Display a font art using python
FontArt.py

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Fractal tree/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Fractal trees in python

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
10 changes: 6 additions & 4 deletions Get Hexcodes From Websites/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
This tools allows you to get a python list formated colors.txt file containing most of the colors(*Hexcodes*) that the website had.

To use the tool you will need to import bs4 library by doing
*pip install bs4*
This tools allows you to get a python list formated colors.txt file containing most of the colors(*Hexcodes*) that the website had.

To use the tool you will need to import bs4 library by doing
*pip install bs4*
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
55 changes: 55 additions & 0 deletions Get Hexcodes From Websites/update_and_correct_readmes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import os
import re

# Define a dictionary of common typos and their corrections
typos = {
'teh': 'the',
'recieve': 'receive',
'adn': 'and',
'occured': 'occurred',
'seperate': 'separate',
'definately': 'definitely',
'goverment': 'government',
# Add more typos and corrections as needed
}

def correct_typos_in_file(file_path):
with open(file_path, 'r') as file:
content = file.read()

for typo, correction in typos.items():
content = re.sub(r'\b' + typo + r'\b', correction, content)

# Append a comment to indicate the file has been processed
content += "\n<!-- Updated README links and corrected typos -->"

with open(file_path, 'w') as file:
file.write(content)
print(f"Corrected typos in {file_path}")

def update_links(file_path):
try:
with open(file_path, 'r') as file:
content = file.read()

# Example update: replace 'old-link' with 'new-link'
updated_content = content.replace('old-link', 'new-link')

with open(file_path, 'w') as file:
file.write(updated_content)

print(f"Updated {file_path}")
except Exception as e:
print(f"Failed to update {file_path}: {e}")

def find_and_process_readmes(root_dir):
for root, dirs, files in os.walk(root_dir):
for file in files:
if file.lower() == 'readme.md':
file_path = os.path.join(root, file)
update_links(file_path)
correct_typos_in_file(file_path)

if __name__ == "__main__":
root_directory = '.' # Set this to your repo's root directory if necessary
find_and_process_readmes(root_directory)
27 changes: 27 additions & 0 deletions Get Hexcodes From Websites/update_readmes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import os

def update_links(file_path):
try:
with open(file_path, 'r') as file:
content = file.read()

# Example update: replace 'old-link' with 'new-link'
updated_content = content.replace('old-link', 'new-link')

with open(file_path, 'w') as file:
file.write(updated_content)

print(f"Updated {file_path}")
except Exception as e:
print(f"Failed to update {file_path}: {e}")

def find_and_update_readmes(root_dir):
for root, dirs, files in os.walk(root_dir):
for file in files:
if file.lower() == 'readme.md':
file_path = os.path.join(root, file)
update_links(file_path)

if __name__ == "__main__":
root_directory = '.' # Update this to your repo's root directory if necessary
find_and_update_readmes(root_directory)
4 changes: 3 additions & 1 deletion HTML to Images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ Images will be stored in the same folder the script is in.
Example use:
>Enter the directory of your html file: ./test.html
>Enter the name of your image including file format: out.jpg
>(OPTIONAL) Enter the background color you would like: grey
>(OPTIONAL) Enter the background color you would like: grey
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion Harvest Predictor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

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

to run open the terminal from the directory and run `flask run app.py`
to run open the terminal from the directory and run `flask run app.py`
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Image Capture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ The default path would be your current directory.

You can also give name to your image using following command:
> python3 take_pictures_from_webcam.py --name ImageName

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
33 changes: 18 additions & 15 deletions Image Manipulation without libraries/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
Image-Manipulation-using-Python-without-external-libraries
---
Image manipulation techniques in Python without using external libraries like OpenCV, Pillow, etc

Includes the following manipulations:

- Channel-wise Addition
- Invert Colors
- Mirror Vertical
- Mirror Horizontal
- Blur(2 methods)
- Resize
- Lightness
- Brightness
- Contrast
Image-Manipulation-using-Python-without-external-libraries
---
Image manipulation techniques in Python without using external libraries like OpenCV, Pillow, etc

Includes the following manipulations:

- Channel-wise Addition
- Invert Colors
- Mirror Vertical
- Mirror Horizontal
- Blur(2 methods)
- Resize
- Lightness
- Brightness
- Contrast

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Image Text to PDF/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ This script adds image and text to a pdf file.
python3 script.py
```
* Hurray!! Your PDF is generated.

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions Image to GIF/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ Incase you have anything to be followed while executing the python script mentio

Generate gif from Images
imageTogif.py

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion InstaDownloader/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ This python code takes user input for private and public profiles to download re

### Important
* Please enter the post code only for the desired post
* You might face errors if you are downloading from a private profile without logging in
* You might face errors if you are downloading from a private profile without logging in
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
4 changes: 3 additions & 1 deletion JSON to CSV 1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ This script converts a JSON file to CSV file.
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

#### CSV :
It is a simple file format used to store tabular data, such as a spreadsheet or database.
It is a simple file format used to store tabular data, such as a spreadsheet or database.
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
3 changes: 3 additions & 0 deletions JSON to CSV 2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ python main.py




<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
Loading