mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-07 20:16:31 +08:00
Add portal images, closes #330
This commit is contained in:
parent
d3b4a8a9e6
commit
e4cd38a1f1
6 changed files with 11 additions and 6 deletions
7
assets/package-lock.json
generated
7
assets/package-lock.json
generated
|
@ -1694,6 +1694,7 @@
|
||||||
"jest-resolve": "^26.6.2",
|
"jest-resolve": "^26.6.2",
|
||||||
"jest-util": "^26.6.2",
|
"jest-util": "^26.6.2",
|
||||||
"jest-worker": "^26.6.2",
|
"jest-worker": "^26.6.2",
|
||||||
|
"node-notifier": "^8.0.0",
|
||||||
"slash": "^3.0.0",
|
"slash": "^3.0.0",
|
||||||
"source-map": "^0.6.0",
|
"source-map": "^0.6.0",
|
||||||
"string-length": "^4.0.1",
|
"string-length": "^4.0.1",
|
||||||
|
@ -3267,6 +3268,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"anymatch": "~3.1.1",
|
"anymatch": "~3.1.1",
|
||||||
"braces": "~3.0.2",
|
"braces": "~3.0.2",
|
||||||
|
"fsevents": "~2.3.1",
|
||||||
"glob-parent": "~5.1.0",
|
"glob-parent": "~5.1.0",
|
||||||
"is-binary-path": "~2.1.0",
|
"is-binary-path": "~2.1.0",
|
||||||
"is-glob": "~4.0.1",
|
"is-glob": "~4.0.1",
|
||||||
|
@ -5127,7 +5129,8 @@
|
||||||
"esprima": "^4.0.1",
|
"esprima": "^4.0.1",
|
||||||
"estraverse": "^4.2.0",
|
"estraverse": "^4.2.0",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"optionator": "^0.8.1"
|
"optionator": "^0.8.1",
|
||||||
|
"source-map": "~0.6.1"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"escodegen": "bin/escodegen.js",
|
"escodegen": "bin/escodegen.js",
|
||||||
|
@ -6969,6 +6972,7 @@
|
||||||
"@types/node": "*",
|
"@types/node": "*",
|
||||||
"anymatch": "^3.0.3",
|
"anymatch": "^3.0.3",
|
||||||
"fb-watchman": "^2.0.0",
|
"fb-watchman": "^2.0.0",
|
||||||
|
"fsevents": "^2.1.2",
|
||||||
"graceful-fs": "^4.2.4",
|
"graceful-fs": "^4.2.4",
|
||||||
"jest-regex-util": "^26.0.0",
|
"jest-regex-util": "^26.0.0",
|
||||||
"jest-serializer": "^26.6.2",
|
"jest-serializer": "^26.6.2",
|
||||||
|
@ -8588,6 +8592,7 @@
|
||||||
"version": "6.1.0",
|
"version": "6.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"graceful-fs": "^4.1.6",
|
||||||
"universalify": "^2.0.0"
|
"universalify": "^2.0.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
|
|
|
@ -68,7 +68,8 @@ defmodule Livebook.Notebook.Explore do
|
||||||
defnotebook(:distributed_portals_with_elixir,
|
defnotebook(:distributed_portals_with_elixir,
|
||||||
description:
|
description:
|
||||||
"A fast-paced introduction to the Elixir language by building distributed data-transfer portals.",
|
"A fast-paced introduction to the Elixir language by building distributed data-transfer portals.",
|
||||||
image_url: "/images/portals.png"
|
image_url: "/images/elixir-portal.jpeg",
|
||||||
|
image_names: ["portal-drop.jpeg", "portal-list.jpeg"]
|
||||||
)
|
)
|
||||||
|
|
||||||
defnotebook(:elixir_and_livebook,
|
defnotebook(:elixir_and_livebook,
|
||||||
|
|
|
@ -23,13 +23,13 @@ In order to teleport, the player uses the Portal gun to shoot doors
|
||||||
onto flat planes, like a floor or a wall. Entering one of those doors
|
onto flat planes, like a floor or a wall. Entering one of those doors
|
||||||
teleports you to the other:
|
teleports you to the other:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Our version of the Portal game will use Elixir to shoot doors of
|
Our version of the Portal game will use Elixir to shoot doors of
|
||||||
different colors and transfer data between them! We will even learn how
|
different colors and transfer data between them! We will even learn how
|
||||||
we can distribute doors across different machines in our network:
|
we can distribute doors across different machines in our network:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Here is what we will learn:
|
Here is what we will learn:
|
||||||
|
|
||||||
|
@ -817,7 +817,6 @@ and [many of the available learning resources](https://elixir-lang.org/learning.
|
||||||
You can also learn how to use some of Elixir and Livebook's unique features together
|
You can also learn how to use some of Elixir and Livebook's unique features together
|
||||||
in the [Elixir and Livebook](/explore/notebooks/elixir-and-livebook) notebook.
|
in the [Elixir and Livebook](/explore/notebooks/elixir-and-livebook) notebook.
|
||||||
|
|
||||||
Finally, huge thanks to [Augie De Blieck Jr.](http://twitter.com/augiedb) for the
|
Finally, huge thanks to Augie De Blieck Jr. for the drawings in this tutorial.
|
||||||
drawings in this tutorial.
|
|
||||||
|
|
||||||
See you around!
|
See you around!
|
||||||
|
|
BIN
lib/livebook/notebook/explore/images/portal-drop.jpeg
Normal file
BIN
lib/livebook/notebook/explore/images/portal-drop.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
BIN
lib/livebook/notebook/explore/images/portal-list.jpeg
Normal file
BIN
lib/livebook/notebook/explore/images/portal-list.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
priv/static/images/elixir-portal.jpeg
Normal file
BIN
priv/static/images/elixir-portal.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Loading…
Add table
Reference in a new issue