From cf1ee9b128dfe65110fbd7f5c53760c81c407692 Mon Sep 17 00:00:00 2001 From: blair drummond Date: Sun, 31 Jan 2021 17:39:39 -0500 Subject: [PATCH] chore: add the derived output folder --- output/JupyterLab-CPU-OL-compliant/helpers.sh | 2 +- output/JupyterLab-CPU-OL-compliant/start-custom.sh | 9 +++++---- output/JupyterLab-CPU/start-custom.sh | 9 +++++---- output/JupyterLab-PyTorch-OL-compliant/helpers.sh | 2 +- output/JupyterLab-PyTorch-OL-compliant/start-custom.sh | 9 +++++---- output/JupyterLab-PyTorch/start-custom.sh | 9 +++++---- output/JupyterLab-Tensorflow-OL-compliant/helpers.sh | 2 +- .../JupyterLab-Tensorflow-OL-compliant/start-custom.sh | 9 +++++---- output/JupyterLab-Tensorflow/start-custom.sh | 9 +++++---- output/RStudio/start-custom.sh | 9 +++++---- 10 files changed, 38 insertions(+), 31 deletions(-) diff --git a/output/JupyterLab-CPU-OL-compliant/helpers.sh b/output/JupyterLab-CPU-OL-compliant/helpers.sh index 0c7864696..daf9b8c50 100644 --- a/output/JupyterLab-CPU-OL-compliant/helpers.sh +++ b/output/JupyterLab-CPU-OL-compliant/helpers.sh @@ -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!!! diff --git a/output/JupyterLab-CPU-OL-compliant/start-custom.sh b/output/JupyterLab-CPU-OL-compliant/start-custom.sh index 2ef3a0c5c..320dda89b 100755 --- a/output/JupyterLab-CPU-OL-compliant/start-custom.sh +++ b/output/JupyterLab-CPU-OL-compliant/start-custom.sh @@ -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 '{' @@ -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 @@ -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} diff --git a/output/JupyterLab-CPU/start-custom.sh b/output/JupyterLab-CPU/start-custom.sh index 2ef3a0c5c..320dda89b 100755 --- a/output/JupyterLab-CPU/start-custom.sh +++ b/output/JupyterLab-CPU/start-custom.sh @@ -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 '{' @@ -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 @@ -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} diff --git a/output/JupyterLab-PyTorch-OL-compliant/helpers.sh b/output/JupyterLab-PyTorch-OL-compliant/helpers.sh index 0c7864696..daf9b8c50 100644 --- a/output/JupyterLab-PyTorch-OL-compliant/helpers.sh +++ b/output/JupyterLab-PyTorch-OL-compliant/helpers.sh @@ -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!!! diff --git a/output/JupyterLab-PyTorch-OL-compliant/start-custom.sh b/output/JupyterLab-PyTorch-OL-compliant/start-custom.sh index 2ef3a0c5c..320dda89b 100755 --- a/output/JupyterLab-PyTorch-OL-compliant/start-custom.sh +++ b/output/JupyterLab-PyTorch-OL-compliant/start-custom.sh @@ -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 '{' @@ -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 @@ -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} diff --git a/output/JupyterLab-PyTorch/start-custom.sh b/output/JupyterLab-PyTorch/start-custom.sh index 2ef3a0c5c..320dda89b 100755 --- a/output/JupyterLab-PyTorch/start-custom.sh +++ b/output/JupyterLab-PyTorch/start-custom.sh @@ -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 '{' @@ -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 @@ -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} diff --git a/output/JupyterLab-Tensorflow-OL-compliant/helpers.sh b/output/JupyterLab-Tensorflow-OL-compliant/helpers.sh index 0c7864696..daf9b8c50 100644 --- a/output/JupyterLab-Tensorflow-OL-compliant/helpers.sh +++ b/output/JupyterLab-Tensorflow-OL-compliant/helpers.sh @@ -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!!! diff --git a/output/JupyterLab-Tensorflow-OL-compliant/start-custom.sh b/output/JupyterLab-Tensorflow-OL-compliant/start-custom.sh index 2ef3a0c5c..320dda89b 100755 --- a/output/JupyterLab-Tensorflow-OL-compliant/start-custom.sh +++ b/output/JupyterLab-Tensorflow-OL-compliant/start-custom.sh @@ -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 '{' @@ -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 @@ -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} diff --git a/output/JupyterLab-Tensorflow/start-custom.sh b/output/JupyterLab-Tensorflow/start-custom.sh index 2ef3a0c5c..320dda89b 100755 --- a/output/JupyterLab-Tensorflow/start-custom.sh +++ b/output/JupyterLab-Tensorflow/start-custom.sh @@ -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 '{' @@ -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 @@ -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} diff --git a/output/RStudio/start-custom.sh b/output/RStudio/start-custom.sh index 2ef3a0c5c..320dda89b 100755 --- a/output/RStudio/start-custom.sh +++ b/output/RStudio/start-custom.sh @@ -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 '{' @@ -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 @@ -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}