Skip to content

Commit de15d5c

Browse files
authored
Initial commit
0 parents  commit de15d5c

19 files changed

Lines changed: 490 additions & 0 deletions

.devcontainer/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# [Choice] Python version: 3.9, 3.10, 3.11
2+
FROM python:latest

.devcontainer/devcontainer.json

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"name": "DevContainer Base template",
3+
4+
"build": {
5+
"dockerfile": "./Dockerfile",
6+
"context": "."
7+
},
8+
9+
"forwardPorts": [
10+
// typical ports
11+
3000, 8080, 5000
12+
],
13+
14+
"features": {
15+
// Install common utilities
16+
"ghcr.io/devcontainers/features/common-utils:latest": {
17+
"installZsh": true,
18+
"installOhMyZsh": true,
19+
"upgradePackages": true,
20+
"username": "vscode",
21+
"uid": "1000",
22+
"gid": "1000"
23+
}
24+
},
25+
26+
"overrideFeatureInstallOrder": [
27+
"ghcr.io/devcontainers/features/common-utils"
28+
],
29+
30+
"customizations": {
31+
"vscode": {
32+
"extensions": [
33+
34+
// General extensions
35+
"GitHub.copilot",
36+
"GitHub.copilot-labs",
37+
"GitHub.copilot-chat",
38+
"eamodio.gitlens",
39+
"EditorConfig.EditorConfig",
40+
"streetsidesoftware.code-spell-checker",
41+
"esbenp.prettier-vscode"
42+
],
43+
44+
"settings": {
45+
"terminal.integrated.defaultProfile.linux": "zsh",
46+
"terminal.integrated.profiles.linux": {
47+
"zsh": {
48+
"path": "/usr/bin/zsh"
49+
}
50+
},
51+
"editor.minimap.enabled": false,
52+
"explorer.sortOrder": "type",
53+
"explorer.fileNesting.enabled": true,
54+
"explorer.fileNesting.patterns": {
55+
"*.js": "${capture}.js.map",
56+
"*.ts": "${capture}.js",
57+
"*.py": "${capture}.pyc"
58+
},
59+
"python.defaultInterpreterPath": "/usr/local/bin/python",
60+
"python.linting.enabled": true,
61+
"python.linting.pylintEnabled": true,
62+
"python.formatting.provider": "black",
63+
"[python]": {
64+
"editor.formatOnSave": true
65+
},
66+
"[javascript]": {
67+
"editor.defaultFormatter": "esbenp.prettier-vscode",
68+
"editor.formatOnSave": true
69+
},
70+
"[typescript]": {
71+
"editor.defaultFormatter": "esbenp.prettier-vscode",
72+
"editor.formatOnSave": true
73+
}
74+
}
75+
}
76+
},
77+
78+
"onCreateCommand": "/usr/bin/zsh ./.devcontainer/on-create.sh > ~/on-create.log",
79+
"postCreateCommand": "/usr/bin/zsh ./.devcontainer/post-create.sh > ~/post-create.log",
80+
"remoteUser": "vscode"
81+
}

.devcontainer/on-create.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Install additional apt packages
2+
sudo apt-get update && \
3+
sudo apt upgrade -y && \
4+
sudo apt-get install -y dos2unix libsecret-1-0 xdg-utils && \
5+
sudo apt clean -y && \
6+
sudo rm -rf /var/lib/apt/lists/*
7+
8+
## Configure git
9+
git config --global pull.rebase false
10+

.devcontainer/post-create.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Install neovim configuration
2+
3+
mkdir $HOME/.config/
4+
mkdir $HOME/.config/nvim
5+
git clone https://github.com/tooniez/nvim $HOME/.config/nvim

.editorconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
#### Core EditorConfig Options ####
7+
8+
# All files
9+
[*]
10+
indent_style = space
11+
charset = utf-8
12+
13+
# Indentation and spacing
14+
indent_size = 4
15+
tab_width = 4
16+
trim_trailing_whitespace = false
17+
18+
# New line preferences
19+
end_of_line = crlf
20+
insert_final_newline = false
21+
22+
# Xml files
23+
[*.xml]
24+
indent_size = 2
25+
26+
[*.{json,yaml,yml}]
27+
indent_size = 2

.github/CODEOWNERS

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# This is a comment.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# These owners will be the default owners for everything in
5+
# the repo. Unless a later match takes precedence,
6+
# @global-owner1 and @global-owner2 will be requested for
7+
# review when someone opens a pull request.
8+
* @tooniez
9+
10+
# Order is important; the last matching pattern takes the most
11+
# precedence. When someone opens a pull request that only
12+
# modifies JS files, only @js-owner and not the global
13+
# owner(s) will be requested for a review.
14+
*.js @tooniez #This is an inline comment.
15+
16+
# You can also use email addresses if you prefer. They'll be
17+
# used to look up users just like we do for commit author
18+
# emails.
19+
# *.go docs@example.com
20+
21+
# Teams can be specified as code owners as well. Teams should
22+
# be identified in the format @org/team-name. Teams must have
23+
# explicit write access to the repository. In this example,
24+
# the octocats team in the octo-org organization owns all .txt files.
25+
# *.txt @octo-org/octocats
26+
*.md @tooniez
27+
28+
# In this example, @doctocat owns any files in the build/logs
29+
# directory at the root of the repository and any of its
30+
# subdirectories.
31+
# /build/logs/ @doctocat
32+
33+
# The `docs/*` pattern will match files like
34+
# `docs/getting-started.md` but not further nested files like
35+
# `docs/build-app/troubleshooting.md`.
36+
# docs/* docs@example.com
37+
38+
# In this example, @octocat owns any file in an apps directory
39+
# anywhere in your repository.
40+
# apps/ @octocat
41+
42+
# In this example, @doctocat owns any file in the `/docs`
43+
# directory in the root of your repository and any of its
44+
# subdirectories.
45+
# /docs/ @doctocat
46+
47+
# In this example, any change inside the `/scripts` directory
48+
# will require approval from @doctocat or @octocat.
49+
# /scripts/ @doctocat @octocat
50+
51+
# In this example, @octocat owns any file in a `/logs` directory such as
52+
# `/build/logs`, `/scripts/logs`, and `/deeply/nested/logs`. Any changes
53+
# in a `/logs` directory will require approval from @octocat.
54+
# **/logs @octocat
55+
56+
# In this example, @octocat owns any file in the `/apps`
57+
# directory in the root of your repository except for the `/apps/github`
58+
# subdirectory, as its owners are left empty.
59+
# /apps/ @octocat
60+
# /apps/github

.github/CODE_OF_CONDUCT.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Code of Conduct 👮‍♂️
2+
3+
## Our Pledge 🤝
4+
5+
In order to maintain a respectful and inclusive community, we, as contributors and maintainers, pledge to:
6+
7+
- 👉 Respect all contributors regardless of their race, ethnicity, nationality, religion, sexual orientation, gender identity, age, skill level, or background.
8+
- 👉 Welcome constructive feedback and strive to learn from it.
9+
- 👉 Listen actively and be empathetic towards others’ perspectives.
10+
- 👉 Maintain a harassment-free environment, where all forms of discrimination, hate speech, and personal attacks are prohibited.
11+
- 👉 Use welcoming and inclusive language in all interactions and communications.
12+
- 👉 Prioritize the safety and comfort of all members of our community.
13+
- 👉 Hold ourselves accountable to these guidelines and consequences, if they are breached.
14+
15+
## Our Responsibilities 💪
16+
17+
As maintainers of this community, we are responsible for:
18+
- 👉 Clarifying the standards of acceptable behavior and enforcing them.
19+
- 👉 Using appropriate and fair moderation practices collaboratively.
20+
- 👉 Taking responsible action in any unethical situation.
21+
- 👉 Communicating the reasons for moderation decisions transparently.
22+
23+
We expect all contributors to uphold these standards and create a friendly and supportive environment. Together, we can build a community where everyone feels safe and valued. 🤝

.github/CONTRIBUTING.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# 🎉 Contributing Guidelines 🎉
2+
3+
Thank you for considering contributing to our project! 👏 We appreciate your time, effort, and contributions to make this project better. 🙌
4+
5+
Please take a moment to review the following guidelines before submitting a pull request: 📝
6+
7+
## 💻 Code of Conduct 🤝
8+
9+
We have adopted a Code of Conduct that we expect project participants to adhere to. 🤝 Please read the full text so that you can understand what actions and behaviors will not be tolerated. 😊
10+
11+
## 💡 Issues and Pull Requests 🤝
12+
13+
Please make sure to create a new issue before submitting a pull request. This will help us to understand the change you are proposing and to discuss the best way to implement it. 🤔
14+
15+
When creating a pull request, please ensure that your changes: 🛠️
16+
- Follow the style guide 📜
17+
- Include tests (if applicable) 🧪
18+
- Provide clear and concise commit messages 💬
19+
- Do not break the existing functionality of the project ❌
20+
- Add appropriate documentation (if applicable) 📚

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: [tooniez] # List of usernames to support funding on GitHub
2+

.github/GOVERNANCE.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Governance Policy 🏛️
2+
3+
## Purpose 🎯
4+
The purpose of this policy is to establish guidelines and standards for the governance of our organization. 🤝
5+
6+
## Scope 🌎
7+
This policy applies to all employees and stakeholders of the organization. 👥
8+
9+
## Policy Statement 📜
10+
Our organization is committed to conducting its business in accordance with the highest ethical and legal standards. To this end, we have established the following governance policies:
11+
12+
### Compliance ✅
13+
We are committed to compliance with all applicable laws and regulations.
14+
15+
### Transparency 🔍
16+
We will be transparent in our operations and provide stakeholders with timely and accurate information.
17+
18+
### Risk Management 📊
19+
We will identify and manage risks to our organization, including financial, operational, and reputational risks.
20+
21+
### Accountability 🤲
22+
We will hold ourselves accountable for our actions and decisions.
23+
24+
### Ethics 🙌
25+
We will conduct ourselves in accordance with the highest ethical standards.
26+
27+
## Review and Revision 🔄
28+
This policy will be reviewed and revised as necessary to ensure its ongoing effectiveness and relevance to the organization's operations. 🧐
29+
30+
## Contacts 📞
31+
If you have any questions about this policy, please contact [insert contact information here]. 📧

0 commit comments

Comments
 (0)