rename files to use dashes, add rename script, update readme

main
borb 2 weeks ago
parent 7a2601d0c6
commit 0f0335833e

@ -1,3 +1,4 @@
wsl bash renamePptx.sh
call convertPptxToMd.bat
REN img imgs

@ -0,0 +1,3 @@
for f in *.pptx; do
mv -- "$f" "$(echo "$f" | tr '[:upper:]' '[:lower:]' | tr ' ' '-')"
done

File diff suppressed because one or more lines are too long

@ -32,7 +32,7 @@
</li>
<li data-marpit-fragment="3">While a static class could be used for this, there are some problems:
<ul>
<li data-marpit-fragment="4">As stated in <a href="10.%20Static%20Members,%20Methods%20and%20Classes.md#StaticClasses">lecture 10</a>, static classes can only have static members</li>
<li data-marpit-fragment="4">As stated in <a href="10-static-members-methods-and-classes#StaticClasses">lecture 10</a>, static classes can only have static members</li>
<li data-marpit-fragment="5">Static classes cannot be instantiated, so a reference to them cannot be passed around as a parameter</li>
<li data-marpit-fragment="6">Static classes cannot inherit from other classes or implement interfaces</li>
<li data-marpit-fragment="7"><a href="https://www.c-sharpcorner.com/UploadFile/akkiraju/singleton-vs-static-classes/">And many more... </a></li>

@ -23,7 +23,7 @@ title: 15. Design Patterns in C#
* In most cases, it makes no sense to create an instance of a class every time its members need to be accessed
* For example, a shared resource manager that is being called from multiple classes
* While a static class could be used for this, there are some problems:
* As stated in [lecture 10](10.%20Static%20Members,%20Methods%20and%20Classes.md#StaticClasses), static classes can only have static members
* As stated in [lecture 10](10-static-members-methods-and-classes#StaticClasses), static classes can only have static members
* Static classes cannot be instantiated, so a reference to them cannot be passed around as a parameter
* Static classes cannot inherit from other classes or implement interfaces
* [And many more... ](https://www.c-sharpcorner.com/UploadFile/akkiraju/singleton-vs-static-classes/)

@ -2,8 +2,9 @@
Material completion denoted with 🌑🌘🌗🌖🌕 .
| # | Lecture | Materials | Exercises |
| ---: | ------------------------------------- | --------: | --------: |
| 13 | [Generics, IEnumberable and LINQ](13.%20Generics,%20IEnumerable%20and%20LINQ.md) | 🌕 | 🌕 |
| 14 | [Exceptions, Threads and Tasks](14.%20Exceptions,%20Threads%20and%20Tasks.md) | 🌕 | 🌕 |
| 15 | [Design Patterns in C#](15.%20Design%20Patterns%20in%20C#.md) | 🌗 | 🌑 |
| # | Lecture | Materials | Exercises |
|---:|------------------------------------------------------------------------|----------:|----------:|
| 12 | [Files and Streams](12-files-and-streams.md) | 🌕 | 🌕 |
| 13 | [Generics, IEnumberable and LINQ](13-generics-ienumerable-and-linq.md) | 🌕 | 🌕 |
| 14 | [Exceptions, Threads and Tasks](14-exceptions-threads-and-tasks.md) | 🌕 | 🌕 |
| 15 | [Design Patterns in C#](15-design-patterns-in-csharp.md) | 🌗 | 🌑 |

Loading…
Cancel
Save