From 5ce6b00b0147f0f6f6057aa9e9ae503c42d67769 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Thu, 19 Jul 2018 16:09:56 +0200 Subject: [PATCH] Regenerate HTML filesxs --- .../ressources/introduction_to_markdown.html | 102 +++++----- module2/ressources/emacs_orgmode.html | 176 +++++++++--------- module2/ressources/jupyter.html | 98 +++++----- module2/ressources/rstudio.html | 80 ++++---- 4 files changed, 228 insertions(+), 228 deletions(-) diff --git a/module1/ressources/introduction_to_markdown.html b/module1/ressources/introduction_to_markdown.html index c9d4a86..ad6bfc2 100644 --- a/module1/ressources/introduction_to_markdown.html +++ b/module1/ressources/introduction_to_markdown.html @@ -4,26 +4,26 @@

Table of Contents

@@ -34,13 +34,13 @@ Voici un aperçu rapide de la syntaxe Markdown repris d'une présentation de Github ainsi que de celles d'Archer Reilly et de James H. Steiger.

-
-

Syntaxe

-
+
+

Syntaxe

+
-
-

Headers

-
+
+

Headers

+
 # This is an <h1> tag
 ## This is an <h2> tag
@@ -49,9 +49,9 @@ H. Steiger.
 
-
-

Emphasis

-
+
+

Emphasis

+
 *This text will be italic*
 _This will also be italic_
@@ -64,13 +64,13 @@ _You **can** combine them_
 
-
-

Lists

-
+
+

Lists

+
-
-

Unordered

-
+
+

Unordered

+
 * Item 1
 * Item 2
@@ -79,9 +79,9 @@ _You **can** combine them_
 
-
-

Ordered

-
+
+

Ordered

+
 1. Item 1
 1. Item 2
@@ -92,27 +92,27 @@ _You **can** combine them_
 
-
-

Images

-
+
+

Images

+
 ![GitHub Logo](/images/logo.png)
 Format: ![Alt Text](url)
 
-
-

Links

-
+
+

Links

+
 http://github.com - automatic!
 [GitHub](http://github.com)
 
-
-

Blockquotes

-
+
+

Blockquotes

+
 As Kanye West said:
 
@@ -121,9 +121,9 @@ As Kanye West said:
 
-
-

Inline code

-
+
+

Inline code

+
 I think you should use an
 `<addr>` element here instead.
@@ -131,9 +131,9 @@ I think you should use an
 
-
-

Écrire des Maths

-
+
+

Écrire des Maths

+

Equations can be formatted inline or as displayed formulas. In the latter case, they are centered and set off from the main text. In the @@ -177,9 +177,9 @@ This summation expression is in display form.

-
-

Lettres grecques

-
+
+

Lettres grecques

+
@@ -223,8 +223,8 @@ This summation expression is in display form.
-
-

Operators

+
+

Operators

diff --git a/module2/ressources/emacs_orgmode.html b/module2/ressources/emacs_orgmode.html index c2bd1dc..a229ff2 100644 --- a/module2/ressources/emacs_orgmode.html +++ b/module2/ressources/emacs_orgmode.html @@ -4,64 +4,64 @@

Table of Contents

-
-

Installing emacs, org-mode, ess, and auctex.

-
+
+

Installing emacs, org-mode, ess, and auctex.

+
-
-

OS-specific installation procedure

-
+
+

OS-specific installation procedure

+
-
-

Linux (Debian, Ubuntu)

-
+
+

Linux (Debian, Ubuntu)

+

We provide here only instructions for debian-based distributions. Feel free to contribute to this document to provide up-to-date information @@ -123,9 +123,9 @@ which is now deprecated.

-
-

Mac OS X

-
+
+

Mac OS X

+
  • Option 1: Install the .dmg file from Vincent Goulet: @@ -158,9 +158,9 @@ brew install wget

-
-

Windows

-
+
+

Windows

+

Install the .exe file from Vincent Goulet: https://vigou3.github.io/emacs-modified-windows/. It ships with recent @@ -174,9 +174,9 @@ versions:

-
-

A simple "reproducible research" emacs configuration

-
+
+

A simple "reproducible research" emacs configuration

+

Emacs comes with very basic default configuration and it appears like everyone has its own taste. You will for example find here several @@ -189,9 +189,9 @@ adding a few org-mode specific configurations.

-
-

Step 0: Backup and download our configuration

-
+
+

Step 0: Backup and download our configuration

+

The procedure we propose will wipe your already existing custom emacs configuration if you already have one. You should thus beforehand make @@ -212,9 +212,9 @@ rr_org/journal.org

-
-

Step 1: Prepare your journal

-
+
+

Step 1: Prepare your journal

+

Create an org/ directory in the top of your home:

@@ -231,9 +231,9 @@ should give a try.

-
-

Step 2: Set up Emacs configuration

-
+
+

Step 2: Set up Emacs configuration

+

Copy rr_org/init.el in your ~/.emacs.d/ directory.

@@ -245,9 +245,9 @@ configuration with the following command: emacs -q -l rr_org/init.el
-
-

Step 3: Check whether the installation is working or not

-
+
+

Step 3: Check whether the installation is working or not

+

Open a new instance of Emacs and open a foo.org file. Copy the following lines in this file: @@ -278,9 +278,9 @@ is demonstrated in the first entr

-
-

Step 4: Open and play with your journal:

-
+
+

Step 4: Open and play with your journal:

+

In step 1, you were told to create an journal in ~org/journal.org. First you probably want to make sure this file is @@ -292,22 +292,22 @@ forums.

-
-

Emacs Tips and tricks

-
+
+

Emacs Tips and tricks

+
-
-

Cheat-sheets

-
+
+

Cheat-sheets

+

Learning emacs and org-mode can be difficult as there is an inordinate amount of shortcuts. Many people have thus come up with cheat-sheats. Here is a selection in case it helps:

-
-

Emacs

-
+ -
-

Org-mode

-
+
+

Org-mode

+
-
-

Video tutorials

-
+
+

Video tutorials

+

For those of you who prefer video explanations, here is a Youtube channel with many step by step emacs tutorials.

-
-

Additional useful emacs packages

-
+
+

Additional useful emacs packages

+
-
-

Company-mode

-
+
+

Company-mode

+

Company-mode is a text completion framework for Emacs. It allows to have smart completion in emacs for the most common languages. If you @@ -351,9 +351,9 @@ official webpage: http://company-mode.g

-
-

Magit

-
+
+

Magit

+

Magit is an emacs interface for Git. It is very powerfull and we use it on a daily basis but you should definitely understand what git does @@ -364,9 +364,9 @@ you should follow the instructions from here:

-
-

Other resources

-
+
+

Other resources

+
-
-

A replicable article

-
+
+

A replicable article

+
-
-

A stub of replicable article

-
+
+

A stub of replicable article

+ -
-

Interacting with gitlab

-
+
+

Interacting with gitlab

+

This section needs some love. @@ -45,13 +45,13 @@ and to share your notebook with others.

-
-

Additional Jupyter resources or tricks

-
+
+

Additional Jupyter resources or tricks

+
-
-

Tips and tricks

-
+
+

Tips and tricks

+

The following webpage lists several Jupyter tricks (in particular, it illustrates many Ipython magic commands) that should improve your @@ -61,9 +61,9 @@ now).

-
-

Running R and Python in the same notebook

-
+
+

Running R and Python in the same notebook

+

The best solution to this is to install rpy2. On my machine, I have installed the python3-rpy2 debian package with apt-get install. An @@ -105,9 +105,9 @@ plot((df)

-
-

Exporting a notebook

-
+
+

Exporting a notebook

+

Obviously, you can convert to html or pdf using the using the File > Download as > HTML (or PDF) menu option. This can also be done from @@ -134,13 +134,13 @@ taste.

-
-

Installing jupyter or jupyter hub on your own machine

-
+
+

Installing jupyter or jupyter hub on your own machine

+
-
-

Installing jupyter

-
+
+

Installing jupyter

+

Here is what you should install:

@@ -171,16 +171,16 @@ The ipython notebook can then be run with the following command:
-
-

Using R

-
+
+

Using R

+

If you also want to have the R kernel in jupyter, follow these instructions.

-Alternatively, you can install rpy2 (see the Running R and Python in +Alternatively, you can install rpy2 (see the Running R and Python in the same notebook section).

@@ -189,9 +189,9 @@ the same notebook section).
-
-

Exporting your notebooks with latex

-
+
+

Exporting your notebooks with latex

+

Here is what I had to install to make sure the notebook export via latex works: @@ -203,9 +203,9 @@ sudo apt-get install texlive-xetex

-
-

Interacting with gitlab

-
+
+

Interacting with gitlab

+

Here is our jupyter extension that allows to git push/pull from the notebooks: @@ -217,9 +217,9 @@ jupyter nbextension enable nb-git

-
-

Interesting extensions to improve notebook readability

-
+
+

Interesting extensions to improve notebook readability

+

Here are two interesting extensions that can improve readability:

@@ -245,9 +245,9 @@ jupyter-serverextension enable --py hide_code
-
-

Installing jupyterhub

-
+
+

Installing jupyterhub

+

Benoit may give a few hints on this. diff --git a/module2/ressources/rstudio.html b/module2/ressources/rstudio.html index dcf3535..a7dde5f 100644 --- a/module2/ressources/rstudio.html +++ b/module2/ressources/rstudio.html @@ -4,36 +4,36 @@

Table of Contents

-
-

Installing Rstudio

-
+
+

Installing Rstudio

+
-
-

Linux (debian, ubuntu)

-
+
+

Linux (debian, ubuntu)

+

We provide here only instructions for debian-based distributions. Feel free to contribute to this document to provide up-to-date information @@ -55,9 +55,9 @@ for upgrading…

-
-

Installing R

-
+
+

Installing R

+

Beforehand, you need to install the R language and convenient packages by running (as root): @@ -90,9 +90,9 @@ to run (as root):

-
-

Installing rstudio

-
+
+

Installing rstudio

+

Rstudio is unfortunately not packaged within debian so the easiest is to download the corresponding debian package on the Rstudio webpage @@ -110,9 +110,9 @@ sudo apt-get update ; sudo apt-get -f install -

Mac OSX and Windows

-
+
+

Mac OSX and Windows

+

Some instructions on installing R and knitr must be missing. This @@ -136,13 +136,13 @@ install.packages("ggplot2")

-
-

Installing Git

-
+
+

Installing Git

+
-
-

Linux (debian, ubuntu)

-
+
+

Linux (debian, ubuntu)

+

We provide here only instructions for debian-based distributions. Feel free to contribute to this document to provide up-to-date information @@ -158,9 +158,9 @@ Run (as root):

-
-

Mac OSX and Windows

-
+
+

Mac OSX and Windows

+
  • Download and install Git from the Git website.
  • Optional Git clients (should not be needed if you work within @@ -180,9 +180,9 @@ Rstudio):
-
-

Rstudio and git/github/gitlab

-
+
+

Rstudio and git/github/gitlab

+

We may want to redo a screencast in French for this @@ -203,9 +203,9 @@ Alternatively, we can point to:

-
-

Cheat Sheets

-
+
+

Cheat Sheets

+

The Rstudio team has created a lot of good material and tutorials. You should definitively look at the Cheat sheets webpage. In particular -- 2.18.1