diff --git a/README.md b/README.md index bbbf366..6ab48c8 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 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/). @@ -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 diff --git a/dynamic-linking.ro.md b/dynamic-linking.ro.md index 3630d63..7dea014 100644 --- a/dynamic-linking.ro.md +++ b/dynamic-linking.ro.md @@ -187,3 +187,6 @@ 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 +sad 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; +} 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")