Skip to content

Commit

Permalink
Update T-appendix.jupyter-installation-and-setup.ipynb selfteaching#741
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolai committed May 3, 2019
1 parent bc7beb0 commit 506b7a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions T-appendix.jupyter-installation-and-setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"\n",
"> `c.NotebookApp.token = ''`\n",
"\n",
"每次打开 Jupter,它都会给你生成一个新的 Token —— 这是安全策略。但是,如果你只是在自己的电脑上使用,那么,这就给你制造了麻烦,因为若是你想同时用另外一个浏览器打开它,那你就需要从 Terminal 里拷贝那个 Token 出来。所以,你可以在配置文件里直接把它设置为空。\n",
"每次打开 jupyter,它都会给你生成一个新的 Token —— 这是安全策略。但是,如果你只是在自己的电脑上使用,那么,这就给你制造了麻烦,因为若是你想同时用另外一个浏览器打开它,那你就需要从 Terminal 里拷贝那个 Token 出来。所以,你可以在配置文件里直接把它设置为空。\n",
"\n",
"> `c.NotebookApp.open_browser = False`\n",
"\n",
Expand All @@ -142,7 +142,7 @@
"\n",
"> `c.NotebookApp.default_url = '/tree'`\n",
"\n",
"这一项留给那些依然习惯于使用 jupter notebook 的人,这样设置之后,即便是输入 `jupyter lab` 命令,打开的还是 jupyter notebook。\n",
"这一项留给那些依然习惯于使用 jupyter notebook 的人,这样设置之后,即便是输入 `jupyter lab` 命令,打开的还是 jupyter notebook。\n",
"\n",
"在 Terminal 里常用的与 Jupyter 有关的命令有:\n",
"\n",
Expand Down Expand Up @@ -303,7 +303,7 @@
"> * [@jupyterlab/toc](https://github.com/jupyterlab/jupyterlab-toc)\n",
"> * [ryantam626/jupyterlab_sublime](https://github.com/ryantam626/jupyterlab_sublime)\n",
"\n",
"首先在用快捷键 `⌘ ,` 打开 Jupter lab 的 Advanced Settings,在 Extension Manager 中,添加 User Overrides:\n",
"首先在用快捷键 `⌘ ,` 打开 jupyter lab 的 Advanced Settings,在 Extension Manager 中,添加 User Overrides:\n",
"\n",
"```json\n",
"{\n",
Expand Down
6 changes: 3 additions & 3 deletions markdown/T-appendix.jupyter-installation-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ code jupyter_notebook_config.py

> `c.NotebookApp.token = ''`
每次打开 Jupter,它都会给你生成一个新的 Token —— 这是安全策略。但是,如果你只是在自己的电脑上使用,那么,这就给你制造了麻烦,因为若是你想同时用另外一个浏览器打开它,那你就需要从 Terminal 里拷贝那个 Token 出来。所以,你可以在配置文件里直接把它设置为空。
每次打开 jupyter,它都会给你生成一个新的 Token —— 这是安全策略。但是,如果你只是在自己的电脑上使用,那么,这就给你制造了麻烦,因为若是你想同时用另外一个浏览器打开它,那你就需要从 Terminal 里拷贝那个 Token 出来。所以,你可以在配置文件里直接把它设置为空。

> `c.NotebookApp.open_browser = False`
Expand All @@ -104,7 +104,7 @@ code jupyter_notebook_config.py

> `c.NotebookApp.default_url = '/tree'`
这一项留给那些依然习惯于使用 jupter notebook 的人,这样设置之后,即便是输入 `jupyter lab` 命令,打开的还是 jupyter notebook。
这一项留给那些依然习惯于使用 jupyter notebook 的人,这样设置之后,即便是输入 `jupyter lab` 命令,打开的还是 jupyter notebook。

在 Terminal 里常用的与 Jupyter 有关的命令有:

Expand Down Expand Up @@ -234,7 +234,7 @@ Jupyter notebook 经过很多年的发展,现在有很多扩展插件,但也
> * [@jupyterlab/toc](https://github.com/jupyterlab/jupyterlab-toc)
> * [ryantam626/jupyterlab_sublime](https://github.com/ryantam626/jupyterlab_sublime)
首先在用快捷键 `⌘ ,` 打开 Jupter lab 的 Advanced Settings,在 Extension Manager 中,添加 User Overrides:
首先在用快捷键 `⌘ ,` 打开 jupyter lab 的 Advanced Settings,在 Extension Manager 中,添加 User Overrides:

```json
{
Expand Down

0 comments on commit 506b7a7

Please sign in to comment.