Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aaa9c30b31abb6b20ce0aefe46b85784
mooc-rr
Commits
13fcdd54
Commit
13fcdd54
authored
Apr 13, 2020
by
aaa9c30b31abb6b20ce0aefe46b85784
Browse files
Options
Browse Files
Download
Plain Diff
premier jet
parents
a2574ef1
6cf98825
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
123 additions
and
2 deletions
+123
-2
Journal2Bord.md
journal/Journal2Bord.md
+4
-1
JupyterLabWithPowerShell.md
journal/JupyterLabWithPowerShell.md
+75
-0
gitPratique.md
journal/gitPratique.md
+41
-0
.gitkeep
journal/images/.gitkeep
+0
-0
JupyterLabWithPowerShell.png
journal/images/JupyterLabWithPowerShell.png
+0
-0
toy_notebook_fr.ipynb
module2/exo1/toy_notebook_fr.ipynb
+3
-1
No files found.
journal/Journal2Bord.md
View file @
13fcdd54
...
...
@@ -23,4 +23,7 @@
*
[
docutils
](
https://docutils.sourceforge.io/docs/index.html
)
**Indexation**
*
[
docfetcher
](
http://docfetcher.sourceforge.net/fr/index.html
)
\ No newline at end of file
*
[
docfetcher
](
http://docfetcher.sourceforge.net/fr/index.html
)
**Doc interne**
*
JupyterLab and PowerShell (linux Operating System)
\ No newline at end of file
journal/JupyterLabWithPowerShell.md
0 → 100644
View file @
13fcdd54
# **JupyterLab with PowerShell**
## Installation python
On choisit l'installation
[
miniconda
](
https://docs.conda.io/en/latest/miniconda.html
)
## Installation JupyterLab et PowerShell
**JupyterLab**
JupyterLab est la seconde génération de notebook.
```
bash
conda
install
-c
conda-forge jupyterlab
```
**PowerShell**
Sous linux, utilisez votre gestionnaire de package
```
bash
apt
install
powershell
```
## Installation PowerShell
A ce jour conda ne contient pas le package on passe par pip.
Tout d'abord on vérifie l'environnement:
```
bash
which python
which pip
```
On doit être ds l'environnement conda
De façon standard ressemble sous linux à
```
bash
/home/
$login
/miniconda/bin/python
/home/
$login
/miniconda/bin/pip
```
On installe PowerShell:
```
Bash
pip install powershell_kernel
python -m powershell_kernel.install
```
## Vérifications
1.
__Test kernel JupyterLab:__
On lance JupyterLab
```
shell
jupyter lab
```
on doit voir :

2.
__ Test version de PowerShell: __
On ouvre un notebook PowerShell
et on tape:
```
$>$PsVersionTable
```
```
code
Name Value
---- -----
PSVersion 7.0.0
PSEdition Core
GitCommitId 7.0.0
OS Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.82-1
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```
journal/gitPratique.md
0 → 100644
View file @
13fcdd54
# commandes GIT de base #
1.
*** __Recupérer un depot git__ **
*
```
bash
mkdir
copieDepot
cd
copieDepot
git clone url
```
2.
*** __Mettre à jour du depot distant vers le local__ **
*
Evaluer les modifs
```
bash
cd
copieDepot
git status
```
git renvoie la liste des modifs. On ajoute suivi des fichiers modifiés
```
git add monPremierFichierModifie
git add monSecondFichierModifie
git commit -m "mon message de commit de mise a jours"
```
autre possibilité
```
git pull
```
3.
*** __Mettre à jour du depot locl vers el distant__ **
*
Dans son répertoire git :
```
git push
```
On doit avoir ses identifiants
journal/images/.gitkeep
0 → 100644
View file @
13fcdd54
journal/images/JupyterLabWithPowerShell.png
0 → 100644
View file @
13fcdd54
98.9 KB
module2/exo1/toy_notebook_fr.ipynb
View file @
13fcdd54
...
...
@@ -4,12 +4,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# <div align=\"center\"> toy_notebook_fr
*
</div> #\n",
"# <div align=\"center\"> toy_notebook_fr</div> #\n",
"\n",
"\n",
"\n",
"<div align=\"center\"> March 28, 2019 </div>\n",
"\n",
"\n",
"\n",
"## 1 À propos du calcul de π ##\n",
"\n",
"### 1.1 En demandant à la lib maths ###\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment