Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,17 @@ Create the `helloworld.md` file that will generate that precise GitHub view.
Make sure you do the following:

1. Start by creating a branch where you do your work.
Use `helloworld` for the branch name:

```console
git checkout -b helloworld
```

This will be the branch **from** where you will create a pull request.
As usual, the future pull request will target your assigned branch in the [upstream repository](https://github.com/rosedu/workshop-markdown).

1. Copy-paste contents from the PDF file.
Do not write programs by hand.
Open the `helloworld-print.pdf` file in a PDF viewer, select text, copy in the `helloworld.md` file.

1. Use correct syntax items for typewriter format, links to sections, code snippet format, tables.
See [the GitHub Markdown spec](https://github.github.com/gfm/).
Expand All @@ -195,21 +201,18 @@ Make sure you do the following:

After each push, check the GitHub view of the work branch in your fork of the GitHub repository.

1. After completing the task, submit the `helloworld.md` Markdown file as part of a pull request.

Follow the instructions above to create the pull request.
Make sure you have good commit messages and a good pull request description.
Check the contents of the `helloworld.md` file on your GitHub fork and see if it is now rendered correctly.

Target the pull request **to** your assigned branch.
1. After completing the task, submit the `helloworld.md` Markdown file as part of a pull request.

Ask the instructors to review your pull request.
Make updates as required.
Have your pull request approved and merged on top of your assigned branch.
Follow the instructions above to create the pull request.
Make sure you have good commit messages and a good pull request description.

Check the GitHub web view of the [upstream repository](https://github.com/rosedu/workshop-markdown) for your assigned branch.
Click on the button with `main` (the branch button) and select your branch.
Target the pull request **to** your assigned branch.

Check the contents of the `helloworld.md` file and see if it is now rendered correctly.
1. Ask the instructors to review your pull request.
Make updates as required.
Have your pull request approved and merged on top of your assigned branch.

### Clean Up After Pull Request

Expand Down
8 changes: 4 additions & 4 deletions dynamic-linking.ro.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Diferența este că acum, folosim linkare dinamică în loc de linkare statică
Pentru aceasta, am renunțat la argumentul `-static` folosit la linkare.

Pentru acest exemplu, obținem un singur executabil `main`, din legarea statică cu biblioteca `libinc.a` și legarea dinamică cu biblioteca standard C.
Similar exemplului din directorul `05-static/, folosim comanda `make` pentru a obține executabilul `main`:
Similar exemplului din directorul `05-static/`, folosim comanda `make` pentru a obține executabilul `main`:

```console
[..]/06-dynamic$ ls
Expand All @@ -39,7 +39,7 @@ main: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically link

[..]/06-dynamic$ file ../05-static/main
../05-static/main: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=60adf8390374c898998c0b713a8b1ea0c255af38, not stripped
``
```

Fișierul executabil `main` obținut prin linkare dinamică are un comportament identic fișierului executabil `main` obținut prin linkare statică.
Observăm că dimensiunea sa este mult mai redusă: ocupă `7 KB` comparativ cu `600 KB` cât avea varianta sa statică.
Expand Down Expand Up @@ -77,7 +77,7 @@ La încărcare, o altă componentă software a sistemului, loaderul / linkerul d

Putem investiga bibliotecile dinamice folosite de un executabil prin intermediul utilitarului `ldd`:

``console
```console
[..]/06-dynamic$ ldd main
linux-gate.so.1 (0xf7f97000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7d8a000)
Expand Down Expand Up @@ -186,4 +186,4 @@ num_items: 1

Variabila de mediu `LD_LIBRARY_PATH` pentru loader este echivalentul opțiunii `-L` în comanda de linkare: precizează directoarele în care să fie căutate biblioteci pentru a fi încărcate, respectiv linkate.
Folosirea variabilei de mediu `LD_LIBRARY_PATH` este recomandată pentru teste.
Pentru o folosire robustă, există alte mijloace de precizare a căilor de căutare a bibliotecilor partajate, documentate în (pagina de manual a loaderului / linkerului dinamic)(https://man7.org/linux/man-pages/man8/ld.so.8.html#DESCRIPTION).
Pentru o folosire robustă, există alte mijloace de precizare a căilor de căutare a bibliotecilor partajate, documentate în [pagina de manual a loaderului / linkerului dinamic](https://man7.org/linux/man-pages/man8/ld.so.8.html#DESCRIPTION).
68 changes: 68 additions & 0 deletions my_markdown.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# My Awesome Markdown File 😎

## Introduction
Welcome to my **Markdown demo**! Here you'll see many Markdown features in action!!!

---

## Features

### 1. Headings
We already have headings, but here’s a quick example:


# H1
## H2
### H3


---


### 2. Links
[Cool Link](https://www.google.com/)

---


### 3. Code

```Python
greet(name):
print(f"Hello, {name}!")
greet("World")
```
### 4. Table

|Name |Age |Language |
|-------|-------|----------|
|Alice |25 |Python |
|Bob |30 |C++ |
|Charlie|22 |JavaScript|

---
### 5. Ordered List
1. First item
2. Second item
3. Third item
4. Fourth item


### 6. Unordered List
- First item
- Second item
- Third item
- Fourth item

---
### 7. Image
![Cool Image](./sample-image-3.jpg)

---
### 8. Emoticon

😁💻🚀



---
Binary file added sample-image-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.