소스 검색

Upgrade commands

Pierre-Yves Barriat 1 년 전
부모
커밋
8e2c86f27b
4개의 변경된 파일295개의 추가작업 그리고 25개의 파일을 삭제
  1. 229 0
      .gitignore
  2. 66 25
      MarkDown.md
  3. BIN
      MarkDown.pdf
  4. 0 0
      compile.sh

+ 229 - 0
.gitignore

@@ -0,0 +1,229 @@
+MarkDown.html
+
+# ---> VisualStudioCode
+.settings
+
+
+# ---> TeX
+## Core latex/pdflatex auxiliary files:
+*.aux
+*.lof
+*.log
+*.lot
+*.fls
+*.out
+*.toc
+
+## Intermediate documents:
+*.dvi
+*-converted-to.*
+# these rules might exclude image files for figures etc.
+# *.ps
+# *.eps
+# *.pdf
+
+## Bibliography auxiliary files (bibtex/biblatex/biber):
+*.bbl
+*.bcf
+*.blg
+*-blx.aux
+*-blx.bib
+*.brf
+*.run.xml
+
+## Build tool auxiliary files:
+*.fdb_latexmk
+*.synctex
+*.synctex.gz
+*.synctex.gz(busy)
+*.pdfsync
+
+## Auxiliary and intermediate files from other packages:
+
+
+# algorithms
+*.alg
+*.loa
+
+# achemso
+acs-*.bib
+
+# amsthm
+*.thm
+
+# beamer
+*.nav
+*.snm
+*.vrb
+
+#(e)ledmac/(e)ledpar
+*.end
+*.[1-9]
+*.[1-9][0-9]
+*.[1-9][0-9][0-9]
+*.[1-9]R
+*.[1-9][0-9]R
+*.[1-9][0-9][0-9]R
+*.eledsec[1-9]
+*.eledsec[1-9]R
+*.eledsec[1-9][0-9]
+*.eledsec[1-9][0-9]R
+*.eledsec[1-9][0-9][0-9]
+*.eledsec[1-9][0-9][0-9]R
+
+# glossaries
+*.acn
+*.acr
+*.glg
+*.glo
+*.gls
+
+# gnuplottex
+*-gnuplottex-*
+
+# hyperref
+*.brf
+
+# knitr
+*-concordance.tex
+*.tikz
+*-tikzDictionary
+
+# listings
+*.lol
+
+# makeidx
+*.idx
+*.ilg
+*.ind
+*.ist
+
+# minitoc
+*.maf
+*.mtc
+*.mtc[0-9]
+*.mtc[1-9][0-9]
+
+# minted
+_minted*
+*.pyg
+
+# morewrites
+*.mw
+
+# mylatexformat
+*.fmt
+
+# nomencl
+*.nlo
+
+# sagetex
+*.sagetex.sage
+*.sagetex.py
+*.sagetex.scmd
+
+# sympy
+*.sout
+*.sympy
+sympy-plots-for-*.tex/
+
+# TikZ & PGF
+*.dpth
+*.md5
+*.auxlock
+
+# todonotes
+*.tdo
+
+# xindy
+*.xdy
+
+# WinEdt
+*.bak
+*.sav
+
+# ---> SublimeText
+# cache files for sublime text
+*.tmlanguage.cache
+*.tmPreferences.cache
+*.stTheme.cache
+
+# workspace files are user-specific
+*.sublime-workspace
+
+# project files should be checked into the repository, unless a significant
+# proportion of contributors will probably not be using SublimeText
+# *.sublime-project
+
+# sftp configuration file
+sftp-config.json
+
+# ---> Python
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+env/
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+*.egg-info/
+.installed.cfg
+*.egg
+
+# PyInstaller
+#  Usually these files are written by a python script from a template
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*,cover
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+target/
+
+# ---> Linux
+*~
+
+# KDE directory preferences
+.directory
+
+# Linux trash folder which might appear on any partition or disk
+.Trash-*
+

+ 66 - 25
MarkDown.md

@@ -15,7 +15,7 @@ math: true
 Markdown and applications<!--fit-->
 ===
 
-https://gogs.elic.ucl.ac.be/pbarriat/learning-linux
+https://gogs.elic.ucl.ac.be/pbarriat/learning-markdown
 
 ![h:280](assets/logo.png)
 
@@ -79,35 +79,51 @@ After you've become familiar with Markdown, you may want to use a Markdown appli
 ## Visual Studio Code
 
 VSC is one of the most popular and powerful text editors used by software engineers today 
-> free and available for [macOS](https://www.youtube.com/watch?v=8CJXB4Nu1wo), [Windows](https://www.youtube.com/watch?v=AdeWO-n9O2Q)
+> free and available for [macOS](https://www.youtube.com/watch?v=8CJXB4Nu1wo), [Windows](https://www.youtube.com/watch?v=AdeWO-n9O2Q) and [Linux](https://code.visualstudio.com/download)
 
-> Linux: `wget` the **deb** package then `dpkg -i code*.deb` 
+### You didn't already install VS Code ?
 
-- Markdown All in One
-- Remote - SSH
-- Snippets
-- Tabnine
-- Regex Previewer
+Take a look here
+https://gogs.elic.ucl.ac.be/pbarriat/learning-vscode
 
 ---
 
-## VS Code in WSL
+### VS Code in WSL
 
-Open the Ubuntu terminal and do
+Open a **Powershell terminal** in **Administrator mode** and do
+
+```sh
+wsl --update
+```
+
+Open the **Ubuntu terminal** and do
 
 ```bash
 sudo apt update
 sudo apt upgrade
-
 sudo apt install gedit -y
 sudo apt install chromium-browser -y
-sudo apt install git -y
+```
 
-#wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
-#sudo dpkg -i google-chrome-stable_current_amd64.deb
+---
+
+### VS Code in Ubuntu
 
+Open the **terminal** and do
+
+```bash
+sudo apt update
+sudo apt upgrade
+sudo apt install chromium-browser -y
 ```
 
+### VS Code in any case
+
+Open VS Code and install the following extensions
+
+- `Markdown All in One`
+- `Marp`
+
 ---
 
 ## Pandoc
@@ -139,7 +155,7 @@ rm -rf pandoc-3.1.2 pandoc-3.1.2-linux-amd64.tar.gz pandoc-crossref-Linux.tar.xz
 > free and available for [macOS](https://www.tug.org/mactex/), [Windows](https://miktex.org/download), and Linux
 
 ```bash
-sudo apt install texlive-latex-base \
+sudo apt install -y texlive-latex-base \
                  texlive-latex-recommended \
                  texlive-fonts-recommended \
                  texlive-latex-extra \
@@ -156,23 +172,48 @@ sudo apt install texlive-latex-base \
 Marp (MarkDown slides extension) can convert **Marp Markdown** files into static HTML/CSS, PDF, PowerPoint document, and image(s) easily
 
 Download and install marp-cli (a **CLI** interface for Marp) from the standalone binaries
-> free and available for [macOS](https://github.com/marp-team/marp-cli/releases/download/v2.4.0/marp-cli-v2.4.0-mac.tar.gz), [Windows](https://github.com/marp-team/marp-cli/releases/download/v2.4.0/marp-cli-v2.4.0-win.zip), and [Linux](https://github.com/marp-team/marp-cli/releases/download/v2.4.0/marp-cli-v2.4.0-linux.tar.gz)
-
+> free and [available](https://github.com/marp-team/marp-cli/releases/) for macOS, Windows and Linux
 > you must install Chrome, Chromium or Edge
 
+```bash
+cd
+wget https://github.com/marp-team/marp-cli/releases/download/v2.5.0/marp-cli-v2.5.0-linux.tar.gz
+tar xzf marp-cli-v2.5.0-linux.tar.gz
+mv marp bin ; rm -f marp-cli-v2.5.0-linux.tar.gz
+```
+
 ---
 
-# Examples
+## VS Code nice extensions
+
+- `Remote - SSH` : lets you use any remote machine with a SSH server
+- `Tabnine` : code faster with AI code completions
+- `Regex Previewer` : shows the current regular expression's matches
+- `Markdown Preview Enhanced `
+- `Markdownlint`
+
+And :
 
-#marp --allow-local-files --theme tum.css git_elic.md -o git_elic.pdf
-#marp --template bespoke --bespoke.progress --allow-local-files --theme tum.css git_elic.md -o git_elic.html
+- `Modern Fortran`
 
-https://www.markdownguide.org/getting-started/
 
-https://jaantollander.com/post/scientific-writing-with-markdown/
+---
+
+# My first example: README.md
+
+---
 
-https://curvenote.com/blog/writing-a-scientific-paper-faster-myst-markdown
+# For my second example, I want slides
+
+---
+
+# Now I want a small document: a letter
+
+---
+
+# A bigger document ? a report maybe ?
+
+---
 
-https://github.com/MartinHeroux/pandoc_article_template
+# My last example: a scientific paper !
 
-https://phd.row1.ca/phd

BIN
MarkDown.pdf


+ 0 - 0
compile.sh