-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLesson_3.html
More file actions
174 lines (131 loc) · 5.78 KB
/
Lesson_3.html
File metadata and controls
174 lines (131 loc) · 5.78 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script src="https://kit.fontawesome.com/53bd508d27.js" crossorigin="anonymous"></script>
<title>CMA: Introduction to Git</title>
<link rel="stylesheet" href="revealjs/dist/reset.css">
<link rel="stylesheet" href="revealjs/dist/reveal.css">
<link rel="stylesheet" href="revealjs/dist/theme/black.css">
<!-- CSS Plots (https://github.com/asciimoo/cssplot/)-->
<link media="all" rel="stylesheet" type="text/css" href="cssplot/build/cssplot.full.css" />
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="revealjs/plugin/highlight/monokai.css">
<style>
.graph{
height: 200px;
width: 500px;
}
.svg-hline{
stroke: #fefce2;
stroke-width: 1;
}
.svg-circle{
stroke: #fefce2;
fill: #8a8e96;
}
.svg-text{
font-family: Mono;
font-size:20px;
fill: #fefce2;
dominant-baseline: middle
}
.svg-small{
font-size:15px;
}
.svg-gray{
fill: 2A9D8F
}
.highlight{
color: #E76F51
}
.svg-rect{
fill:red;
stroke-width:5;
opacity:0.3;
}
.reveal .slides section .fragment.visible.svg-rect{
opacity:0.3;
}
</style>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h3>Reminder: Semester Project</h3>
<ol style="font-size: x-large;">
<li data-fragment-index="1" class="fragment">Build groups on Moodle</li>
<li data-fragment-index="2" class="fragment">Decide if you want to join the DataChallenge & register if you do</li>
<li data-fragment-index="3" class="fragment">Choose the right template & dataset</li>
<li data-fragment-index="4" class="fragment">Develop a proposal until the 15<sup>th</sup> May</li>
<li data-fragment-index="5" class="fragment">Provide us with the URL to your Github Repo</li>
</ol>
<div style="background-image: url(images/moodle-groups0.png);width: 960px; height: 500px;background-size: contain; background-repeat: no-repeat;">
<svg width="100%" height = "100%">
<rect data-fragment-index="1" x="8" y = "15" width="600" height = "40" fill="none" class="svg-rect fragment" //>
<rect data-fragment-index="2" x="875" y = "100" width="50" height = "40" fill="none" class="svg-rect fragment" //>
<rect data-fragment-index="3" x="8" y = "60" width="600" height = "40" fill="none" class="svg-rect fragment" //>
<rect data-fragment-index="3" x="8" y = "170" width="600" height = "40" fill="none" class="svg-rect fragment" //>
<rect data-fragment-index="5" x="8" y = "290" width="600" height = "40" fill="none" class="svg-rect fragment" //>
</svg>
</div>
</section>
<section data-visibility="hidden">
<h3 class="r-fit-text">What do you gain from learning Git in CMA?</h3>
<p class="fragment">We help you tackle the initial hurdles:</p>
<ul>
<li class="fragment">Understanding Git's concept</li>
<li class="fragment">Getting Git working locally</li>
<li class="fragment">Setting up a workflow with Github</li>
</ul>
</section>
<section data-visibility="hidden">
<h3 id="what" class="r-fit-text">What are <span class="highlight">the most</span> important missing pieces?</h3>
<ul>
<li class="fragment">... Git from the commandline</li>
<li class="fragment">... branches & forks</li>
<li class="fragment">... pulls and merges</li>
</ul>
</section>
<section>
<h3>Publishing your Analysis with Git</h3>
<ol style="font-size: x-large;">
<li class="fragment"><code>knit</code> your document to html (e.g. creates Analysis.html)</li>
<li class="fragment">Push your html file to Github</li>
<li class="fragment">On the GitHub Repo go to Settings > Pages</li>
<div class="r-stack">
<img data-src="images/gh-pages-1.png" alt="" class="fragment">
<img data-src="images/gh-pages-2.png" alt="" class="fragment">
</div>
<li class="fragment">Choose <code>main/master</code>, <code>root</code> hit <code>save</code></li>
<li class="fragment">Go to the provided URL, but append the name of your html-file (e.g. Analysis.html)</li>
</ol>
</section>
<section>
<div class="r-stack">
<img data-src="images/gh-pages-3.png" alt="">
<img data-src="images/gh-pages-4.png" alt="" class="fragment">
<img data-src="images/gh-pages-5.png" alt="" class="fragment">
</div>
</section>
</div>
</div>
<script src="revealjs/dist/reveal.js"></script>
<script src="revealjs/plugin/notes/notes.js"></script>
<script src="revealjs/plugin/markdown/markdown.js"></script>
<script src="revealjs/plugin/highlight/highlight.js"></script>
<script>
// More info about initialization & config:
// - https://revealjs.com/initialization/
// - https://revealjs.com/config/
Reveal.initialize({
hash: true,
mouseWheel: true,
// Learn about plugins: https://revealjs.com/plugins/
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
});
</script>
</body>
</html>