Skip to content

Commit

Permalink
chore: add the derived output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
blairdrummond committed Jan 31, 2021
1 parent 6199cdb commit cf1ee9b
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 31 deletions.
2 changes: 1 addition & 1 deletion output/JupyterLab-CPU-OL-compliant/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Conda
=====
It's recommended that you use conda to create virtual environments and
to insall R, Python, or Julia packages.
to install R, Python, or Julia packages.
Have fun!!!
Expand Down
9 changes: 5 additions & 4 deletions output/JupyterLab-CPU-OL-compliant/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions output/JupyterLab-CPU/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
2 changes: 1 addition & 1 deletion output/JupyterLab-PyTorch-OL-compliant/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Conda
=====
It's recommended that you use conda to create virtual environments and
to insall R, Python, or Julia packages.
to install R, Python, or Julia packages.
Have fun!!!
Expand Down
9 changes: 5 additions & 4 deletions output/JupyterLab-PyTorch-OL-compliant/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions output/JupyterLab-PyTorch/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
2 changes: 1 addition & 1 deletion output/JupyterLab-Tensorflow-OL-compliant/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Conda
=====
It's recommended that you use conda to create virtual environments and
to insall R, Python, or Julia packages.
to install R, Python, or Julia packages.
Have fun!!!
Expand Down
9 changes: 5 additions & 4 deletions output/JupyterLab-Tensorflow-OL-compliant/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions output/JupyterLab-Tensorflow/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}
9 changes: 5 additions & 4 deletions output/RStudio/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${KF_LANG}" ]; then
export LANG="en_US.utf8"
else
export LANG="fr_CA.utf8"

# User's browser lang is set to french, open jupyterlab in french (fr_FR)
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
if [ "${DEFAULT_JUPYTER_URL}" != "/rstudio" ]; then
export LANG="fr_FR"
lang_file="/home/${NB_USER}/.jupyter/lab/user-settings/@jupyterlab/translation-extension/plugin.jupyterlab-settings"
mkdir -p "$(dirname "${lang_file}")" && touch $lang_file
( echo '{'
Expand All @@ -43,7 +43,7 @@ if [ -n "${KF_LANG}" ]; then
echo ' // Définit la langue d'\''affichage de l'\''interface. Exemples: '\''es_CO'\'', '\''fr'\''.'
echo ' "locale": "'${LANG}'"'
echo '}'
) >> $lang_file
) >> $lang_file
fi
fi
fi
Expand All @@ -68,5 +68,6 @@ jupyter notebook --notebook-dir=/home/${NB_USER} \
--NotebookApp.token='' \
--NotebookApp.password='' \
--NotebookApp.allow_origin='*' \
--NotebookApp.authenticate_prometheus=False \
--NotebookApp.base_url=${NB_PREFIX} \
--NotebookApp.default_url=${DEFAULT_JUPYTER_URL:-/tree}

0 comments on commit cf1ee9b

Please sign in to comment.