Skip to content

Commit a81abc7

Browse files
committed
course note multi-language support added.
1 parent 7c53e0e commit a81abc7

File tree

358 files changed

+27810
-2119
lines changed

Some content is hidden

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

358 files changed

+27810
-2119
lines changed

MISSING.md

Whitespace-only changes.

RESOURCES.md

Lines changed: 0 additions & 71 deletions
This file was deleted.

SECURITY.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

convert-pptx2md.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
@setlocal enableextensions
3+
@cd /d "%~dp0"
4+
for %%# in (*.pptx) do set "file_name=%%~nx#"
5+
echo file found %file_name%
6+
rem python 3.6-3.9 is required for pptx2md set PATH variable
7+
Powershell.exe pptx2md --disable-escaping ./%file_name% -o ./%file_name%.md -i ./assets
8+
pause
9+
10+
File renamed without changes.

docs/index.tr.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
template: home.html
3+
title: Home
4+
---
File renamed without changes.

docs/license.tr.md

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

docs/overrides/home.html

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<div class="mdx-hero__image">
1212
<img src="images/homepage.png" alt="" width="1659" height="1200" draggable="false">
1313
</div>
14+
15+
{% if i18n_page_locale == "en" %}
1416
<div class="mdx-hero__content">
1517
<h1>RTEU CE103 Algorithms and Programming-I Course Notes</h1>
1618
<p>{{ config.site_description }}</p>
@@ -21,7 +23,7 @@ <h1>RTEU CE103 Algorithms and Programming-I Course Notes</h1>
2123
Syllabus
2224
</a>
2325
<a href="https://ucoruh.github.io/ce100-algorithms-and-programming-II/" title="CE100 Algorithms and Programming II" class="md-button">
24-
CE100 Algorithms and Programming II
26+
CE100 Algorithms and Programming-II
2527
</a>
2628
<a href="https://ucoruh.github.io/ce205-data-structures/" title="CE205 Data Structures" class="md-button">
2729
CE205 Data Structures
@@ -30,6 +32,33 @@ <h1>RTEU CE103 Algorithms and Programming-I Course Notes</h1>
3032
CE204 Object-Oriented Programming
3133
</a>
3234
</div>
35+
{% endif %}
36+
37+
38+
{% if i18n_page_locale == "tr" %}
39+
<div class="mdx-hero__content">
40+
<h1>RTEU CE103 Algoritmalar ve Programlama-I Ders Notları (İng.)</h1>
41+
<p>{{ config.site_description }}</p>
42+
<a href="{{ 'week-1-intro/ce103-week-1-intro/' | url }}" title="Introduction" class="md-button md-button--primary">
43+
Hızlı Başlangıç>>
44+
</a>
45+
<a href="{{ 'syllabus/syllabus/' | url }}" title="Course Plan" class="md-button">
46+
Ders İzlencesi
47+
</a>
48+
<a href="https://ucoruh.github.io/ce100-algorithms-and-programming-II/" title="CE100 Algorithms and Programming II" class="md-button">
49+
CE100 Algoritmalar ve Programlama-II (İng.)
50+
</a>
51+
<a href="https://ucoruh.github.io/ce205-data-structures/" title="CE205 Data Structures" class="md-button">
52+
CE205 Veri Yapıları (İng.)
53+
</a>
54+
<a href="https://ucoruh.github.io/ce204-object-oriented-programming/" title="CE204 Object-Oriented Programming" class="md-button">
55+
CE204 Nesne Tabanlı Programlama (İng.)
56+
</a>
57+
</div>
58+
{% endif %}
59+
60+
61+
3362
</div>
3463
</div>
3564
</section>

docs/overrides/main.html

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,29 @@
66
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.d8956580.min.css' | url }}">
77
{% endblock %}
88
{% block announce %}
9-
<a href="https://www.linkedin.com/in/ugurcoruh/">
10-
For more information contact with me <strong>@ugurcoruh</strong> on
11-
<span class="twemoji">
12-
{% include ".icons/fontawesome/brands/linkedin.svg" %}
13-
</span>
14-
<strong>Linkedin</strong>
15-
</a>
9+
10+
{% if i18n_page_locale == "en" %}
11+
<a href="https://www.linkedin.com/in/ugurcoruh/">
12+
For more information contact with me <strong>@ugurcoruh</strong> on
13+
<span class="twemoji">
14+
{% include ".icons/fontawesome/brands/linkedin.svg" %}
15+
</span>
16+
<strong>Linkedin</strong>
17+
</a>
18+
{% endif %}
19+
20+
21+
{% if i18n_page_locale == "tr" %}
22+
<a href="https://www.linkedin.com/in/ugurcoruh/">
23+
Daha fazla bilgi için benimle iletişime geçebilirsiniz <strong>@ugurcoruh</strong>
24+
<span class="twemoji">
25+
{% include ".icons/fontawesome/brands/linkedin.svg" %}
26+
</span>
27+
<strong>Linkedin</strong>
28+
</a>
29+
{% endif %}
30+
31+
1632
{% endblock %}
1733
{% block scripts %}
1834
{{ super() }}

docs/resume/download_avesis_cv.bat

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@echo off
2+
@setlocal enableextensions
3+
@cd /d "%~dp0"
4+
5+
set name="ugur"
6+
set surname="coruh"
7+
8+
curl -o "%name%_%surname%_tr_cv.pdf" "https://avesis.erdogan.edu.tr/%name%.%surname%/indir?languageCode=tr"
9+
curl -o "%name%_%surname%_en_cv.pdf" "https://avesis.erdogan.edu.tr/%name%.%surname%/indir?languageCode=en"
10+
11+
pause
12+
13+
14+
15+

docs/resume/index.en.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
template: main.html
3+
---
4+
5+
### Resume
6+
7+
Download
8+
9+
- [Resume-English](ugur_coruh_en_cv.pdf)
10+
11+
- [Resume-Turkish](ugur_coruh_tr_cv.pdf)
12+
13+
=== "English"
14+
15+
<iframe width=700, height=500 frameBorder=0 src="ugur_coruh_en_cv"></iframe>
16+
17+
=== "Turkish"
18+
19+
<iframe width=700, height=500 frameBorder=0 src="ugur_coruh_tr_cv.pdf"></iframe>

docs/resume/index.tr.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
template: main.html
3+
---
4+
5+
### Özgeçmiş
6+
7+
İndir
8+
9+
- [Özgeçmiş-İngilizce](../yildiran_yilmaz_en_cv.pdf)
10+
11+
- [Özgeçmiş-Türkçe](../yildiran_yilmaz_tr_cv.pdf)
12+
13+
=== "İngilizce"
14+
15+
<iframe width=700, height=500 frameBorder=0 src="../yildiran_yilmaz_en_cv.pdf"></iframe>
16+
17+
=== "Türkçe"
18+
19+
<iframe width=700, height=500 frameBorder=0 src="../yildiran_yilmaz_tr_cv.pdf"></iframe>

docs/resume/ugur_coruh_en_cv.pdf

65.7 KB
Binary file not shown.

docs/resume/ugur_coruh_tr_cv.pdf

65.4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/syllabus/convert-pptx2md.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
@setlocal enableextensions
3+
@cd /d "%~dp0"
4+
for %%# in (*.pptx) do set "file_name=%%~nx#"
5+
echo file found %file_name%
6+
rem python 3.6-3.9 is required for pptx2md set PATH variable
7+
Powershell.exe pptx2md --disable-escaping ./%file_name% -o ./%file_name%.md -i ./assets
8+
pause
9+
10+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
curl -o "ce103-algorithms-and-prgramming-I-bologna-tr.pdf" "http://ogrenci.erdogan.edu.tr/BLGNDersBilgiPaketi/PDFTumu?mufDersID=29752&dersGrubuDersID=0&dersID=16075&yilID=null&programID=1221&mufredatID=null&dilID=1"
2+
curl -o "ce103-algorithms-and-prgramming-I-bologna-en.pdf" "http://ogrenci.erdogan.edu.tr/BLGNDersBilgiPaketi/PDFTumu?mufDersID=29752&dersGrubuDersID=0&dersID=16075&yilID=null&programID=1221&mufredatID=null&dilID=2"

docs/syllabus/markdown.build.bat

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
@echo off
22
@setlocal enableextensions
33
@cd /d "%~dp0"
4-
for %%# in (*.md) do set "file_name=%%~nx#"
5-
echo file found %file_name%
6-
Powershell.exe marp %file_name% --pdf -o %file_name%_slide.pdf --allow-local-files
7-
Powershell.exe marp %file_name% -o %file_name%_slide.html --allow-local-files
4+
5+
for %%# in (*.en.md) do set "file_name=%%~nx#"
6+
7+
echo file found "%file_name%"
8+
Powershell.exe marp %file_name% --html --pdf -o %file_name%_slide.pdf --allow-local-files
9+
Powershell.exe marp %file_name% --html -o %file_name%_slide.html --allow-local-files
810
Powershell.exe marp %file_name% --pptx -o %file_name%_slide.pptx --allow-local-files
9-
rem Powershell.exe pandoc %file_name% --pdf-engine=xelatex -V colorlinks -V urlcolor=NavyBlue -V toccolor=Red --toc -N -o %file_name%_doc.pdf
11+
rem call Powershell.exe pandoc %file_name% --pdf-engine=xelatex -V colorlinks -V urlcolor=NavyBlue -V toccolor=Red --toc -N -o %file_name%_doc.pdf
1012
Powershell.exe pandoc %file_name% --pdf-engine=xelatex -f markdown-implicit_figures -V colorlinks -V urlcolor=NavyBlue -V toccolor=Red --toc -N -o %file_name%_doc.pdf
1113
Powershell.exe pandoc -o %file_name%_word.docx -f markdown -t docx %file_name%
12-
Powershell.exe pandoc -o %file_name%_word.pptx -f markdown -t pptx %file_name%
14+
Powershell.exe pandoc -o %file_name%_word.pptx -f markdown -t pptx %file_name%
15+
16+
for %%# in (*.tr.md) do set "file_name=%%~nx#"
17+
18+
echo file found "%file_name%"
19+
Powershell.exe marp %file_name% --html --pdf -o %file_name%_slide.pdf --allow-local-files
20+
Powershell.exe marp %file_name% --html -o %file_name%_slide.html --allow-local-files
21+
Powershell.exe marp %file_name% --pptx -o %file_name%_slide.pptx --allow-local-files
22+
rem call Powershell.exe pandoc %file_name% --pdf-engine=xelatex -V colorlinks -V urlcolor=NavyBlue -V toccolor=Red --toc -N -o %file_name%_doc.pdf
23+
Powershell.exe pandoc %file_name% --pdf-engine=xelatex -f markdown-implicit_figures -V colorlinks -V urlcolor=NavyBlue -V toccolor=Red --toc -N -o %file_name%_doc.pdf
24+
Powershell.exe pandoc -o %file_name%_word.docx -f markdown -t docx %file_name%
25+
Powershell.exe pandoc -o %file_name%_word.pptx -f markdown -t pptx %file_name%
26+
1327
pause

docs/syllabus/markdown.instal_build.bat

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
start "" "http://ogrenci.erdogan.edu.tr/BLGNDersBilgiPaketi/DersBilgileri?mufDersID=29752&dersGrubuDersID=0&dersID=16075&yilID=null&programID=1221&mufredatID=null&dilID=2"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
start "" "http://ogrenci.erdogan.edu.tr/BLGNDersBilgiPaketi/DersBilgileri?mufDersID=29752&dersGrubuDersID=0&dersID=16075&yilID=null&programID=1221&mufredatID=null&dilID=1"

docs/syllabus/syllabus.md renamed to docs/syllabus/syllabus.en.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,13 @@ math: katex
6464

6565
#### Fall Semester, 2021-2022
6666

67-
Download [DOC](syllabus.md_doc.pdf), [SLIDE](syllabus.md_slide.pdf), [PPTX](syllabus.md_slide.pptx)
67+
68+
Download [DOC](syllabus.en.md_doc.pdf), [SLIDE](syllabus.en.md_slide.pdf), [PPTX](syllabus.en.md_slide.pptx)
6869

6970
Download [WORD](2021-2022-fall-ce103-algorithms-and-programming-I-comp-eng.docx), [PDF](2021-2022-fall-ce103-algorithms-and-programming-I-comp-eng.pdf)
7071

71-
<iframe width=700, height=500 frameBorder=0 src="../syllabus.md_slide.html"></iframe>
72+
73+
<iframe width=700, height=500 frameBorder=0 src="../syllabus.en.md_slide.html"></iframe>
7274

7375
---
7476

@@ -382,4 +384,10 @@ If deemed necessary, changes in the lecture content or course schedule can be ma
382384

383385
---
384386

385-
## Ended
387+
### Bologna Information
388+
389+
<iframe width=700, height=1000 frameBorder=0 src="../ce103-algorithms-and-prgramming-I-bologna-en.pdf"></iframe>
390+
391+
---
392+
393+
$End-Of-CE103-Syllabus$

docs/syllabus/syllabus.md_doc.pdf

-75 KB
Binary file not shown.

docs/syllabus/syllabus.md_slide.html

Lines changed: 0 additions & 942 deletions
This file was deleted.

docs/syllabus/syllabus.md_slide.pdf

-241 KB
Binary file not shown.

docs/syllabus/syllabus.md_slide.pptx

-9.83 MB
Binary file not shown.

docs/syllabus/syllabus.md_word.docx

-17.4 KB
Binary file not shown.

docs/syllabus/syllabus.md_word.pptx

-72.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)