Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d1ac2b6

Browse files
Remove interactive code blocks for Unix lecture
There are some interactive commands e.g. tmux that shouldn't be in Jupyter interactive cells, so this commit removes them for just plain Markdown code blocks.
1 parent a526097 commit d1ac2b6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

‎notebooks/unix_outline.ipynb‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,13 +1729,13 @@
17291729
]
17301730
},
17311731
{
1732-
"cell_type": "code",
1733-
"execution_count": null,
1732+
"cell_type": "markdown",
17341733
"metadata": {},
1735-
"outputs": [],
17361734
"source": [
1735+
"```sh\n",
17371736
"# Copy this file over to the root of my user account\n",
1738-
"scp unix_outline.org leunge@state.ohsu.edu:~/"
1737+
"scp unix_outline.org leunge@state.ohsu.edu:~/\n",
1738+
"```"
17391739
]
17401740
},
17411741
{
@@ -1748,13 +1748,13 @@
17481748
]
17491749
},
17501750
{
1751-
"cell_type": "code",
1752-
"execution_count": null,
1751+
"cell_type": "markdown",
17531752
"metadata": {},
1754-
"outputs": [],
17551753
"source": [
1754+
"```\n",
17561755
"# Move this entire lecture directory to account\n",
1757-
"scp -r ../../ leunge@state.ohsu.edu:~/"
1756+
"scp -r ../../ leunge@state.ohsu.edu:~/\n",
1757+
"```"
17581758
]
17591759
},
17601760
{
@@ -1867,19 +1867,19 @@
18671867
]
18681868
},
18691869
{
1870-
"cell_type": "code",
1871-
"execution_count": null,
1870+
"cell_type": "markdown",
18721871
"metadata": {},
1873-
"outputs": [],
18741872
"source": [
1873+
"```sh\n",
18751874
"# Start and open screen session\n",
18761875
"screen\n",
18771876
"\n",
18781877
"# \"Re-attach\" to running session\n",
18791878
"screen -r\n",
18801879
"\n",
18811880
"# Look at running sessions\n",
1882-
"screen -ls"
1881+
"screen -ls\n",
1882+
"```"
18831883
]
18841884
},
18851885
{
@@ -1922,19 +1922,19 @@
19221922
]
19231923
},
19241924
{
1925-
"cell_type": "code",
1926-
"execution_count": null,
1925+
"cell_type": "markdown",
19271926
"metadata": {},
1928-
"outputs": [],
19291927
"source": [
1928+
"```sh\n",
19301929
"# Start and open tmux session\n",
19311930
"tmux\n",
19321931
"\n",
19331932
"# \"Re-attach\" to running session\n",
19341933
"tmux attach\n",
19351934
"\n",
19361935
"# List running sessions\n",
1937-
"tmux ls"
1936+
"tmux ls\n",
1937+
"```"
19381938
]
19391939
},
19401940
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /