-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (41 loc) · 1.24 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<html>
<head>
<title>Thebe Lab examples</title>
<!-- Configure and load Thebe !-->
<script type="text/x-thebe-config">
{
bootstrap: true,
binderOptions: {
repo: "inspire99/vavr-notebook",
},
kernelOptions: {
name: "java",
},
}
</script>
<script type="text/javascript" src="https://unpkg.com/thebelab@^0.4.0"></script>
<!-- or to use a local build: -->
<!-- <script type="text/javascript" src="../lib/index.js"></script> -->
</head>
<body>
<h1>Thebe Lab</h1>
<h2>A minimal example</h2>
This page illustrates a minimal setup to get Thebe Lab running, using
<a href="http://mybinder.org">mybinder</a> as <em>kernel</em> (i.e.
computation backend) provider. See the
<a href="https://github.com/minrk/thebelab/blob/master/examples/index.html">
source file</a> for details.
<p>This is a cell:</p>
<pre data-executable="true" data-language="python">
%mavenRepo central http://repo1.maven.org/maven2/
%maven io.vavr:vavr:0.9.0
import io.vavr.control.*;
import io.vavr.Tuple;
import io.vavr.Tuple1;
import io.vavr.Tuple2;
Tuple1<String> stringTuple1 = Tuple.of("VAVR");
Tuple2<String, Integer> stringIntTuple = Tuple.of("JAVA", 1);
stringTuple1._1();
</pre>
</body>
</html>