Skip to content

Commit 02ef5dd

Browse files
committed
Renamed README.rst to README.md
Created new module called "Social_Networks" Added Code of Conduct, LICENSE, and Contributing guide
1 parent 3c21673 commit 02ef5dd

File tree

68 files changed

+1590
-863
lines changed

Some content is hidden

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

68 files changed

+1590
-863
lines changed

Atalhos/Social_Networks.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cd "C:\Program Files\ConEmu"
2+
start ConEmu.exe -Dir "C:\Apps" -Title "Social Networks" -FontSize 25 -run {Social_Networks}

CODE_OF_CONDUCT.md

+128
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
Stake2.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

CONTRIBUTING.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Check the [Code of Conduct](https://github.com/Stake2/Python/blob/main/CODE_OF_CONDUCT.md).
2+
3+
Contribute to the project by looking, analyzing, and running the Python files, understanding how the modules work.<br>
4+
And then suggest enhancements to the project and Python files by opening issues with the title of your suggestion.<br>
5+
You can also modify the Python files and add a pull request to your issue if you want, and I'll check your issue.<br>

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Stake2
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Modules/Block_Websites/Block/Block.pyw

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Block(Block_Websites):
9797
self.module_folder_class = self.module_folder + "Block/"
9898

9999
self.block_python_window_file = self.module_folder_class + "Block.pyw"
100-
Create_Text_File(self.block_python_window_file, self.global_switches["create_files"])
100+
Create_Text_File(self.block_python_window_file, self.global_switches)
101101

102102
self.block_python_file = self.module_folder_class + "__init__.py"
103103

Modules/Block_Websites/Block/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def Update_Python_File(self):
9797
self.module_folder_class = self.module_folder + "Block/"
9898

9999
self.block_python_window_file = self.module_folder_class + "Block.pyw"
100-
Create_Text_File(self.block_python_window_file, self.global_switches["create_files"])
100+
Create_Text_File(self.block_python_window_file, self.global_switches)
101101

102102
self.block_python_file = self.module_folder_class + "__init__.py"
103103

Modules/Block_Websites/Block_Websites/__init__.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def Define_Folders(self):
5656
name = __name__.split(".")[0]
5757

5858
self.module_text_files_folder = script_text_files_folder + name + "/"
59-
Create_Folder(self.module_text_files_folder, self.global_switches["create_folders"])
59+
Create_Folder(self.module_text_files_folder, self.global_switches)
6060

6161
self.module_folder = scripts_modules_folder + name + "/"
6262

@@ -65,40 +65,40 @@ def Define_Folders(self):
6565
self.drivers_etc_folder = self.system32_folder + "drivers/etc/"
6666

6767
self.database_folder = self.module_text_files_folder + "Database/"
68-
Create_Folder(self.database_folder, self.global_switches["create_folders"])
68+
Create_Folder(self.database_folder, self.global_switches)
6969

7070
self.database_domains_folder = self.database_folder + "Domains/"
71-
Create_Folder(self.database_domains_folder, self.global_switches["create_folders"])
71+
Create_Folder(self.database_domains_folder, self.global_switches)
7272

7373
self.database_websites_folder = self.database_folder + "Websites/"
74-
Create_Folder(self.database_websites_folder, self.global_switches["create_folders"])
74+
Create_Folder(self.database_websites_folder, self.global_switches)
7575

7676
self.allowed_to_unblock_folder = self.database_websites_folder + "Allowed To Unblock/"
77-
Create_Folder(self.allowed_to_unblock_folder, self.global_switches["create_folders"])
77+
Create_Folder(self.allowed_to_unblock_folder, self.global_switches)
7878

7979
def Define_Files(self):
8080
self.hosts_file = self.drivers_etc_folder + "hosts"
8181

8282
self.hour_config_file = self.module_text_files_folder + "Hour Config" + self.dot_text
83-
Create_Text_File(self.hour_config_file, self.global_switches["create_files"])
83+
Create_Text_File(self.hour_config_file, self.global_switches)
8484

8585
self.blocked_by_default_file = self.module_text_files_folder + "Blocked By Default" + self.dot_text
86-
Create_Text_File(self.blocked_by_default_file, self.global_switches["create_files"])
86+
Create_Text_File(self.blocked_by_default_file, self.global_switches)
8787

8888
self.additional_map_file = self.module_text_files_folder + "Additional Map" + self.dot_text
89-
Create_Text_File(self.additional_map_file, self.global_switches["create_files"])
89+
Create_Text_File(self.additional_map_file, self.global_switches)
9090

9191
self.websites_to_block_file = self.database_websites_folder + "To Block" + self.dot_text
92-
Create_Text_File(self.websites_to_block_file, self.global_switches["create_files"])
92+
Create_Text_File(self.websites_to_block_file, self.global_switches)
9393

9494
self.allowed_to_unlock_by_user_file = self.allowed_to_unblock_folder + "By User" + self.dot_text
95-
Create_Text_File(self.allowed_to_unlock_by_user_file, self.global_switches["create_files"])
95+
Create_Text_File(self.allowed_to_unlock_by_user_file, self.global_switches)
9696

9797
self.allowed_to_unlock_by_modules_file = self.allowed_to_unblock_folder + "By Modules" + self.dot_text
98-
Create_Text_File(self.allowed_to_unlock_by_modules_file, self.global_switches["create_files"])
98+
Create_Text_File(self.allowed_to_unlock_by_modules_file, self.global_switches)
9999

100100
self.log_file = self.module_text_files_folder + "Log" + self.dot_text
101-
Create_Text_File(self.log_file, self.global_switches["create_files"])
101+
Create_Text_File(self.log_file, self.global_switches)
102102

103103
def Define_Texts(self):
104104
self.hosts_file_header = """# Copyright (c) 1993-2009 Microsoft Corp.

Modules/Block_Websites/Unblock/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ def Unblock(self):
6262
self.module_folder_class = self.module_folder + "Unblock/"
6363

6464
self.reblock_python_window_file = self.module_folder_class + "Re-Block.pyw"
65-
Create_Text_File(self.reblock_python_window_file, self.global_switches["create_files"])
65+
Create_Text_File(self.reblock_python_window_file, self.global_switches)
6666

6767
self.websites_to_block_backup_file = self.database_websites_folder + "To Block (Backup)" + self.dot_text
68-
Create_Text_File(self.websites_to_block_backup_file, self.global_switches["create_files"])
68+
Create_Text_File(self.websites_to_block_backup_file, self.global_switches)
6969

7070
Write_To_File(self.websites_to_block_backup_file, Stringfy_Array(self.websites_to_block, add_line_break = True))
7171

Modules/Christmas/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ def Define_Folders(self):
5252
self.main_years_folders = notepad_folder_years
5353

5454
self.root_year_folder = notepad_folder_years + current_year + "/"
55-
Create_Folder(self.root_year_folder, self.global_switches["create_folders"])
55+
Create_Folder(self.root_year_folder, self.global_switches)
5656

5757
self.language_year_folder = self.root_year_folder + Language_Item_Definer(full_language_en, full_language_pt) + "/"
58-
Create_Folder(self.language_year_folder, self.global_switches["create_folders"])
58+
Create_Folder(self.language_year_folder, self.global_switches)
5959

6060
self.language_year_folders = {}
6161

6262
self.language_year_folders[full_language_en] = self.root_year_folder + full_language_en + "/"
6363
self.language_year_folders[full_language_pt] = self.root_year_folder + full_language_pt + "/"
6464

6565
for folder in self.language_year_folders.values():
66-
Create_Folder(folder, self.global_switches["create_folders"])
66+
Create_Folder(folder, self.global_switches)
6767

6868
self.christmas_language_folders = {}
6969

Modules/Code/Code/__init__.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ def Define_Folders(self):
6464
name = __name__.split(".")[0]
6565

6666
self.module_text_files_folder = script_text_files_folder + name + "/"
67-
Create_Folder(self.module_text_files_folder, self.global_switches["create_folders"])
67+
Create_Folder(self.module_text_files_folder, self.global_switches)
6868

6969
self.programming_network_folder = networks_folder + "Programming Network/"
70-
Create_Folder(self.programming_network_folder, self.global_switches["create_folders"])
70+
Create_Folder(self.programming_network_folder, self.global_switches)
7171

7272
self.database_folder = self.programming_network_folder + "Database/"
73-
Create_Folder(self.database_folder, self.global_switches["create_folders"])
73+
Create_Folder(self.database_folder, self.global_switches)
7474

7575
self.database_file_names = [
7676
"Programming Languages",
@@ -80,7 +80,7 @@ def Define_Folders(self):
8080

8181
for file_name in self.database_file_names:
8282
self.database_files[file_name] = self.database_folder + file_name + self.dot_text
83-
Create_Text_File(self.database_files[file_name], self.global_switches["create_files"])
83+
Create_Text_File(self.database_files[file_name], self.global_switches)
8484

8585
def Define_Lists(self):
8686
self.programming_languages = Create_Array_Of_File(self.database_files["Programming Languages"])
@@ -89,7 +89,7 @@ def Define_Lists(self):
8989

9090
for programming_language in self.programming_languages:
9191
self.programming_language_folders[programming_language] = self.database_folder + programming_language + "/"
92-
Create_Folder(self.programming_language_folders[programming_language], self.global_switches["create_folders"])
92+
Create_Folder(self.programming_language_folders[programming_language], self.global_switches)
9393

9494
self.basic_functions = {
9595
"Open_File": Open_File,

Modules/Code/Help_With_Coding/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def Select_Programming_Language(self):
5858
self.programming_language_folder = self.programming_language_folders[self.programming_language]
5959

6060
self.programming_language_settings_file = self.programming_language_folder + "Programming Language Settings" + self.dot_text
61-
Create_Text_File(self.programming_language_settings_file, self.global_switches["create_files"])
61+
Create_Text_File(self.programming_language_settings_file, self.global_switches)
6262

6363
self.programming_language_settings = Make_Setting_Dictionary(self.programming_language_settings_file, define_yes_or_no = True, define_true_or_false = True, read_file = True)
6464

@@ -92,7 +92,7 @@ def Select_Programming_Language(self):
9292

9393
def Select_Mode(self):
9494
self.modes_folder = self.programming_language_folder + "Modes/"
95-
Create_Folder(self.modes_folder, self.global_switches["create_folders"])
95+
Create_Folder(self.modes_folder, self.global_switches)
9696

9797
self.modes_folders = List_Folder(self.modes_folder)
9898

@@ -202,7 +202,7 @@ def Execute_First_Function(self):
202202

203203
def Change_Settings_Files(self):
204204
self.setting_files_file = self.item_data["Setting File"]["Folder"] + "Files" + self.dot_text
205-
Create_Text_File(self.setting_files_file, self.global_switches["create_files"])
205+
Create_Text_File(self.setting_files_file, self.global_switches)
206206

207207
self.settings_files_data = Make_Setting_Dictionary(self.setting_files_file, read_file = True)
208208

@@ -220,7 +220,7 @@ def Change_Settings_Files(self):
220220
self.last_setting_data_folder = self.module_text_files_folder + "Last Setting Data/"
221221

222222
self.last_data_file = self.last_setting_data_folder + setting_file_name
223-
Create_Text_File(self.last_data_file, self.global_switches["create_files"])
223+
Create_Text_File(self.last_data_file, self.global_switches)
224224

225225
self.last_data = Read_String(self.last_data_file)
226226

Modules/Diary/Create_New_Diary_Chapter/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __init__(self):
1414
self.diary_number = str(self.diary_number + 1)
1515

1616
self.new_diary_chapter_file = self.diary_chapters_folder + self.diary_number + self.dot_text
17-
Create_Text_File(self.new_diary_chapter_file, self.global_switches["create_files"])
17+
Create_Text_File(self.new_diary_chapter_file, self.global_switches)
1818

1919
Open_Text_File(self.new_diary_chapter_file)
2020

Modules/Diary/Diary/__init__.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ def Define_Basic_Variables(self):
4444

4545
def Define_Diary_Variables(self):
4646
self.diary_folder = notepad_diary_folder
47-
Create_Folder(self.diary_folder, self.global_switches["create_folders"])
47+
Create_Folder(self.diary_folder, self.global_switches)
4848

4949
self.diary_chapters_folder = self.diary_folder + "Chapters/"
50-
Create_Folder(self.diary_chapters_folder, self.global_switches["create_folders"])
50+
Create_Folder(self.diary_chapters_folder, self.global_switches)
5151

5252
self.diary_file = self.diary_folder + "Diary" + self.dot_text
53-
Create_Text_File(self.diary_file, self.global_switches["create_files"])
53+
Create_Text_File(self.diary_file, self.global_switches)
5454

5555
self.diary_number_file = self.diary_folder + "Number" + self.dot_text
56-
Create_Text_File(self.diary_number_file, self.global_switches["create_files"])
56+
Create_Text_File(self.diary_number_file, self.global_switches)
5757

5858
self.current_diary_file = self.diary_folder + "Current File" + self.dot_text
59-
Create_Text_File(self.current_diary_file, self.global_switches["create_files"])
59+
Create_Text_File(self.current_diary_file, self.global_switches)
6060

6161
self.current_diary_text_file = Create_Array_Of_File(self.current_diary_file)[0]
6262

0 commit comments

Comments
 (0)