-
Notifications
You must be signed in to change notification settings - Fork 0
/
Presentation.html
645 lines (523 loc) · 25.6 KB
/
Presentation.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
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
<!doctype html>
<html lang="fr" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WebSlides</title>
<meta name="description" content="WebSlides">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,700,700i%7CMaitree:200,300,400,600,700&subset=latin-ext" rel="stylesheet">
<!-- CSS Base -->
<link rel="stylesheet" type="text/css" media="all" href="static/css/base.css">
<!-- CSS Colors -->
<link rel="stylesheet" type="text/css" media="all" href="static/css/colors.css">
<!-- Optional - CSS SVG Icons (Font Awesome) -->
<link rel="stylesheet" type="text/css" media="all" href="static/css/svg-icons.css">
<!-- Android -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#333333">
</head>
<body>
<!-- Main Code-->
<main role="main">
<article id="webslides">
<section class="bg-blue">
<img src="illus/white.png" class="slide-top content-center" style="width: 20%; height=auto;">
<br><br><br>
<h1 class="aligncenter">Git Started with Github</h1>
<br><br>
<h5 class="aligncenter">Chawki BENCHEHIDA - Ilyes HAMMADI - Abdeldjalil FORTAS</h5>
<br>
<div class="wrap content-center">
<img src="illus/Git-Icon-White.png" class="grid.vertical-align column1" style="width: 15%; height=auto; margin-right: 10px;">
<img src="illus/GitHub-Mark-Light-120px-plus.png" class="grid.vertical-align column2" style="width: 15%; height=auto; margin-left: 10px;">
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/dennis_ritchie.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
</h2>
<p>
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/dennis_ritchie.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
Dennis Ritchie
</h2>
<p>
created the C programming language and the Unix operating system
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/alan-turing.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
</h2>
<p>
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/alan-turing.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
Alan Turing
</h2>
<p>
the father of theoretical computer science and artificial intelligence
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/48-John-McCarthy-AP.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
</h2>
<p>
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/48-John-McCarthy-AP.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
John McCarthy
</h2>
<p>
He coined the term "artificial intelligence" (AI) and developed the Lisp programming language family
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/linus-torvalds.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
</h2>
<p>
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/linus-torvalds.jpg">
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
Linus Torvalds
</h2>
<p>
the creator and, for a long time, principal developer, of the Linux kernel<br>
He also created the distributed revision control system Git
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/RMS--Richard-M--Stallman-eecue_29655_7d27_l.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
</h2>
<p>
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/RMS--Richard-M--Stallman-eecue_29655_7d27_l.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
Richard Stallman
</h2>
<p>
launched the GNU Project, founded the Free Software Foundation, developed the GNU Compiler Collection and GNU Emacs, and wrote the GNU General Public License
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/nass_mla7.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
</h2>
<p>
</p>
</div>
</div>
</section>
<section class="fullscreen">
<div class="card-50">
<figure>
<img src="illus/nass_mla7.jpg" >
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>
Nass mla7
</h2>
<p>
</p>
</div>
</div>
</section>
<section class="bg-black aligncenter">
<span class="background light" style="background-image:url(illus/duth2.jpeg)"></span>
<div class="wrap">
<h2 class="text-data" style="">5,062</h2>
<h3>developers from more than 1,300 companies </h3>
<h5>Linux Kernel</h5>
</div>
<!-- .end .wrap -->
</section>
<section class="bg-black aligncenter">
<span class="background dark" style="background-image:url(illus/fcc.png)"></span>
<div class="wrap">
<h2 class="text-data">555</h2>
<h3 >developers and more 9900 commits</h3>
<h5>Free Code Camp</h5>
</div>
<!-- .end .wrap -->
</section>
<section class="bg-black">
<span class="background light" style="background-image:url('illus/giphy.gif')"></span>
<div class="wrap">
<h3 class="aligncenter">Don't lost yourself in the code</h3>
<h3 class="aligncenter">Keep trace of your evolutions</h3>
</div>
</section>
<section class="bg-trans-dark">
<div class="wrap">
<div class="aligncenter">
<h1>EVERYDAY WORKFLOW</h1>
<br><br>
<h4>1 - Create a file</h4>
<h4>2 - Save it</h4>
<h4>3 - Edit it</h4>
<h4>4 - Save it again</h4>
<h4>5 - etc ...</h4>
</div>
</div>
</section>
<section class="bg-white">
<div class="wrap">
<h1 class="content-center">FILE LIFE</h1>
</div>
<br><br>
<img class="content-center" src="illus/file_life.png" style="width: 70%; height:auto;">
</section>
<section class="aligncenter bg-white">
<!--.wrap = container 1200px with fadein animation -->
<div class="wrap">
<h2>Manuel Version Control</h2>
<div class="grid">
<div class="column">
<h6>DropBox</h6>
<br>
<img class="content-center" src="illus/dropbox_logo_detail.png" style="width:20%; height:auto;">
<p>Permet de garder trace des fichiers ainsi que leurs modifications</p>
<p class="text-symbols">* * *</p>
</div>
<!-- end .column -->
<div class="column">
<h6>Google Docs</h6>
<br>
<img class="content-center" src="illus/googledocs.png" style="width:20%; height:auto;">
<p>Outils pour traitement de texte en cloud. il permet de suivre en temps réel le changement du documents</p>
<p class="text-symbols">* * *</p>
</div>
<!-- end .column -->
<div class="column">
<h6>Multiple Sauvegarde</h6>
<br><br><br>
<p>Faire une copie du fichier à chaque fois et le stocker dans un dossier différent</p>
<p class="text-symbols">* * *</p>
</div>
<!-- end .column -->
</div>
<!-- end .grid -->
</div>
<!-- end .wrap -->
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('illus/gear_art_mechanism-3D_Creative_Design_HD_wallpaper_1920x1200.jpg')"></span>
<div>
<h2 class="aligncenter">CAN WE AUTOMATE THIS?</h2>
<br>
<h4 class="aligncenter">For each document version, we need to know</h4><br><br>
<p class="content-center"><strong>When</strong> the file was modified<br><strong>What</strong> changed<br><strong>Why</strong> it was modified</p>
</div>
</section>
<section class="bg-white">
<div class="wrap">
<h1 class="aligncenter">THERE’S MORE, TEAMS</h1>
</div>
<br><br>
<img class="content-center" src="illus/new_memebres.png" style="width: 70%; height:auto;">
</section>
<section class="bg-white">
<div class="wrap aligncenter">
<h2 >AND ONE MORE QUESTION</h2><br>
<h4 style="color: #696969">For each document version, we need to know</h4><br><br>
<p style="color: #696969" ><strong>When</strong> the file was modified<br><strong>What</strong> changed<br><strong>Why</strong> it was modified</p>
<p><strong>Who</strong> did the change</p>
</div>
</section>
<section class="bg-black">
<span class="background light" style="background-image:url('illus/C2uUZmIW8AEeFhS.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>THE PERFECT TOOL</strong></h1>
<br>
<h3>We want a tool that</h3>
<br>
<p style="font-size:24px;">Tracks document's version<br>Keeps an history of document's changes<br>Foster team work</p>
</div>
</section>
<section class="bg-white">
<div class="wrap content-center">
<img src="illus/git-logo%20copy.png" style="width:70%; height:auto;">
</div>
</section>
<section class="bg-black aligncenter">
<span class="background light" style="background-image:url(illus/wallhaven-407968.jpg)"></span>
<div class="wrap">
<h2 class="text-data" style="">12,000,000</h2>
<h3>Of developers use it</h3>
<h4>It's the most popular CVS in the world</h4>
</div>
</section>
<section class="bg-trans-light">
<div class="wrap content-center">
<img src="illus/companies-that-use-git.png" style="width:100%; height:auto;">
</div>
</section>
<section>
<div class="wrap size-60">
<h3 class="content-center">SETUP</h3><br><br>
<code style="font-size: 22px;">Linux : </code><br><br>
<pre>$ sudo apt-get install git</pre>
<br><br>
<p class="aligncenter" style="font-size: 20px;"><code>Windows :<br>
Download & install git at http://git-scm.com/</code></p>
</div>
<!-- .end .wrap -->
</section>
<section>
<div class="wrap size-60">
<code style="font-size: 22px;">Define a user name</code><br><br>
<pre>$ git config --global user.name "Your Name"</pre>
<br><br>
<code style="font-size: 22px;">Define an email count </code><br><br>
<pre>$ git config --global user.name "Your Name"</pre>
<br><br>
<code style="font-size: 22px;">Check your git informations</code><br><br>
<pre>$ git config -l</pre>
</div>
<!-- .end .wrap -->
</section>
<section class="bg-white">
<div class="wrap">
<h2 class="content-center">Git WorkFlow</h2>
</div>
<img class="content-center" src="illus/expl-1.png" style="width: 70%; height:auto;">
<!-- .end .wrap -->
</section>
<section class="bg-white">
<div class="wrap">
<h2 class="content-center">Git WorkFlow</h2>
</div>
<img class="content-center" src="illus/expl-2.png" style="width: 70%; height:auto;">
<!-- .end .wrap -->
</section>
<section class="bg-white">
<div class="wrap">
<h2 class="content-center">Git WorkFlow</h2>
</div>
<img class="content-center" src="illus/expl-3.png" style="width: 70%; height:auto;">
<!-- .end .wrap -->
</section>
<section>
<div class="wrap size-60">
<code style="font-size: 22px;">Create a folder</code><br><br>
<pre>$ mkdir myapp </pre>
<br><br>
<code style="font-size: 22px;">Move to that Folder</code><br><br>
<pre>$ cd myapp</pre>
<br><br>
<code style="font-size: 22px;">Initialize git on that Folder</code><br><br>
<pre>$ git init</pre>
<br><br>
<code style="font-size: 22px;">Create a file</code><br><br>
<pre>$ touch index.html</pre>
</div>
<!-- .end .wrap -->
</section>
<section>
<div class="wrap size-60">
<h1 class="content-center">STATUS</h1>
<br><br><br>
<code style="font-size: 18px;">git can tell you if your folder has some modified files (dirty)</code><br><br>
<pre>$ git status</pre>
</div>
<!-- .end .wrap -->
</section>
<section class="bg-white">
<div class="wrap">
<h1 class="content-center">COMMIT</h1><br>
<h3 class="content-center">Snapshot of your work</h3>
</div>
<br>
<img class="content-center" src="illus/cam.png" style="width: 30%; height:auto;">
<!-- .end .wrap -->
</section>
<section>
<h1 class="aligncenter">HOW TO COMMIT ?</h1><br>
<div class="wrap size-60">
<code style="font-size: 22px;">Create a folder</strong></code><br><br>
<pre>$ mkdir myapp </pre>
<br><br>
<code style="font-size: 22px;">Add all the files in <strong>Staging area</strong></code><br><br>
<pre>$ git add --all</pre>
<br><br>
<code style="font-size: 22px;">Take a snapshot <strong>(commit)</strong></code><br><br>
<pre>$ git commit -m "a message about this change"</pre>
</div>
<!-- .end .wrap -->
</section>
<section>
<h1 class="content-center">DIFF</h1>
<div class="wrap size-60">
<h4 class="aligncenter">if git status tells you something changed, you can inspect exactly what changed :</h4>
<pre>$ git diff</pre>
</div>
<!-- .end .wrap -->
</section>
<section>
<h1 class="content-center">LOG</h1>
<div class="wrap size-60">
<h4 class="aligncenter">Show <strong>commit history</strong> with</h4>
<pre>$ git log</pre>
</div>
<!-- .end .wrap -->
</section>
<section>
<h1 class="content-center">GUI Tools</h1>
<br><br>
<div class="wrap content-center">
<img src="illus/gitkraken-logo.jpg" class="grid.vertical-align column1" style="width: 45%; height=auto; margin-right: 10px;">
<img src="illus/ungit-logo.png" class="grid.vertical-align column2" style="width: 45%; height=auto; margin-left: 10px;">
</div>
</section>
<section class="bg-black aligncenter">
<span class="background light" style="background-image:url(illus/ungit-screen.png)"></span>
</section>
<section class="bg-black aligncenter">
<span class="background light" style="background-image:url(illus/gitkraken-screen.png)"></span>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('illus/wallhaven-102387.jpg')"></span>
<div class="wrap">
<h3 class="aligncenter">LET'S SHARE OUR PROJECT WITH THE WORLD</h3>
</div>
</section>
<section class="bg-white">
<div class="wrap content-center">
<img src="illus/GitHub_Logo.png" style="width:70%; height:auto;">
</div>
</section>
<section class="bg-white">
<div class="wrap">
<h2 class="content-center">Git + GitHub WorkFlow</h2>
</div>
<img class="content-center" src="illus/expl-4.png" style="width: 75%; height:auto;">
<!-- .end .wrap -->
</section>
<section>
<h1 class="aligncenter">WE NEED A REMOTE !</h1>
<div class="wrap size-60">
<h4 class="aligncenter">Go to GitHub, create a repo: <span style="color: #1565c0">https://github.com/new</span></h4>
<pre style="font-size: 14px !important;">$ git remote add origin https://github.com/[user]/[repo].git</pre>
</div>
<!-- .end .wrap -->
</section>
<section>
<h1 class="content-center">PUSH</h1>
<div class="wrap size-60">
<h4 class="aligncenter" style="font-size: 25px !important;">Share the code with your team, and the world</h4>
<pre>$ git push origin master</pre>
</div>
<!-- .end .wrap -->
</section>
<section>
<h1 class="content-center">PULL</h1>
<div class="wrap size-60">
<pre>$ git pull origin master</pre>
</div>
<!-- .end .wrap -->
</section>
<section class="bg-blue">
<img src="illus/white.png" class="slide-top content-center" style="width: 20%; height=auto;">
<br><br><br>
<h1 class="content-center text-landing">THANK YOU</h1>
</section>
</article>
</main>
<!-- jQuery (required for slides to work) -->
<script src="static/js/jquery-3.0.0.js"></script>
<script src="static/js/webslides.js"></script>
<!-- OPTIONAL - svg-icons.js (fontastic.me - Font Awesome as svg icons) -->
<script defer src="static/js/svg-icons.js"></script>
</body>
</html>