Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ashrafuzzaman committed Nov 10, 2023
1 parent 03dd4fe commit 344873c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

4 changes: 3 additions & 1 deletion src/components/slide/RevealInitializer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import "/node_modules/reveal.js/plugin/highlight/monokai.css";
import Reveal from "reveal.js";
import RevealHighlight from "reveal.js/plugin/highlight/highlight.js";
import Markdown from "reveal.js/plugin/markdown/markdown.js";
import RevealNotes from "reveal.js/plugin/notes/notes.js";

Reveal.initialize({
plugins: [Markdown, RevealHighlight, RevealMermaid],
plugins: [Markdown, RevealHighlight, RevealMermaid, RevealNotes],
markdown: {
smartypants: true,
},
Expand All @@ -35,5 +36,6 @@ import "/node_modules/reveal.js/plugin/highlight/monokai.css";
},
fragments: true,
backgroundTransition: "slide",
showNotes: false,
});
</script>
6 changes: 6 additions & 0 deletions src/content/slides/distributed-system-101.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,16 @@ sequenceDiagram

![M87 blackhole](/assets/distributed-system/M87.webp)

<!-- .element: class="fragment" -->

---

### Event Horizon Telescope

![Event Horizon Telescope](/assets/distributed-system/Event-Horizon-Telescope.svg)

<!-- .element: class="fragment" -->

---

## Failure detection
Expand Down
6 changes: 3 additions & 3 deletions src/content/slides/oop-vs-fp.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ draft: true

### Object Oriented programming (OOP)

- Data encapsulation <!-- .element: class="fragment" -->
- Encapsulation <!-- .element: class="fragment" -->
- Inheritance <!-- .element: class="fragment" -->
- Polymorphism <!-- .element: class="fragment" -->

---

### Why: data encapsulation?
### Why: encapsulation?

```mermaid
classDiagram
Expand All @@ -31,7 +31,7 @@ classDiagram
}
```

```js [1|2]
```js [1|2|3]
car.engine.start(); ❌
car.checkSafety(); ❌
car.start();
Expand Down

0 comments on commit 344873c

Please sign in to comment.