From 3ce5910bde119a9183022b15cd85f35230b173c2 Mon Sep 17 00:00:00 2001 From: mustafa Date: Wed, 9 Apr 2025 10:48:22 +0330 Subject: [PATCH] 20 --- 10-devops/markdown/test.md | 10 -- .../1-Apache.md | 0 .../{4-WebServer => WebServer_old}/2-Nginx.md | 0 .../{apache => WebServer_old}/apache.md | 0 .../install apache.md | 0 .../remove Apache2 from Ubuntu Server.md | 0 .../Installing and Configuring and Modules.md | 0 7-PHP/{2-PHP => PHP_old}/0-minimal.md | 0 .../Installing and Configuring and Modules.md | 0 7-PHP/{2-PHP => PHP_old}/more/minimal.md | 0 .../Ubuntu_change_hostname.md | 0 {9- Virtual Server => 8-ubuntu}/VMware.md | 0 {0-Check List => 8-ubuntu}/list.md | 0 .../permission_command.md | 0 .../scp-secure_copy_remote_file.md | 0 .../setfacl-setFileAccessToUser.md | 0 {0-Check List => 8-ubuntu}/حل مشکل.md | 0 Learning_Our_Project | 1 - test/testcss.md | 102 ------------------ test/testscroll.md | 45 -------- 20 files changed, 158 deletions(-) delete mode 100644 10-devops/markdown/test.md rename 4-WebServer/{4-WebServer => WebServer_old}/1-Apache.md (100%) rename 4-WebServer/{4-WebServer => WebServer_old}/2-Nginx.md (100%) rename 4-WebServer/{apache => WebServer_old}/apache.md (100%) rename 4-WebServer/{apache => WebServer_old}/install apache.md (100%) rename 4-WebServer/{apache => }/remove Apache2 from Ubuntu Server.md (100%) rename 6-MariaDB/{New folder => old}/Installing and Configuring and Modules.md (100%) rename 7-PHP/{2-PHP => PHP_old}/0-minimal.md (100%) rename 7-PHP/{2-PHP => PHP_old}/more/Installing and Configuring and Modules.md (100%) rename 7-PHP/{2-PHP => PHP_old}/more/minimal.md (100%) rename {8- ubuntu configuration => 8-ubuntu}/Ubuntu_change_hostname.md (100%) rename {9- Virtual Server => 8-ubuntu}/VMware.md (100%) rename {0-Check List => 8-ubuntu}/list.md (100%) rename {8- ubuntu configuration => 8-ubuntu}/permission_command.md (100%) rename {10-devops/ubuntu => 8-ubuntu}/scp-secure_copy_remote_file.md (100%) rename {10-devops/ubuntu => 8-ubuntu}/setfacl-setFileAccessToUser.md (100%) rename {0-Check List => 8-ubuntu}/حل مشکل.md (100%) delete mode 160000 Learning_Our_Project delete mode 100644 test/testcss.md delete mode 100644 test/testscroll.md diff --git a/10-devops/markdown/test.md b/10-devops/markdown/test.md deleted file mode 100644 index 4566cfe..0000000 --- a/10-devops/markdown/test.md +++ /dev/null @@ -1,10 +0,0 @@ - -

- - { - line 1 of code - line 2 of code(); - line 3 of code - } - -

\ No newline at end of file diff --git a/4-WebServer/4-WebServer/1-Apache.md b/4-WebServer/WebServer_old/1-Apache.md similarity index 100% rename from 4-WebServer/4-WebServer/1-Apache.md rename to 4-WebServer/WebServer_old/1-Apache.md diff --git a/4-WebServer/4-WebServer/2-Nginx.md b/4-WebServer/WebServer_old/2-Nginx.md similarity index 100% rename from 4-WebServer/4-WebServer/2-Nginx.md rename to 4-WebServer/WebServer_old/2-Nginx.md diff --git a/4-WebServer/apache/apache.md b/4-WebServer/WebServer_old/apache.md similarity index 100% rename from 4-WebServer/apache/apache.md rename to 4-WebServer/WebServer_old/apache.md diff --git a/4-WebServer/apache/install apache.md b/4-WebServer/WebServer_old/install apache.md similarity index 100% rename from 4-WebServer/apache/install apache.md rename to 4-WebServer/WebServer_old/install apache.md diff --git a/4-WebServer/apache/remove Apache2 from Ubuntu Server.md b/4-WebServer/remove Apache2 from Ubuntu Server.md similarity index 100% rename from 4-WebServer/apache/remove Apache2 from Ubuntu Server.md rename to 4-WebServer/remove Apache2 from Ubuntu Server.md diff --git a/6-MariaDB/New folder/Installing and Configuring and Modules.md b/6-MariaDB/old/Installing and Configuring and Modules.md similarity index 100% rename from 6-MariaDB/New folder/Installing and Configuring and Modules.md rename to 6-MariaDB/old/Installing and Configuring and Modules.md diff --git a/7-PHP/2-PHP/0-minimal.md b/7-PHP/PHP_old/0-minimal.md similarity index 100% rename from 7-PHP/2-PHP/0-minimal.md rename to 7-PHP/PHP_old/0-minimal.md diff --git a/7-PHP/2-PHP/more/Installing and Configuring and Modules.md b/7-PHP/PHP_old/more/Installing and Configuring and Modules.md similarity index 100% rename from 7-PHP/2-PHP/more/Installing and Configuring and Modules.md rename to 7-PHP/PHP_old/more/Installing and Configuring and Modules.md diff --git a/7-PHP/2-PHP/more/minimal.md b/7-PHP/PHP_old/more/minimal.md similarity index 100% rename from 7-PHP/2-PHP/more/minimal.md rename to 7-PHP/PHP_old/more/minimal.md diff --git a/8- ubuntu configuration/Ubuntu_change_hostname.md b/8-ubuntu/Ubuntu_change_hostname.md similarity index 100% rename from 8- ubuntu configuration/Ubuntu_change_hostname.md rename to 8-ubuntu/Ubuntu_change_hostname.md diff --git a/9- Virtual Server/VMware.md b/8-ubuntu/VMware.md similarity index 100% rename from 9- Virtual Server/VMware.md rename to 8-ubuntu/VMware.md diff --git a/0-Check List/list.md b/8-ubuntu/list.md similarity index 100% rename from 0-Check List/list.md rename to 8-ubuntu/list.md diff --git a/8- ubuntu configuration/permission_command.md b/8-ubuntu/permission_command.md similarity index 100% rename from 8- ubuntu configuration/permission_command.md rename to 8-ubuntu/permission_command.md diff --git a/10-devops/ubuntu/scp-secure_copy_remote_file.md b/8-ubuntu/scp-secure_copy_remote_file.md similarity index 100% rename from 10-devops/ubuntu/scp-secure_copy_remote_file.md rename to 8-ubuntu/scp-secure_copy_remote_file.md diff --git a/10-devops/ubuntu/setfacl-setFileAccessToUser.md b/8-ubuntu/setfacl-setFileAccessToUser.md similarity index 100% rename from 10-devops/ubuntu/setfacl-setFileAccessToUser.md rename to 8-ubuntu/setfacl-setFileAccessToUser.md diff --git a/0-Check List/حل مشکل.md b/8-ubuntu/حل مشکل.md similarity index 100% rename from 0-Check List/حل مشکل.md rename to 8-ubuntu/حل مشکل.md diff --git a/Learning_Our_Project b/Learning_Our_Project deleted file mode 160000 index 1ec1559..0000000 --- a/Learning_Our_Project +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1ec15599c57101e0c3203140bf81b5a91fa1217b diff --git a/test/testcss.md b/test/testcss.md deleted file mode 100644 index 14ba8f8..0000000 --- a/test/testcss.md +++ /dev/null @@ -1,102 +0,0 @@ - -
-
-  ### Header
-
-  
...body...text...
- -
...body...text...
- -
...body...text...
- -
...body...text...
- -
...body...text...
- -
...body...text...
- -
...body...text...
- -
- -
-##   [1]   1   2   3   4   5   6   7   8   9  10
-##  [11]  11  12  13  14  15  16  17  18  19  20
-##  ... ...
-
- - -```{r, include=FALSE} -options(width = 60) -local({ - hook_output <- knitr::knit_hooks$get('output') - knitr::knit_hooks$set(output = function(x, options) { - if (!is.null(options$max.height)) options$attr.output <- c( - options$attr.output, - sprintf('style="max-height: %s;"', options$max.height) - ) - hook_output(x, options) - }) -}) -``` - -# Heading 1 -Regular text. -**Bold text.** *Italic text.* ***Both: bold and italic.*** - -A line (horizontal ruler) using underscores: -___ - -Strike through NB. using `~~deleted text~~` doesn't work in Freeplane (Java html/css renderer) - -E.g. ~~deleted text~~ - -Underlined text - -## Heading 2 -> A quote, line 1. -> Line 2 of the quote (will be joined with line 1). ->> A quote within a quote - -### Heading 3 -Sample text with `an in-line piece of code`. - -```groovy -// a Groovy code example - as a block of code -def name = 'Freeplane User' -"Hello, ${name}!" -"Hello2, ${name2}!" -``` - - Another example of a block of code - introduced as indented Markdown (with a tab or 4 spaces) - -> An example of a quote -> containing a block of code -> At least 5 spaces need to be used -> And it continues as a regular quote - -#### Heading 4 -A table - -| # | Language | [Pangram](https://en.wikipedia.org/wiki/Pangram) | -|--|--|--| -| 1 | English | The quick brown fox jumps over the lazy dog | -| 2 | French | Portez ce vieux whisky au juge blond qui fume | -| 3 | German | Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich | -| 4 | Italian | Pranzo d'acqua fa volti sghembi | -| 5 | Spanish | Benjamín pidió una bebida de kiwi y fresa. Noé, sin vergüenza, la más exquisita champaña del menú | - -##### Heading 5 -A list of items - -* Item 1 -* Item 2 -* Item 3 - -###### Heading 6 -A numbered list - -1. Item A -2. Item B -3. Item C \ No newline at end of file diff --git a/test/testscroll.md b/test/testscroll.md deleted file mode 100644 index e060b36..0000000 --- a/test/testscroll.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: Scrollable code blocks -input : markdown -output: html_document ---- - -```{css, echo=FALSE} -pre { - max-height: 300px; - overflow-y: auto; -} - -pre[class] { - max-height: 100px; -} -``` - -We have defined some CSS rules to limit the height of -code blocks. Now we can test if these rules work on code -blocks and text output: - -```{r} -# pretend that we have a lot of code in this chunk -if (1 + 1 == 2) { - # of course that is true - print(mtcars) - # we just printed a lengthy data set -} -``` - -Next we add rules for a new class `scroll-100` to limit -the height to 100px, and add the class to the output of -a code chunk via the chunk option `class.output`: - -```{css, echo=FALSE} -.scroll-100 { - max-height: 100px; - overflow-y: auto; - background-color: inherit; -} -``` - -```{r, class.output="scroll-100"} -print(mtcars) -``` \ No newline at end of file