-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into hong/good-software-design-doc
- Loading branch information
Showing
177 changed files
with
17,822 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @binary-ho @egg528 @deepbig @minkyung00 @hjy0951 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: 10000-bagger Auto Markdown File Count Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: count files | ||
run: | | ||
python3 -m counter | ||
- name: Commit changes | ||
run: | | ||
git config --local user.email "dfghcvb11@naver.com" | ||
git config --local user.name "binary-ho" | ||
git add -u | ||
if git diff --cached --quiet; then | ||
echo "No changes to commit" | ||
else | ||
git commit -m "10000-bagger auto md file counter" | ||
fi | ||
- name: Push changes | ||
run: | | ||
git remote set-url origin https://binary-ho@github.com/10000-Bagger/free-topic-study.git | ||
git push origin main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.next | ||
node_modules | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,19 @@ | ||
# 자유 주제 스터디 | ||
### 전체 아티클 갯수: 115개 | ||
|
||
### 진행 방식 | ||
<br> | ||
|
||
### 웹 사이트 -> [반디북](https://bandibook.vercel.app/10000-bagger) | ||
|
||
<br> | ||
|
||
### 진행 방식 | ||
- 각자 이름의 branch에서 각자 이름의 폴더에 공부 내용을 정리하여 한다. | ||
- 일주일에 5번 main branch를 향하는 PR을 올린다. | ||
- 새벽 6시 전까지 올린 PR은 전날 올린 건으로 간주된다. (출근길 글 읽기를 위해) | ||
- 매일 낮 12시 이전까지 스터디원이 올린 PR에 승인, 질문 등의 피드백을 남긴다. | ||
- PR에 꼭 완성된 글을 올리지 않아도 된다. | ||
|
||
### PR 현황 | ||
#### 2024.02.07(수) ~ 2024.02.11(일) | ||
| | 1 | 2 | 3 | | ||
| ---------- | ---------- | ---------- | ---------- | | ||
| @binary_ho | 2024.02.07 | | | | ||
| @deepbig | 2024.02.07 | 2024.02.10 | 2024.02.11 | | ||
| @egg528 | 2024.02.09 | | | | ||
<br> | ||
|
||
#### 2024.02.12(월) ~ 2024.02.18(일) | ||
| | 1 | 2 | 3 | 4 | 5 | | ||
|------------|---|---|---|---|---| | ||
| @binary_ho | | | | | | | ||
| @deepbig | | | | | | | ||
| @egg528 | | | | | | | ||
### 누적 벌금 : 970,368 원 (2024.10.4 기준) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import os | ||
|
||
def count_md_files(directory): | ||
md_count = 0 | ||
for root, dirs, files in os.walk(directory): | ||
md_count += sum(1 for file in files if file.endswith('.md')) | ||
return md_count | ||
|
||
|
||
if __name__ == "__main__": | ||
root = os.getcwd() | ||
md_file_count = count_md_files(root) - 1 # README.md 파일 제외 | ||
readme_path = os.path.join(root, 'README.md') | ||
|
||
with open(readme_path, 'r', encoding='utf-8') as file: | ||
readme_contents = file.readlines() | ||
|
||
for i, line in enumerate(readme_contents): | ||
if line.startswith("### 전체 아티클 갯수:"): | ||
readme_contents[i] = f"### 전체 아티클 갯수: {md_file_count}개\n" | ||
break | ||
|
||
with open(readme_path, 'w', encoding='utf-8') as file: | ||
file.writelines(readme_contents) | ||
|
||
print(f"Updated the README.md with total article count: {md_file_count}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.