git init
git add .
The following command will open git config file in terminal editor (vim or nano)
git config --global --edit
| #!/usr/bin/env python3 | |
| from datetime import datetime | |
| import os | |
| now = datetime.now() | |
| now_str = now.strftime("%m-%d-%Y_%H-%M-%S-%f") | |
| # This will create a directory similar to this path: | |
| # ./logs/04-20-2022_19-37-08/ | |
| temp_path="logs/" + now_str |
| #!/usr/bin/env python3 | |
| import time | |
| import uncurl | |
| ''' | |
| This script uses: https://github.com/spulec/uncurl | |
| To install: Setup virtualenv, then run: |
| #!/usr/bin/env python3 | |
| import csv | |
| def write_row_to_csv(filename, row_data_as_list, file_mode): | |
| with open(filename, file_mode, newline='') as csvfile: | |
| # creating a csv writer object | |
| csvwriter = csv.writer(csvfile, delimiter=',', quotechar='"', quoting=csv.QUOTE_ALL) | |
| # writing the data rows | |
| csvwriter.writerow(row_data_as_list) |
| #!/usr/bin/env python3 | |
| import requests | |
| from curl_cffi import requests | |
| from bs4 import BeautifulSoup | |
| ''' | |
| requirements.txt | |
git init
git add .
The following command will open git config file in terminal editor (vim or nano)
git config --global --edit