-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtutorials.html
More file actions
106 lines (89 loc) · 2.74 KB
/
tutorials.html
File metadata and controls
106 lines (89 loc) · 2.74 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>mapreducejs</title>
<meta name="description" content="A simple tutorial to understand map/reduce using js">
<meta name="author" content="Aashish Nehete">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Lato:300,700" rel="stylesheet">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<style>
#input-editor,
#mapper-editor,
#reducer-editor,
#mapper-output,
#reducer-output,
#info {
width: 100%;
height: 150px;
}
body {
font-family: 'Lato', sans-serif;
text-align: center;
background-color: #008080;
color: white;
}
p {
font-size: 2.5rem;
}
a,
a.button {
text-decoration: none;
color: white;
border-color: white;
transition: all 100ms ease-in-out;
}
a:hover,
a.button:hover {
color: #00c8c8;
border-color: #00c8c8;
}
#example {
color: black;
}
code {
background-color: #00c8c8;
border-radius: 4px;
border: none;
}
</style>
<!-- Analytics -->
<script async type="text/javascript" src="https://plausible.io/js/analytics.js"></script>
</head>
<body>
<div class="container">
<hr>
<span style="font-size: 24px">Example:</span>
<select name="example" id="example">
<option value="word-count">Word Count</option>
<option value="count">Count</option>
<option value="blank">Blank</option>
</select>
<div class="row">
<div class="six columns">
<span>Input</span>
<div id="input-editor"></div>
<span>Mapper</span>
<div id="mapper-editor"></div>
<span>Reducer</span>
<div id="reducer-editor"></div>
<br>
<a class="button" id="run">Run</a>
</div>
<div class="six columns">
<span>Mapper Output</span>
<div id="mapper-output"></div>
<span>Reducer Output</span>
<div id="reducer-output"></div>
<span>Info</span>
<div id="info"></div>
</div>
</div>
</div>
<script src="js/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="examples.js"></script>
<script src="script.js"></script>
</body>
</html>