From 25369dcfcbc11d6e0f00514d24d30da48ff6c591 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Sat, 22 Mar 2025 12:40:59 +0200 Subject: [PATCH 1/6] README: Improve description of helloworld task Improve description of task to create Markdown file from PDF contents. Signed-off-by: Razvan Deaconescu --- README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index bbbf366..260eb01 100644 --- a/README.md +++ b/README.md @@ -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 checkoout -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/). @@ -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 From 2ce97469fd9914232f2087b53082bb465cdfefd4 Mon Sep 17 00:00:00 2001 From: AntonieValentin Date: Fri, 24 Oct 2025 21:47:50 +0300 Subject: [PATCH 2/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 260eb01..6ab48c8 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Make sure you do the following: Use `helloworld` for the branch name: ```console - git checkoout -b helloworld + git checkout -b helloworld ``` This will be the branch **from** where you will create a pull request. From 42a60e78a056e1d787ba8f3f70ff4e384e065e9d Mon Sep 17 00:00:00 2001 From: LSStefan Date: Sat, 25 Oct 2025 11:24:41 +0300 Subject: [PATCH 3/6] fixat dynamic-linking.ro.md --- dynamic-linking.ro.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dynamic-linking.ro.md b/dynamic-linking.ro.md index 3630d63..4e4382c 100644 --- a/dynamic-linking.ro.md +++ b/dynamic-linking.ro.md @@ -187,3 +187,5 @@ 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). + +AM fixat erorile :D From ac78d364fca1577beb0c1742ea83cd946945cc9e Mon Sep 17 00:00:00 2001 From: LSStefan Date: Sat, 25 Oct 2025 11:45:55 +0300 Subject: [PATCH 4/6] AM fixat erorile :D --- dynamic-linking.ro.md | 1 + 1 file changed, 1 insertion(+) diff --git a/dynamic-linking.ro.md b/dynamic-linking.ro.md index 4e4382c..7dea014 100644 --- a/dynamic-linking.ro.md +++ b/dynamic-linking.ro.md @@ -189,3 +189,4 @@ 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). AM fixat erorile :D +sad From 3e3a5139c387f4c0615edcedd6f111bd9117a13c Mon Sep 17 00:00:00 2001 From: LSStefan Date: Sat, 25 Oct 2025 12:15:15 +0300 Subject: [PATCH 5/6] helloworld.md --- helloworld.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 helloworld.md diff --git a/helloworld.md b/helloworld.md new file mode 100644 index 0000000..b526fa3 --- /dev/null +++ b/helloworld.md @@ -0,0 +1,36 @@ +# Helloworld Programs + +We list below Helloworld programs for different programming languages, i.e., programs that print `"Hello, World!"`. +The specified compiler or interpreter is required for each programming language. + +The table below summarizes the programs: + +| Language | Spec / Site | Section | Build / Run Toolchain | Debian / Ubuntu Packages | +|----------------|------------------|----------------|-------------------------------|-------------------------| +| C | The Standard - C | C | GCC | build-essential | +| C++ | The Standard - C++| C++ | GCC / G++ | build-essential, g++ | +| D | D Programming Lang| Dlang | GCC / GDC | build-essential, gdc | +| Go | Go Programming | Go | Go | golang | +| Rust | Rust Lang | Rust | Rust (Crate) | rustlang | +| Java | Java Lang | Java | JDK | openjdk-17-jdk | +| x86_64 Assembly| x86_64 ISA | Assembly | GCC / GAS | build-essential | +| ARM64 Assembly | ARM64 ISA | Assembly | GCC / GAS (AArch64) | build-essential | +| Bash | Bash Reference | Bash | Bash | bash | +| Python | Python.org | Python | Python | python | +| Ruby | Ruby Lang | Ruby | Ruby | ruby | +| PHP | PHP | PHP | PHP | php | +| Perl | Perl Lang | Perl | Perl | perl | +| Lua | Lua Lang | Lua | Lua | lua | + +--- + +## Programs + +### C +```c +#include +int main(void) +{ + puts("Hello, World!"); + return 0; +} From 8d810cceba0cf13c78164ffce7bb7ddd77b9d9ab Mon Sep 17 00:00:00 2001 From: LSStefan Date: Sat, 25 Oct 2025 12:20:05 +0300 Subject: [PATCH 6/6] mymarkdown --- mymarkdown.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 mymarkdown.md diff --git a/mymarkdown.md b/mymarkdown.md new file mode 100644 index 0000000..61d87ac --- /dev/null +++ b/mymarkdown.md @@ -0,0 +1,47 @@ +# My Awesome Markdown Demo 🚀 + +Welcome to my **Markdown playground**! Below you’ll find examples of almost every Markdown feature you asked for. + +--- + +## Table of Contents +1. [Introduction](#introduction) +2. [Lists](#lists) +3. [Code Snippet](#code-snippet) +4. [Table](#table) +5. [Link](#link) +6. [Image](#image) + +--- + +## Introduction + +Markdown is a lightweight markup language. It allows you to write formatted text using a simple plain-text syntax. +Here’s a fun emoji for you: 😎 + +--- + +## Lists + +### Unordered List +- Apples 🍎 +- Bananas 🍌 +- Cherries 🍒 + +### Ordered List +1. Wake up 🌅 +2. Code some Python 🐍 +3. Drink coffee ☕ +4. Push commits to GitHub 💻 + +--- + +## Code Snippet + +Here’s a Python example: + +```python +def greet(name): + print(f"Hello, {name}!") + +greet("Stefanita")