showoff 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edfa1cf6d1dfe2553c4f396f2e9a9045d6057a82
4
- data.tar.gz: f17838ab1a2bfc0d72d19e4a3f6605bf10da9a97
3
+ metadata.gz: f799ced051d346d7788de67fc8737fce0f374f2e
4
+ data.tar.gz: 315d9a402e3ace5d16c1f6184518c0aeb84495ba
5
5
  SHA512:
6
- metadata.gz: d19829d0084d9748e6afca84fd8c135462a1322224da66e7ee712db13ce21f9937e9b57e4eb9f68baf07c1a1f257ce3577b971ba7cbcb3c2a17dcb7c51751b70
7
- data.tar.gz: 9bdb3c83be7a45818cb5f2389c0e2bb2d35eaeaf3242b54f681e813c3ee1c0ee3914c1b0ddc12881e63a183434f36f385d40bbf6eb24ce96b382438f2311e2d0
6
+ metadata.gz: a8c3c7c3462fbb722ea6097d53264f271ca0e10ab111a71d9fb4f242adfa59f934926a05a42403535b011148c324be0832219f64682de87df3e29b1146f84fcd
7
+ data.tar.gz: 564ec5a49755719797eb3f07f759f91e0be067e13fff279b84cdc9441a2d12ed4fc330cd67487aaeba2187a59d363998f4d73b4090730d3fc5829a7335f94c8c
data/lib/showoff.rb CHANGED
@@ -850,18 +850,25 @@ class ShowOff < Sinatra::Application
850
850
 
851
851
  html.css('pre').each do |pre|
852
852
  pre.css('code').each do |code|
853
- out = code.text
853
+ out = code.text
854
+ lang = code.get_attribute('class')
854
855
 
855
856
  # Skip this if we've got an empty code block
856
857
  next if out.empty?
857
858
 
858
- lines = out.split("\n")
859
- if lines.first.strip[0, 3] == '@@@'
860
- lang = lines.shift.gsub('@@@', '').strip
859
+ # catch fenced code blocks from commonmarker
860
+ if (lang and lang.start_with? 'language-' )
861
+ pre.set_attribute('class', 'highlight')
862
+
863
+ # or weve started a code block with a Showoff language tag
864
+ elsif out.strip[0, 3] == '@@@'
865
+ lines = out.split("\n")
866
+ lang = lines.shift.gsub('@@@', '').strip
861
867
  pre.set_attribute('class', 'highlight')
862
868
  code.set_attribute('class', 'language-' + lang.downcase) if !lang.empty?
863
869
  code.content = lines.join("\n")
864
870
  end
871
+
865
872
  end
866
873
  end
867
874
 
@@ -1,3 +1,3 @@
1
1
  # No namespace here since ShowOff is a class and I'd have to inherit from
2
2
  # Sinatra::Application (which we don't want to load here)
3
- SHOWOFF_VERSION = '0.16.0'
3
+ SHOWOFF_VERSION = '0.16.1'
@@ -449,9 +449,20 @@
449
449
  background: #fff;
450
450
  }
451
451
  #progress {
452
- margin-left: 1em;
453
- position: relative;
452
+ float: left;
453
+ width: 25%;
454
+ height: 20px;
455
+ background: #ededed;
454
456
  }
457
+ #progress .label {
458
+ position: absolute;
459
+ padding: 0 0.25em;
460
+ font-size: 10px;
461
+ }
462
+ #progress .ui-progressbar-value {
463
+ border: 1px solid #ffa215;
464
+ background: #ffb105;
465
+ }
455
466
  #debugInfo {
456
467
  display: inline;
457
468
  }
@@ -53,7 +53,8 @@ pre code {
53
53
  cursor: progress;
54
54
  }
55
55
 
56
- body#download {
56
+ body#download,
57
+ body#stats {
57
58
  overflow: auto;
58
59
  }
59
60
 
@@ -0,0 +1,66 @@
1
+ .zoomline {
2
+ width: 85%;
3
+ background-color: #efefec;
4
+ border: 1px solid #ccc;
5
+ border-radius: 4px;
6
+ margin: 12px auto;
7
+ padding-top: 1em;
8
+ clear: both;
9
+ position: relative;
10
+ }
11
+
12
+ .zoomline .chart {
13
+ width: 95%;
14
+ height: 64px;
15
+ cursor: pointer;
16
+ font-size: 0;
17
+ overflow: hidden;
18
+ vertical-align: bottom;
19
+ padding-top: 3px;
20
+ margin: 3px auto;
21
+ }
22
+ .zoomline .chart .col {
23
+ position: relative;
24
+ display: inline-block;
25
+ vertical-align: bottom;
26
+ width: 2px;
27
+ height: 100%;
28
+ margin: 0;
29
+ padding: 0;
30
+ font-size: 10px;
31
+ transition: width 200ms;
32
+ }
33
+ .zoomline .chart .col:hover {
34
+ min-width: 10px;
35
+ background: #ffe0e7;
36
+ background: linear-gradient(#efefec, #ffe0e7);
37
+ }
38
+
39
+ .zoomline .chart .col .inner {
40
+ position: absolute;
41
+ bottom: 0;
42
+ display: inline-block;
43
+ width: 100%;
44
+ min-height: 4px;
45
+ margin: 0;
46
+ padding: 0;
47
+ background-color: #bbbbbb;
48
+ }
49
+ .zoomline .chart .col:hover .inner {
50
+ background-color: #f3708d;
51
+ border-top: 3px solid #f3708d;
52
+ border-radius: 3px 3px 0 0;
53
+ }
54
+
55
+ .zoomline .label {
56
+ min-height: 1em;
57
+ padding: 0 4px;
58
+ position: absolute;
59
+ top: 0;
60
+ }
61
+ .zoomline .label.left {
62
+ left: 0;
63
+ }
64
+ .zoomline .label.right {
65
+ right: 0;
66
+ }
@@ -68,11 +68,13 @@ $(document).ready(function(){
68
68
  document.cookie = "notes="+$('#notes').height();
69
69
  });
70
70
 
71
+ // Turn the progress display into an actual progressbar
72
+ $('#progress').progressbar({max:100})
71
73
 
72
74
  // restore the UI settings
73
75
  var ui = document.cookieHash['ui'];
74
76
  $('#notes').height(document.cookieHash['notes']);
75
- if(! document.cookieHash['sidebar']) {
77
+ if(document.cookieHash['sidebar'] == false) {
76
78
  toggleSidebar();
77
79
  }
78
80
 
@@ -592,6 +594,7 @@ function postSlide() {
592
594
 
593
595
  var fileName = currentSlide.children('div').first().attr('ref');
594
596
  $('#slideFile').text(fileName);
597
+ $('#progress').progressbar('value', getSlidePercent());
595
598
 
596
599
  $("#notes div.form.wrapper").each(function(e) {
597
600
  renderFormInterval = renderFormWatcher($(this));
data/public/js/showoff.js CHANGED
@@ -1370,7 +1370,7 @@ var removeResults = function() {
1370
1370
 
1371
1371
  var print = function(text) {
1372
1372
  removeResults();
1373
- var _results = $('<div>').addClass('results').html('<pre>'+$.print(text, {max_string:1500})+'</pre>');
1373
+ var _results = $('<div>').addClass('results').html('<pre>' + String(text).substring(0, 1500) + '</pre>');
1374
1374
  $('body').append(_results);
1375
1375
  _results.click(removeResults);
1376
1376
 
@@ -0,0 +1,108 @@
1
+ /* Example usage:
2
+ var shortdata = [
3
+ [ 63, "About_Puppet/About_Puppet", "00:01:03" ],
4
+ [ 81, "About_Puppet/Current_State", "00:01:21" ],
5
+ [ 282, "About_Puppet/How_Puppet_Works", "00:04:42" ],
6
+ [ 347, "About_Puppet/Introducing_PE", "00:05:47", "current" ],
7
+ [ 33, "About_Puppet/Objectives", "00:00:33" ],
8
+ [ 67, "About_Puppet/Puppet_Works_Define3", "00:01:07" ]
9
+ ];
10
+
11
+ var numbers = [
12
+ 23,
13
+ 64,
14
+ 22,
15
+ 91,
16
+ 38,
17
+ 12,
18
+ 87,
19
+ [76, null, null, "current" ],
20
+ 54,
21
+ 43,
22
+ 32,
23
+ 21,
24
+ 19
25
+ ];
26
+
27
+ $(document).ready(function(){
28
+
29
+ $(".shortline").zoomline({
30
+ max: 360
31
+ data: shortdata,
32
+ callback: function(element) { alert("The time is: " + element.attr("data-right")); }
33
+ });
34
+
35
+ $(".numbers").zoomline({
36
+ data: numbers
37
+ });
38
+ });
39
+
40
+ */
41
+
42
+ (function ( $ ) {
43
+ $.fn.zoomline = function(options) {
44
+ var settings = $.extend({
45
+ data: [],
46
+ max: 100,
47
+ click: function(element) {
48
+ alert( element.attr("data-left") || element.attr("data-right") || element.attr("data-size") );
49
+ }
50
+ }, options );
51
+
52
+ return this.each(function() {
53
+ var zoomline = $(this);
54
+ var chart = $("<div>", { "class": "chart" });
55
+
56
+ zoomline.empty();
57
+ zoomline.addClass("zoomline");
58
+ zoomline.append(chart);
59
+
60
+ var width = chart.width();
61
+ var barwidth = width/settings.data.length;
62
+ // if we have to zoom the focused bar for visibility, make room for it.
63
+ var widewidth = (barwidth < 10) ? (width + (10 - barwidth)) : width
64
+
65
+ settings.data.forEach(function(item) {
66
+ // coerce into array, so we can accept either numbers or arrays
67
+ item = (typeof(item) == "number") ? [item] : item
68
+
69
+ var height = (item[0]/settings.max * 100) + "%"
70
+ var column = $("<div>", { "class": "col" });
71
+ column.attr("data-size", item[0])
72
+ if (1 in item) { column.attr("data-left", item[1]) }
73
+ if (2 in item) { column.attr("data-right", item[2]) }
74
+ if (3 in item) { column.addClass(item[3]) }
75
+
76
+ column.css("width", barwidth+"px");
77
+ column.append($("<div>", { "class": "inner", height: height }));
78
+
79
+ chart.append(column);
80
+ });
81
+
82
+ var left = $("<div>", { "class": "label left" });
83
+ var right = $("<div>", { "class": "label right" });
84
+ zoomline.append(left);
85
+ zoomline.append(right);
86
+
87
+ chart.hover(function(e) {
88
+ $(this).width(widewidth);
89
+ }, function(e){
90
+ $(this).width(width);
91
+ left.text('');
92
+ right.text('')
93
+ });
94
+
95
+ chart.children(".col").hover(function(e) {
96
+ left.text( $(this).attr("data-left") );
97
+ right.text( $(this).attr("data-right") || $(this).attr("data-size") );
98
+ });
99
+
100
+ chart.children(".col").click(function(e) {
101
+ settings.click( $(this) );
102
+ });
103
+
104
+ return this;
105
+ });
106
+ };
107
+
108
+ }(jQuery));
@@ -0,0 +1,2085 @@
1
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4
+
5
+ <link rel="stylesheet" type="text/css" href="css/zoomline-0.0.1.css">
6
+
7
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
8
+ <script src="js/zoomline-0.0.1.js"></script>
9
+
10
+ <style>
11
+ body {
12
+ background-color: #93db93;
13
+ }
14
+ .col.current {
15
+ background-color: #f2eeee;
16
+ }
17
+ .zoomline .chart .col.current .inner {
18
+ background-color: red;
19
+ }
20
+ </style>
21
+
22
+ <title>Fundamentals</title>
23
+
24
+ <script type="text/javascript">
25
+ var sparkdata = [
26
+ [
27
+ 78,
28
+ "About_Puppet/About_Puppet",
29
+ "00:00:03"
30
+ ],
31
+ [
32
+ 74,
33
+ "About_Puppet/Current_State",
34
+ "00:00:03"
35
+ ],
36
+ [
37
+ 7,
38
+ "About_Puppet/How_Puppet_Works",
39
+ "00:10:42"
40
+ ],
41
+ [
42
+ 25,
43
+ "About_Puppet/Introducing_PE",
44
+ "00:05:47"
45
+ ],
46
+ [
47
+ 49,
48
+ "About_Puppet/Objectives",
49
+ "00:00:03"
50
+ ],
51
+ [
52
+ 91,
53
+ "About_Puppet/Puppet_Works_Define3",
54
+ "00:00:37"
55
+ ],
56
+ [
57
+ 84,
58
+ "About_Puppet/Section",
59
+ "00:00:09"
60
+ ],
61
+ [
62
+ 80,
63
+ "About_Puppet/make_it_work",
64
+ "00:00:04"
65
+ ],
66
+ [
67
+ 27,
68
+ "Advanced_Classes/Hiera_Overview",
69
+ "00:00:01"
70
+ ],
71
+ [
72
+ 49,
73
+ "Advanced_Classes/Hiera_puppet_configuration",
74
+ "00:00:03"
75
+ ],
76
+ [
77
+ 99,
78
+ "Advanced_Classes/Hiera_puppet_usage",
79
+ "02:11:06"
80
+ ],
81
+ [
82
+ 85,
83
+ "Advanced_Classes/Lab_HieraParams:1",
84
+ "00:00:02"
85
+ ],
86
+ [
87
+ 79,
88
+ "Advanced_Classes/Lab_ParameterizedClasses:1",
89
+ "00:00:01"
90
+ ],
91
+ [
92
+ 21,
93
+ "Advanced_Classes/Lab_params:1",
94
+ "00:00:01"
95
+ ],
96
+ [
97
+ 55,
98
+ "Advanced_Classes/Objectives",
99
+ "00:00:01"
100
+ ],
101
+ [
102
+ 26,
103
+ "Advanced_Classes/Sensitive_Data",
104
+ "00:00:01"
105
+ ],
106
+ [
107
+ 7,
108
+ "Advanced_Classes/checkpoint",
109
+ "00:00:02"
110
+ ],
111
+ [
112
+ 6,
113
+ "Advanced_Classes/hiera_visualization_2",
114
+ "00:00:06"
115
+ ],
116
+ [
117
+ 34,
118
+ "Advanced_Classes/inherited_classes_1",
119
+ "00:00:01"
120
+ ],
121
+ [
122
+ 21,
123
+ "Advanced_Classes/inherited_classes_2",
124
+ "00:00:01"
125
+ ],
126
+ [
127
+ 79,
128
+ "Advanced_Classes/inherited_classes_3",
129
+ "00:00:01"
130
+ ],
131
+ [
132
+ 67,
133
+ "Advanced_Classes/parameterized_declare",
134
+ "00:00:01"
135
+ ],
136
+ [
137
+ 68,
138
+ "Advanced_Classes/parameterized_define",
139
+ "00:00:01"
140
+ ],
141
+ [
142
+ 95,
143
+ "Advanced_Classes/parameterized_define2",
144
+ "00:00:01"
145
+ ],
146
+ [
147
+ 18,
148
+ "Advanced_Classes/parameterized_use",
149
+ "00:00:01"
150
+ ],
151
+ [
152
+ 15,
153
+ "Capstone_Lab/Feedback",
154
+ "00:00:01"
155
+ ],
156
+ [
157
+ 32,
158
+ "Capstone_Lab/Section",
159
+ "00:00:01"
160
+ ],
161
+ [
162
+ 49,
163
+ "Classification/Lab_DeployFirstModule:1",
164
+ "00:00:01"
165
+ ],
166
+ [
167
+ 97,
168
+ "Classification/Nodes_default",
169
+ "00:00:05"
170
+ ],
171
+ [
172
+ 21,
173
+ "Classification/Nodes_overview",
174
+ "00:00:01"
175
+ ],
176
+ [
177
+ 22,
178
+ "Classification/Objectives",
179
+ "00:00:01"
180
+ ],
181
+ [
182
+ 81,
183
+ "Classification/checkpoint",
184
+ "00:00:01"
185
+ ],
186
+ [
187
+ 7,
188
+ "Classification/console_assign_classes",
189
+ "00:00:01"
190
+ ],
191
+ [
192
+ 98,
193
+ "Classification/console_group_pin",
194
+ "00:00:02"
195
+ ],
196
+ [
197
+ 70,
198
+ "Classification/console_node",
199
+ "00:00:01"
200
+ ],
201
+ [
202
+ 17,
203
+ "Classification/demo_console",
204
+ "00:00:01"
205
+ ],
206
+ [
207
+ 1,
208
+ "Classification/demo_site_pp",
209
+ "00:00:01"
210
+ ],
211
+ [
212
+ 3,
213
+ "Classification/stacking_classes_together",
214
+ "00:00:01"
215
+ ],
216
+ [
217
+ 56,
218
+ "Classroom_Environment/Classroom_Environment",
219
+ "00:00:01"
220
+ ],
221
+ [
222
+ 7,
223
+ "Classroom_Environment/Lab_git_commit:1",
224
+ "00:00:01"
225
+ ],
226
+ [
227
+ 84,
228
+ "Classroom_Environment/Lab_git_push:1",
229
+ "00:03:53"
230
+ ],
231
+ [
232
+ 75,
233
+ "Classroom_Environment/Objectives",
234
+ "00:00:02"
235
+ ],
236
+ [
237
+ 83,
238
+ "Classroom_Environment/Section",
239
+ "00:00:21"
240
+ ],
241
+ [
242
+ 89,
243
+ "Classroom_Environment/checkpoint",
244
+ "00:00:01"
245
+ ],
246
+ [
247
+ 70,
248
+ "Classroom_Environment/demo-classroom_environment",
249
+ "00:00:01"
250
+ ],
251
+ [
252
+ 61,
253
+ "Classroom_Environment/git_mini_tutorial",
254
+ "00:00:01"
255
+ ],
256
+ [
257
+ 61,
258
+ "Classroom_Environment/git_mini_tutorial_add",
259
+ "00:00:01"
260
+ ],
261
+ [
262
+ 98,
263
+ "Classroom_Environment/git_mini_tutorial_commit",
264
+ "00:00:01"
265
+ ],
266
+ [
267
+ 21,
268
+ "Classroom_Environment/git_mini_tutorial_distributed",
269
+ "00:00:01"
270
+ ],
271
+ [
272
+ 21,
273
+ "Classroom_Environment/git_mini_tutorial_more",
274
+ "00:00:01"
275
+ ],
276
+ [
277
+ 49,
278
+ "Classroom_Environment/git_mini_tutorial_push",
279
+ "00:00:01"
280
+ ],
281
+ [
282
+ 77,
283
+ "Classroom_Environment/git_mini_tutorial_status",
284
+ "00:00:01"
285
+ ],
286
+ [
287
+ 32,
288
+ "Classroom_Environment/vcs_overview",
289
+ "00:00:01"
290
+ ],
291
+ [
292
+ 18,
293
+ "Classroom_Environment/vcs_workflow",
294
+ "00:00:01"
295
+ ],
296
+ [
297
+ 5,
298
+ "Classroom_Environment/vcs_workflow_illustrated",
299
+ "00:00:01"
300
+ ],
301
+ [
302
+ 41,
303
+ "Component_Roles/Agent_overview",
304
+ "00:00:01"
305
+ ],
306
+ [
307
+ 47,
308
+ "Component_Roles/Classroom_stack",
309
+ "00:00:01"
310
+ ],
311
+ [
312
+ 3,
313
+ "Component_Roles/Console_overview",
314
+ "00:00:01"
315
+ ],
316
+ [
317
+ 52,
318
+ "Component_Roles/Master_overview",
319
+ "00:00:01"
320
+ ],
321
+ [
322
+ 8,
323
+ "Component_Roles/Objectives",
324
+ "00:00:01"
325
+ ],
326
+ [
327
+ 87,
328
+ "Component_Roles/Puppet_Master",
329
+ "00:00:01"
330
+ ],
331
+ [
332
+ 65,
333
+ "Component_Roles/agent_options",
334
+ "00:00:01"
335
+ ],
336
+ [
337
+ 96,
338
+ "Component_Roles/checkpoint",
339
+ "00:00:01"
340
+ ],
341
+ [
342
+ 5,
343
+ "Component_Roles/client_arch",
344
+ "00:00:01"
345
+ ],
346
+ [
347
+ 33,
348
+ "Component_Roles/configuration_management",
349
+ "00:00:11"
350
+ ],
351
+ [
352
+ 42,
353
+ "Component_Roles/demo-intro_console",
354
+ "00:00:01"
355
+ ],
356
+ [
357
+ 72,
358
+ "Component_Roles/enterprise_console",
359
+ "00:00:01"
360
+ ],
361
+ [
362
+ 44,
363
+ "Component_Roles/enterprise_console_events",
364
+ "00:00:34"
365
+ ],
366
+ [
367
+ 48,
368
+ "Component_Roles/enterprise_console_node",
369
+ "00:00:01"
370
+ ],
371
+ [
372
+ 73,
373
+ "Component_Roles/enterprise_console_node_classification",
374
+ "00:00:35"
375
+ ],
376
+ [
377
+ 71,
378
+ "Component_Roles/enterprise_console_report_browse",
379
+ "00:00:01"
380
+ ],
381
+ [
382
+ 58,
383
+ "Component_Roles/enterprise_console_report_view",
384
+ "00:00:01"
385
+ ],
386
+ [
387
+ 53,
388
+ "Component_Roles/puppet_conf_example",
389
+ "00:00:01"
390
+ ],
391
+ [
392
+ 32,
393
+ "Concepts/Section",
394
+ "00:00:01"
395
+ ],
396
+ [
397
+ 17,
398
+ "Concepts/abstraction",
399
+ "00:00:01"
400
+ ],
401
+ [
402
+ 79,
403
+ "Concepts/checkpoint",
404
+ "00:00:01"
405
+ ],
406
+ [
407
+ 55,
408
+ "Concepts/example",
409
+ "00:00:01"
410
+ ],
411
+ [
412
+ 16,
413
+ "Concepts/package",
414
+ "00:00:01"
415
+ ],
416
+ [
417
+ 20,
418
+ "Concepts/package_managers",
419
+ "00:00:01"
420
+ ],
421
+ [
422
+ 72,
423
+ "Concepts/the_problem",
424
+ "00:00:01"
425
+ ],
426
+ [
427
+ 97,
428
+ "Concepts/traditional_solutions",
429
+ "00:00:01"
430
+ ],
431
+ [
432
+ 90,
433
+ "Course_Conclusion/Course_Summary",
434
+ "00:00:02"
435
+ ],
436
+ [
437
+ 28,
438
+ "Course_Conclusion/Outro",
439
+ "00:16:08"
440
+ ],
441
+ [
442
+ 2,
443
+ "Course_Overview/Course_Agenda_1",
444
+ "00:00:02"
445
+ ],
446
+ [
447
+ 40,
448
+ "Course_Overview/Course_Agenda_2",
449
+ "00:00:02"
450
+ ],
451
+ [
452
+ 91,
453
+ "Course_Overview/Course_Agenda_3",
454
+ "00:00:03"
455
+ ],
456
+ [
457
+ 50,
458
+ "Course_Overview/Course_Intro:1",
459
+ "00:19:32"
460
+ ],
461
+ [
462
+ 96,
463
+ "Course_Overview/Course_Objectives",
464
+ "00:00:14"
465
+ ],
466
+ [
467
+ 56,
468
+ "Course_Overview/Course_Overview",
469
+ "00:00:02"
470
+ ],
471
+ [
472
+ 39,
473
+ "Course_Overview/Showoff_primer",
474
+ "01:54:29"
475
+ ],
476
+ [
477
+ 17,
478
+ "Course_Overview/making_acquaintances",
479
+ "00:03:18"
480
+ ],
481
+ [
482
+ 63,
483
+ "Defined_Resources/Objectives",
484
+ "00:00:01"
485
+ ],
486
+ [
487
+ 84,
488
+ "Defined_Resources/Section",
489
+ "00:00:02"
490
+ ],
491
+ [
492
+ 25,
493
+ "Defined_Resources/example",
494
+ "00:00:02"
495
+ ],
496
+ [
497
+ 91,
498
+ "Defined_Resources/module_structure",
499
+ "00:00:01"
500
+ ],
501
+ [
502
+ 57,
503
+ "Defined_Resources/overview",
504
+ "00:00:01"
505
+ ],
506
+ [
507
+ 5,
508
+ "Defined_Resources/uniqueness",
509
+ "00:00:03"
510
+ ],
511
+ [
512
+ 32,
513
+ "Forge/Objectives",
514
+ "00:00:01"
515
+ ],
516
+ [
517
+ 43,
518
+ "Forge/Section",
519
+ "00:00:01"
520
+ ],
521
+ [
522
+ 2,
523
+ "Forge/checkpoint",
524
+ "00:00:18"
525
+ ],
526
+ [
527
+ 76,
528
+ "Forge/forge_modules_wrappers",
529
+ "00:00:10"
530
+ ],
531
+ [
532
+ 26,
533
+ "Installation/Exercise_Facter:1",
534
+ "00:00:01"
535
+ ],
536
+ [
537
+ 26,
538
+ "Installation/Exercise_PuppetResource:1",
539
+ "00:00:01"
540
+ ],
541
+ [
542
+ 56,
543
+ "Installation/Facter_overview",
544
+ "00:00:01"
545
+ ],
546
+ [
547
+ 90,
548
+ "Installation/Lab_Installation:1",
549
+ "00:00:01"
550
+ ],
551
+ [
552
+ 65,
553
+ "Installation/Objectives",
554
+ "00:00:01"
555
+ ],
556
+ [
557
+ 66,
558
+ "Installation/Resource_overview",
559
+ "00:00:01"
560
+ ],
561
+ [
562
+ 46,
563
+ "Installation/Section",
564
+ "00:00:06"
565
+ ],
566
+ [
567
+ 86,
568
+ "Installation/checkpoint",
569
+ "00:00:01"
570
+ ],
571
+ [
572
+ 20,
573
+ "Installation/demo-install_agent",
574
+ "00:00:01"
575
+ ],
576
+ [
577
+ 25,
578
+ "Installation/query",
579
+ "00:00:04"
580
+ ],
581
+ [
582
+ 87,
583
+ "Installation/query_all",
584
+ "00:00:01"
585
+ ],
586
+ [
587
+ 79,
588
+ "Installation/structured_facts",
589
+ "00:00:01"
590
+ ],
591
+ [
592
+ 20,
593
+ "Language_Constructs/Arrays_intro",
594
+ "00:00:01"
595
+ ],
596
+ [
597
+ 89,
598
+ "Language_Constructs/Conditionals_overview",
599
+ "00:00:01"
600
+ ],
601
+ [
602
+ 61,
603
+ "Language_Constructs/Defaults_example",
604
+ "00:00:02"
605
+ ],
606
+ [
607
+ 13,
608
+ "Language_Constructs/Defaults_example2",
609
+ "00:00:01"
610
+ ],
611
+ [
612
+ 69,
613
+ "Language_Constructs/Defaults_intro",
614
+ "00:00:01"
615
+ ],
616
+ [
617
+ 3,
618
+ "Language_Constructs/Lab_ResourceDefaults:1",
619
+ "00:00:01"
620
+ ],
621
+ [
622
+ 82,
623
+ "Language_Constructs/Variable_Scope",
624
+ "00:00:01"
625
+ ],
626
+ [
627
+ 37,
628
+ "Language_Constructs/facts",
629
+ "00:00:02"
630
+ ],
631
+ [
632
+ 43,
633
+ "Language_Constructs/facts_hash",
634
+ "00:00:01"
635
+ ],
636
+ [
637
+ 62,
638
+ "Language_Constructs/metaparam_arg",
639
+ "00:00:01"
640
+ ],
641
+ [
642
+ 98,
643
+ "Language_Constructs/quoting",
644
+ "00:00:01"
645
+ ],
646
+ [
647
+ 69,
648
+ "Language_Constructs/rvalue",
649
+ "00:00:03"
650
+ ],
651
+ [
652
+ 90,
653
+ "Modules_and_Classes/Apply_noop",
654
+ "00:00:01"
655
+ ],
656
+ [
657
+ 36,
658
+ "Modules_and_Classes/Apply_noop2",
659
+ "00:00:01"
660
+ ],
661
+ [
662
+ 9,
663
+ "Modules_and_Classes/Apply_overview",
664
+ "00:00:01"
665
+ ],
666
+ [
667
+ 30,
668
+ "Modules_and_Classes/Classes_overview",
669
+ "00:00:01"
670
+ ],
671
+ [
672
+ 77,
673
+ "Modules_and_Classes/Group_spec",
674
+ "00:00:01"
675
+ ],
676
+ [
677
+ 16,
678
+ "Modules_and_Classes/Lab_BuildYourFirstModule:1",
679
+ "00:00:01"
680
+ ],
681
+ [
682
+ 58,
683
+ "Modules_and_Classes/Lab_ExpandYourFirstModule:1",
684
+ "00:00:01"
685
+ ],
686
+ [
687
+ 29,
688
+ "Modules_and_Classes/Lab_UseYourFirstModule:1",
689
+ "00:00:01"
690
+ ],
691
+ [
692
+ 77,
693
+ "Modules_and_Classes/Modules_overview",
694
+ "00:00:01"
695
+ ],
696
+ [
697
+ 13,
698
+ "Modules_and_Classes/Objectives",
699
+ "00:00:01"
700
+ ],
701
+ [
702
+ 54,
703
+ "Modules_and_Classes/Section",
704
+ "00:00:01"
705
+ ],
706
+ [
707
+ 18,
708
+ "Modules_and_Classes/applying_smoke_tests",
709
+ "00:00:01"
710
+ ],
711
+ [
712
+ 25,
713
+ "Modules_and_Classes/auto_loading_2",
714
+ "00:00:01"
715
+ ],
716
+ [
717
+ 99,
718
+ "Modules_and_Classes/checkpoint",
719
+ "00:00:13"
720
+ ],
721
+ [
722
+ 98,
723
+ "Modules_and_Classes/classes_are_singleton",
724
+ "00:00:01"
725
+ ],
726
+ [
727
+ 35,
728
+ "Modules_and_Classes/declaring_2",
729
+ "00:00:01"
730
+ ],
731
+ [
732
+ 9,
733
+ "Modules_and_Classes/define_and_declare",
734
+ "00:00:01"
735
+ ],
736
+ [
737
+ 23,
738
+ "Modules_and_Classes/smoke_tests",
739
+ "00:42:08"
740
+ ],
741
+ [
742
+ 71,
743
+ "Relationships/Lab_PackageFileService:1",
744
+ "00:00:02"
745
+ ],
746
+ [
747
+ 35,
748
+ "Relationships/Objectives",
749
+ "00:00:03"
750
+ ],
751
+ [
752
+ 11,
753
+ "Relationships/PFS_file",
754
+ "00:00:01"
755
+ ],
756
+ [
757
+ 69,
758
+ "Relationships/PFS_install",
759
+ "00:00:01"
760
+ ],
761
+ [
762
+ 71,
763
+ "Relationships/PFS_overview",
764
+ "00:00:01"
765
+ ],
766
+ [
767
+ 35,
768
+ "Relationships/PFS_service",
769
+ "00:00:01"
770
+ ],
771
+ [
772
+ 91,
773
+ "Relationships/PFS_subscribe",
774
+ "00:00:01"
775
+ ],
776
+ [
777
+ 10,
778
+ "Relationships/Res_Rel_overview",
779
+ "00:00:01"
780
+ ],
781
+ [
782
+ 7,
783
+ "Relationships/Section",
784
+ "00:00:03"
785
+ ],
786
+ [
787
+ 45,
788
+ "Relationships/before",
789
+ "00:00:02"
790
+ ],
791
+ [
792
+ 100,
793
+ "Relationships/before_example",
794
+ "00:00:05"
795
+ ],
796
+ [
797
+ 2,
798
+ "Relationships/checkpoint",
799
+ "00:00:01"
800
+ ],
801
+ [
802
+ 41,
803
+ "Relationships/file_dir_explicit",
804
+ "00:00:01"
805
+ ],
806
+ [
807
+ 99,
808
+ "Relationships/file_dir_implicit",
809
+ "00:00:01"
810
+ ],
811
+ [
812
+ 4,
813
+ "Relationships/file_owner",
814
+ "00:00:01"
815
+ ],
816
+ [
817
+ 99,
818
+ "Relationships/implicit_dependencies",
819
+ "00:00:01"
820
+ ],
821
+ [
822
+ 87,
823
+ "Relationships/meta",
824
+ "00:00:03"
825
+ ],
826
+ [
827
+ 5,
828
+ "Relationships/notify",
829
+ "00:00:01"
830
+ ],
831
+ [
832
+ 95,
833
+ "Relationships/notify_example",
834
+ "00:00:48"
835
+ ],
836
+ [
837
+ 100,
838
+ "Relationships/reference",
839
+ "00:05:56"
840
+ ],
841
+ [
842
+ 66,
843
+ "Relationships/reference_manifest",
844
+ "00:00:01"
845
+ ],
846
+ [
847
+ 24,
848
+ "Relationships/reference_system",
849
+ "00:00:01"
850
+ ],
851
+ [
852
+ 59,
853
+ "Relationships/relationships_exercise-1",
854
+ "00:00:01"
855
+ ],
856
+ [
857
+ 89,
858
+ "Relationships/relationships_exercise-2",
859
+ "00:00:01"
860
+ ],
861
+ [
862
+ 3,
863
+ "Relationships/require",
864
+ "00:00:11"
865
+ ],
866
+ [
867
+ 31,
868
+ "Relationships/require_example",
869
+ "00:00:08"
870
+ ],
871
+ [
872
+ 61,
873
+ "Relationships/subscribe",
874
+ "00:00:01"
875
+ ],
876
+ [
877
+ 4,
878
+ "Relationships/subscribe_example",
879
+ "00:00:01"
880
+ ],
881
+ [
882
+ 78,
883
+ "Relationships/subscribe_notify",
884
+ "00:00:01"
885
+ ],
886
+ [
887
+ 33,
888
+ "Relationships/syntax_roundup",
889
+ "00:00:01"
890
+ ],
891
+ [
892
+ 61,
893
+ "Relationships/syntax_roundup_class",
894
+ "00:00:01"
895
+ ],
896
+ [
897
+ 15,
898
+ "Relationships/user_group_explicit",
899
+ "00:00:02"
900
+ ],
901
+ [
902
+ 86,
903
+ "Relationships/user_group_implicit",
904
+ "00:00:01"
905
+ ],
906
+ [
907
+ 12,
908
+ "Resources/Exec_Resource",
909
+ "00:00:01"
910
+ ],
911
+ [
912
+ 96,
913
+ "Resources/File_spec",
914
+ "00:00:03"
915
+ ],
916
+ [
917
+ 80,
918
+ "Resources/Lab_FindUseHostType:1",
919
+ "00:00:29"
920
+ ],
921
+ [
922
+ 39,
923
+ "Resources/Lab_PackageFile:1",
924
+ "00:00:01"
925
+ ],
926
+ [
927
+ 34,
928
+ "Resources/Metaparameters_list",
929
+ "00:00:01"
930
+ ],
931
+ [
932
+ 67,
933
+ "Resources/Namevar_overview",
934
+ "00:00:05"
935
+ ],
936
+ [
937
+ 54,
938
+ "Resources/Notify_Resource",
939
+ "00:00:02"
940
+ ],
941
+ [
942
+ 20,
943
+ "Resources/Objectives",
944
+ "00:00:04"
945
+ ],
946
+ [
947
+ 37,
948
+ "Resources/Section",
949
+ "00:00:01"
950
+ ],
951
+ [
952
+ 59,
953
+ "Resources/checkpoint",
954
+ "00:00:01"
955
+ ],
956
+ [
957
+ 23,
958
+ "Resources/features",
959
+ "00:00:02"
960
+ ],
961
+ [
962
+ 93,
963
+ "Resources/file",
964
+ "00:00:11"
965
+ ],
966
+ [
967
+ 12,
968
+ "Resources/file_content_source",
969
+ "00:00:02"
970
+ ],
971
+ [
972
+ 28,
973
+ "Resources/file_contents",
974
+ "00:00:06"
975
+ ],
976
+ [
977
+ 67,
978
+ "Resources/file_serving",
979
+ "00:00:01"
980
+ ],
981
+ [
982
+ 35,
983
+ "Resources/meta",
984
+ "00:00:10"
985
+ ],
986
+ [
987
+ 58,
988
+ "Resources/namevar",
989
+ "00:00:01"
990
+ ],
991
+ [
992
+ 61,
993
+ "Resources/nginx_lab_intro",
994
+ "00:00:01"
995
+ ],
996
+ [
997
+ 40,
998
+ "Resources/resource_documentation",
999
+ "00:00:01"
1000
+ ],
1001
+ [
1002
+ 95,
1003
+ "Resources/resource_origin",
1004
+ "00:00:01"
1005
+ ],
1006
+ [
1007
+ 10,
1008
+ "Resources/resource_relevance",
1009
+ "00:00:04"
1010
+ ],
1011
+ [
1012
+ 16,
1013
+ "Resources/schedule",
1014
+ "00:00:01"
1015
+ ],
1016
+ [
1017
+ 49,
1018
+ "Resources/symlink",
1019
+ "00:00:03"
1020
+ ],
1021
+ [
1022
+ 86,
1023
+ "Resources/title",
1024
+ "00:00:01"
1025
+ ],
1026
+ [
1027
+ 90,
1028
+ "Roles_and_Profiles/Objectives",
1029
+ "00:00:22"
1030
+ ],
1031
+ [
1032
+ 16,
1033
+ "Roles_and_Profiles/business_role",
1034
+ "00:00:01"
1035
+ ],
1036
+ [
1037
+ 67,
1038
+ "Roles_and_Profiles/checkpoint",
1039
+ "00:00:02"
1040
+ ],
1041
+ [
1042
+ 8,
1043
+ "Roles_and_Profiles/good_design",
1044
+ "00:00:01"
1045
+ ],
1046
+ [
1047
+ 25,
1048
+ "Roles_and_Profiles/graphical_recap",
1049
+ "00:00:01"
1050
+ ],
1051
+ [
1052
+ 97,
1053
+ "Roles_and_Profiles/implementation_stack",
1054
+ "00:00:01"
1055
+ ],
1056
+ [
1057
+ 5,
1058
+ "Templates/Checkpoint",
1059
+ "00:00:01"
1060
+ ],
1061
+ [
1062
+ 50,
1063
+ "Templates/Lab-templates:1",
1064
+ "00:00:01"
1065
+ ],
1066
+ [
1067
+ 31,
1068
+ "Templates/Summary",
1069
+ "00:00:02"
1070
+ ],
1071
+ [
1072
+ 7,
1073
+ "Templates/conditionals",
1074
+ "00:00:48"
1075
+ ],
1076
+ [
1077
+ 64,
1078
+ "Templates/example",
1079
+ "00:00:02"
1080
+ ],
1081
+ [
1082
+ 75,
1083
+ "Templates/file_content",
1084
+ "00:11:04"
1085
+ ],
1086
+ [
1087
+ 25,
1088
+ "Templates/iteration",
1089
+ "00:00:03"
1090
+ ],
1091
+ [
1092
+ 97,
1093
+ "Templates/legacy",
1094
+ "00:00:03"
1095
+ ],
1096
+ [
1097
+ 34,
1098
+ "Templates/module_structure",
1099
+ "00:00:01"
1100
+ ],
1101
+ [
1102
+ 50,
1103
+ "Templates/rendering",
1104
+ "00:01:29"
1105
+ ],
1106
+ [
1107
+ 99,
1108
+ "Templates/return_value",
1109
+ "00:01:55"
1110
+ ],
1111
+ [
1112
+ 70,
1113
+ "Templates/templates_intro",
1114
+ "00:01:17"
1115
+ ],
1116
+ [
1117
+ 65,
1118
+ "Templates/validation",
1119
+ "01:09:59"
1120
+ ],
1121
+ [
1122
+ 29,
1123
+ "Templates/variables",
1124
+ "00:00:01"
1125
+ ]
1126
+ ];
1127
+
1128
+ var shortdata = [
1129
+ [
1130
+ 78,
1131
+ "About_Puppet/About_Puppet",
1132
+ "00:00:03"
1133
+ ],
1134
+ [
1135
+ 74,
1136
+ "About_Puppet/Current_State",
1137
+ "00:00:03"
1138
+ ],
1139
+ [
1140
+ 7,
1141
+ "About_Puppet/How_Puppet_Works",
1142
+ "00:10:42"
1143
+ ],
1144
+ [
1145
+ 25,
1146
+ "About_Puppet/Introducing_PE",
1147
+ "00:05:47",
1148
+ "current"
1149
+ ],
1150
+ [
1151
+ 49,
1152
+ "About_Puppet/Objectives",
1153
+ "00:00:03"
1154
+ ],
1155
+ [
1156
+ 91,
1157
+ "About_Puppet/Puppet_Works_Define3",
1158
+ "00:00:37"
1159
+ ]
1160
+ ];
1161
+
1162
+ var medium = [
1163
+ [
1164
+ 78,
1165
+ "About_Puppet/About_Puppet",
1166
+ "00:00:03"
1167
+ ],
1168
+ [
1169
+ 74,
1170
+ "About_Puppet/Current_State",
1171
+ "00:00:03"
1172
+ ],
1173
+ [
1174
+ 7,
1175
+ "About_Puppet/How_Puppet_Works",
1176
+ "00:10:42"
1177
+ ],
1178
+ [
1179
+ 25,
1180
+ "About_Puppet/Introducing_PE",
1181
+ "00:05:47"
1182
+ ],
1183
+ [
1184
+ 49,
1185
+ "About_Puppet/Objectives",
1186
+ "00:00:03"
1187
+ ],
1188
+ [
1189
+ 91,
1190
+ "About_Puppet/Puppet_Works_Define3",
1191
+ "00:00:37"
1192
+ ],
1193
+ [
1194
+ 84,
1195
+ "About_Puppet/Section",
1196
+ "00:00:09"
1197
+ ],
1198
+ [
1199
+ 80,
1200
+ "About_Puppet/make_it_work",
1201
+ "00:00:04"
1202
+ ],
1203
+ [
1204
+ 27,
1205
+ "Advanced_Classes/Hiera_Overview",
1206
+ "00:00:01"
1207
+ ],
1208
+ [
1209
+ 49,
1210
+ "Advanced_Classes/Hiera_puppet_configuration",
1211
+ "00:00:03"
1212
+ ],
1213
+ [
1214
+ 99,
1215
+ "Advanced_Classes/Hiera_puppet_usage",
1216
+ "02:11:06"
1217
+ ],
1218
+ [
1219
+ 85,
1220
+ "Advanced_Classes/Lab_HieraParams:1",
1221
+ "00:00:02"
1222
+ ],
1223
+ [
1224
+ 79,
1225
+ "Advanced_Classes/Lab_ParameterizedClasses:1",
1226
+ "00:00:01"
1227
+ ],
1228
+ [
1229
+ 21,
1230
+ "Advanced_Classes/Lab_params:1",
1231
+ "00:00:01"
1232
+ ],
1233
+ [
1234
+ 55,
1235
+ "Advanced_Classes/Objectives",
1236
+ "00:00:01"
1237
+ ],
1238
+ [
1239
+ 26,
1240
+ "Advanced_Classes/Sensitive_Data",
1241
+ "00:00:01"
1242
+ ],
1243
+ [
1244
+ 7,
1245
+ "Advanced_Classes/checkpoint",
1246
+ "00:00:02"
1247
+ ],
1248
+ [
1249
+ 6,
1250
+ "Advanced_Classes/hiera_visualization_2",
1251
+ "00:00:06"
1252
+ ],
1253
+ [
1254
+ 34,
1255
+ "Advanced_Classes/inherited_classes_1",
1256
+ "00:00:01"
1257
+ ],
1258
+ [
1259
+ 21,
1260
+ "Advanced_Classes/inherited_classes_2",
1261
+ "00:00:01"
1262
+ ],
1263
+ [
1264
+ 79,
1265
+ "Advanced_Classes/inherited_classes_3",
1266
+ "00:00:01"
1267
+ ],
1268
+ [
1269
+ 67,
1270
+ "Advanced_Classes/parameterized_declare",
1271
+ "00:00:01"
1272
+ ],
1273
+ [
1274
+ 68,
1275
+ "Advanced_Classes/parameterized_define",
1276
+ "00:00:01"
1277
+ ],
1278
+ [
1279
+ 95,
1280
+ "Advanced_Classes/parameterized_define2",
1281
+ "00:00:01"
1282
+ ],
1283
+ [
1284
+ 18,
1285
+ "Advanced_Classes/parameterized_use",
1286
+ "00:00:01"
1287
+ ],
1288
+ [
1289
+ 15,
1290
+ "Capstone_Lab/Feedback",
1291
+ "00:00:01"
1292
+ ],
1293
+ [
1294
+ 32,
1295
+ "Capstone_Lab/Section",
1296
+ "00:00:01"
1297
+ ],
1298
+ [
1299
+ 49,
1300
+ "Classification/Lab_DeployFirstModule:1",
1301
+ "00:00:01"
1302
+ ],
1303
+ [
1304
+ 97,
1305
+ "Classification/Nodes_default",
1306
+ "00:00:05"
1307
+ ],
1308
+ [
1309
+ 21,
1310
+ "Classification/Nodes_overview",
1311
+ "00:00:01"
1312
+ ],
1313
+ [
1314
+ 22,
1315
+ "Classification/Objectives",
1316
+ "00:00:01"
1317
+ ],
1318
+ [
1319
+ 81,
1320
+ "Classification/checkpoint",
1321
+ "00:00:01"
1322
+ ],
1323
+ [
1324
+ 7,
1325
+ "Classification/console_assign_classes",
1326
+ "00:00:01"
1327
+ ],
1328
+ [
1329
+ 98,
1330
+ "Classification/console_group_pin",
1331
+ "00:00:02"
1332
+ ]
1333
+ ];
1334
+
1335
+ var longdata = [
1336
+ [
1337
+ 78,
1338
+ "About_Puppet/About_Puppet",
1339
+ "00:00:03"
1340
+ ],
1341
+ [
1342
+ 74,
1343
+ "About_Puppet/Current_State",
1344
+ "00:00:03"
1345
+ ],
1346
+ [
1347
+ 7,
1348
+ "About_Puppet/How_Puppet_Works",
1349
+ "00:10:42"
1350
+ ],
1351
+ [
1352
+ 25,
1353
+ "About_Puppet/Introducing_PE",
1354
+ "00:05:47"
1355
+ ],
1356
+ [
1357
+ 49,
1358
+ "About_Puppet/Objectives",
1359
+ "00:00:03"
1360
+ ],
1361
+ [
1362
+ 91,
1363
+ "About_Puppet/Puppet_Works_Define3",
1364
+ "00:00:37"
1365
+ ],
1366
+ [
1367
+ 84,
1368
+ "About_Puppet/Section",
1369
+ "00:00:09"
1370
+ ],
1371
+ [
1372
+ 80,
1373
+ "About_Puppet/make_it_work",
1374
+ "00:00:04"
1375
+ ],
1376
+ [
1377
+ 27,
1378
+ "Advanced_Classes/Hiera_Overview",
1379
+ "00:00:01"
1380
+ ],
1381
+ [
1382
+ 49,
1383
+ "Advanced_Classes/Hiera_puppet_configuration",
1384
+ "00:00:03"
1385
+ ],
1386
+ [
1387
+ 99,
1388
+ "Advanced_Classes/Hiera_puppet_usage",
1389
+ "02:11:06"
1390
+ ],
1391
+ [
1392
+ 85,
1393
+ "Advanced_Classes/Lab_HieraParams:1",
1394
+ "00:00:02"
1395
+ ],
1396
+ [
1397
+ 79,
1398
+ "Advanced_Classes/Lab_ParameterizedClasses:1",
1399
+ "00:00:01"
1400
+ ],
1401
+ [
1402
+ 21,
1403
+ "Advanced_Classes/Lab_params:1",
1404
+ "00:00:01"
1405
+ ],
1406
+ [
1407
+ 55,
1408
+ "Advanced_Classes/Objectives",
1409
+ "00:00:01"
1410
+ ],
1411
+ [
1412
+ 26,
1413
+ "Advanced_Classes/Sensitive_Data",
1414
+ "00:00:01"
1415
+ ],
1416
+ [
1417
+ 7,
1418
+ "Advanced_Classes/checkpoint",
1419
+ "00:00:02"
1420
+ ],
1421
+ [
1422
+ 6,
1423
+ "Advanced_Classes/hiera_visualization_2",
1424
+ "00:00:06"
1425
+ ],
1426
+ [
1427
+ 34,
1428
+ "Advanced_Classes/inherited_classes_1",
1429
+ "00:00:01"
1430
+ ],
1431
+ [
1432
+ 21,
1433
+ "Advanced_Classes/inherited_classes_2",
1434
+ "00:00:01"
1435
+ ],
1436
+ [
1437
+ 79,
1438
+ "Advanced_Classes/inherited_classes_3",
1439
+ "00:00:01"
1440
+ ],
1441
+ [
1442
+ 67,
1443
+ "Advanced_Classes/parameterized_declare",
1444
+ "00:00:01"
1445
+ ],
1446
+ [
1447
+ 68,
1448
+ "Advanced_Classes/parameterized_define",
1449
+ "00:00:01"
1450
+ ],
1451
+ [
1452
+ 95,
1453
+ "Advanced_Classes/parameterized_define2",
1454
+ "00:00:01"
1455
+ ],
1456
+ [
1457
+ 18,
1458
+ "Advanced_Classes/parameterized_use",
1459
+ "00:00:01"
1460
+ ],
1461
+ [
1462
+ 15,
1463
+ "Capstone_Lab/Feedback",
1464
+ "00:00:01"
1465
+ ],
1466
+ [
1467
+ 32,
1468
+ "Capstone_Lab/Section",
1469
+ "00:00:01"
1470
+ ],
1471
+ [
1472
+ 49,
1473
+ "Classification/Lab_DeployFirstModule:1",
1474
+ "00:00:01"
1475
+ ],
1476
+ [
1477
+ 97,
1478
+ "Classification/Nodes_default",
1479
+ "00:00:05"
1480
+ ],
1481
+ [
1482
+ 21,
1483
+ "Classification/Nodes_overview",
1484
+ "00:00:01"
1485
+ ],
1486
+ [
1487
+ 22,
1488
+ "Classification/Objectives",
1489
+ "00:00:01"
1490
+ ],
1491
+ [
1492
+ 81,
1493
+ "Classification/checkpoint",
1494
+ "00:00:01"
1495
+ ],
1496
+ [
1497
+ 7,
1498
+ "Classification/console_assign_classes",
1499
+ "00:00:01"
1500
+ ],
1501
+ [
1502
+ 98,
1503
+ "Classification/console_group_pin",
1504
+ "00:00:02"
1505
+ ],
1506
+ [
1507
+ 70,
1508
+ "Classification/console_node",
1509
+ "00:00:01"
1510
+ ],
1511
+ [
1512
+ 17,
1513
+ "Classification/demo_console",
1514
+ "00:00:01"
1515
+ ],
1516
+ [
1517
+ 1,
1518
+ "Classification/demo_site_pp",
1519
+ "00:00:01"
1520
+ ],
1521
+ [
1522
+ 3,
1523
+ "Classification/stacking_classes_together",
1524
+ "00:00:01"
1525
+ ],
1526
+ [
1527
+ 56,
1528
+ "Classroom_Environment/Classroom_Environment",
1529
+ "00:00:01"
1530
+ ],
1531
+ [
1532
+ 7,
1533
+ "Classroom_Environment/Lab_git_commit:1",
1534
+ "00:00:01"
1535
+ ],
1536
+ [
1537
+ 84,
1538
+ "Classroom_Environment/Lab_git_push:1",
1539
+ "00:03:53"
1540
+ ],
1541
+ [
1542
+ 75,
1543
+ "Classroom_Environment/Objectives",
1544
+ "00:00:02"
1545
+ ],
1546
+ [
1547
+ 83,
1548
+ "Classroom_Environment/Section",
1549
+ "00:00:21"
1550
+ ],
1551
+ [
1552
+ 89,
1553
+ "Classroom_Environment/checkpoint",
1554
+ "00:00:01"
1555
+ ],
1556
+ [
1557
+ 70,
1558
+ "Classroom_Environment/demo-classroom_environment",
1559
+ "00:00:01"
1560
+ ],
1561
+ [
1562
+ 61,
1563
+ "Classroom_Environment/git_mini_tutorial",
1564
+ "00:00:01"
1565
+ ],
1566
+ [
1567
+ 61,
1568
+ "Classroom_Environment/git_mini_tutorial_add",
1569
+ "00:00:01"
1570
+ ],
1571
+ [
1572
+ 98,
1573
+ "Classroom_Environment/git_mini_tutorial_commit",
1574
+ "00:00:01"
1575
+ ],
1576
+ [
1577
+ 21,
1578
+ "Classroom_Environment/git_mini_tutorial_distributed",
1579
+ "00:00:01"
1580
+ ],
1581
+ [
1582
+ 21,
1583
+ "Classroom_Environment/git_mini_tutorial_more",
1584
+ "00:00:01"
1585
+ ],
1586
+ [
1587
+ 49,
1588
+ "Classroom_Environment/git_mini_tutorial_push",
1589
+ "00:00:01"
1590
+ ],
1591
+ [
1592
+ 77,
1593
+ "Classroom_Environment/git_mini_tutorial_status",
1594
+ "00:00:01"
1595
+ ],
1596
+ [
1597
+ 32,
1598
+ "Classroom_Environment/vcs_overview",
1599
+ "00:00:01"
1600
+ ],
1601
+ [
1602
+ 18,
1603
+ "Classroom_Environment/vcs_workflow",
1604
+ "00:00:01"
1605
+ ],
1606
+ [
1607
+ 5,
1608
+ "Classroom_Environment/vcs_workflow_illustrated",
1609
+ "00:00:01"
1610
+ ],
1611
+ [
1612
+ 41,
1613
+ "Component_Roles/Agent_overview",
1614
+ "00:00:01"
1615
+ ],
1616
+ [
1617
+ 47,
1618
+ "Component_Roles/Classroom_stack",
1619
+ "00:00:01"
1620
+ ],
1621
+ [
1622
+ 3,
1623
+ "Component_Roles/Console_overview",
1624
+ "00:00:01"
1625
+ ],
1626
+ [
1627
+ 52,
1628
+ "Component_Roles/Master_overview",
1629
+ "00:00:01"
1630
+ ],
1631
+ [
1632
+ 8,
1633
+ "Component_Roles/Objectives",
1634
+ "00:00:01"
1635
+ ],
1636
+ [
1637
+ 87,
1638
+ "Component_Roles/Puppet_Master",
1639
+ "00:00:01"
1640
+ ],
1641
+ [
1642
+ 65,
1643
+ "Component_Roles/agent_options",
1644
+ "00:00:01"
1645
+ ],
1646
+ [
1647
+ 96,
1648
+ "Component_Roles/checkpoint",
1649
+ "00:00:01"
1650
+ ],
1651
+ [
1652
+ 5,
1653
+ "Component_Roles/client_arch",
1654
+ "00:00:01"
1655
+ ],
1656
+ [
1657
+ 33,
1658
+ "Component_Roles/configuration_management",
1659
+ "00:00:11"
1660
+ ],
1661
+ [
1662
+ 42,
1663
+ "Component_Roles/demo-intro_console",
1664
+ "00:00:01"
1665
+ ],
1666
+ [
1667
+ 72,
1668
+ "Component_Roles/enterprise_console",
1669
+ "00:00:01"
1670
+ ],
1671
+ [
1672
+ 44,
1673
+ "Component_Roles/enterprise_console_events",
1674
+ "00:00:34"
1675
+ ],
1676
+ [
1677
+ 48,
1678
+ "Component_Roles/enterprise_console_node",
1679
+ "00:00:01"
1680
+ ],
1681
+ [
1682
+ 73,
1683
+ "Component_Roles/enterprise_console_node_classification",
1684
+ "00:00:35"
1685
+ ],
1686
+ [
1687
+ 71,
1688
+ "Component_Roles/enterprise_console_report_browse",
1689
+ "00:00:01"
1690
+ ],
1691
+ [
1692
+ 58,
1693
+ "Component_Roles/enterprise_console_report_view",
1694
+ "00:00:01"
1695
+ ],
1696
+ [
1697
+ 53,
1698
+ "Component_Roles/puppet_conf_example",
1699
+ "00:00:01"
1700
+ ],
1701
+ [
1702
+ 32,
1703
+ "Concepts/Section",
1704
+ "00:00:01"
1705
+ ],
1706
+ [
1707
+ 17,
1708
+ "Concepts/abstraction",
1709
+ "00:00:01"
1710
+ ],
1711
+ [
1712
+ 79,
1713
+ "Concepts/checkpoint",
1714
+ "00:00:01"
1715
+ ],
1716
+ [
1717
+ 55,
1718
+ "Concepts/example",
1719
+ "00:00:01"
1720
+ ],
1721
+ [
1722
+ 16,
1723
+ "Concepts/package",
1724
+ "00:00:01"
1725
+ ],
1726
+ [
1727
+ 20,
1728
+ "Concepts/package_managers",
1729
+ "00:00:01"
1730
+ ],
1731
+ [
1732
+ 72,
1733
+ "Concepts/the_problem",
1734
+ "00:00:01"
1735
+ ],
1736
+ [
1737
+ 97,
1738
+ "Concepts/traditional_solutions",
1739
+ "00:00:01"
1740
+ ],
1741
+ [
1742
+ 90,
1743
+ "Course_Conclusion/Course_Summary",
1744
+ "00:00:02"
1745
+ ],
1746
+ [
1747
+ 28,
1748
+ "Course_Conclusion/Outro",
1749
+ "00:16:08"
1750
+ ],
1751
+ [
1752
+ 2,
1753
+ "Course_Overview/Course_Agenda_1",
1754
+ "00:00:02"
1755
+ ],
1756
+ [
1757
+ 40,
1758
+ "Course_Overview/Course_Agenda_2",
1759
+ "00:00:02"
1760
+ ],
1761
+ [
1762
+ 91,
1763
+ "Course_Overview/Course_Agenda_3",
1764
+ "00:00:03"
1765
+ ],
1766
+ [
1767
+ 50,
1768
+ "Course_Overview/Course_Intro:1",
1769
+ "00:19:32"
1770
+ ],
1771
+ [
1772
+ 96,
1773
+ "Course_Overview/Course_Objectives",
1774
+ "00:00:14"
1775
+ ],
1776
+ [
1777
+ 56,
1778
+ "Course_Overview/Course_Overview",
1779
+ "00:00:02"
1780
+ ],
1781
+ [
1782
+ 39,
1783
+ "Course_Overview/Showoff_primer",
1784
+ "01:54:29"
1785
+ ],
1786
+ [
1787
+ 17,
1788
+ "Course_Overview/making_acquaintances",
1789
+ "00:03:18"
1790
+ ],
1791
+ [
1792
+ 63,
1793
+ "Defined_Resources/Objectives",
1794
+ "00:00:01"
1795
+ ],
1796
+ [
1797
+ 84,
1798
+ "Defined_Resources/Section",
1799
+ "00:00:02"
1800
+ ],
1801
+ [
1802
+ 25,
1803
+ "Defined_Resources/example",
1804
+ "00:00:02"
1805
+ ],
1806
+ [
1807
+ 91,
1808
+ "Defined_Resources/module_structure",
1809
+ "00:00:01"
1810
+ ],
1811
+ [
1812
+ 57,
1813
+ "Defined_Resources/overview",
1814
+ "00:00:01"
1815
+ ],
1816
+ [
1817
+ 5,
1818
+ "Defined_Resources/uniqueness",
1819
+ "00:00:03"
1820
+ ],
1821
+ [
1822
+ 32,
1823
+ "Forge/Objectives",
1824
+ "00:00:01"
1825
+ ],
1826
+ [
1827
+ 43,
1828
+ "Forge/Section",
1829
+ "00:00:01"
1830
+ ],
1831
+ [
1832
+ 2,
1833
+ "Forge/checkpoint",
1834
+ "00:00:18"
1835
+ ],
1836
+ [
1837
+ 76,
1838
+ "Forge/forge_modules_wrappers",
1839
+ "00:00:10"
1840
+ ],
1841
+ [
1842
+ 26,
1843
+ "Installation/Exercise_Facter:1",
1844
+ "00:00:01"
1845
+ ],
1846
+ [
1847
+ 26,
1848
+ "Installation/Exercise_PuppetResource:1",
1849
+ "00:00:01"
1850
+ ],
1851
+ [
1852
+ 56,
1853
+ "Installation/Facter_overview",
1854
+ "00:00:01"
1855
+ ],
1856
+ [
1857
+ 90,
1858
+ "Installation/Lab_Installation:1",
1859
+ "00:00:01"
1860
+ ],
1861
+ [
1862
+ 65,
1863
+ "Installation/Objectives",
1864
+ "00:00:01"
1865
+ ],
1866
+ [
1867
+ 66,
1868
+ "Installation/Resource_overview",
1869
+ "00:00:01"
1870
+ ],
1871
+ [
1872
+ 46,
1873
+ "Installation/Section",
1874
+ "00:00:06"
1875
+ ],
1876
+ [
1877
+ 86,
1878
+ "Installation/checkpoint",
1879
+ "00:00:01"
1880
+ ],
1881
+ [
1882
+ 20,
1883
+ "Installation/demo-install_agent",
1884
+ "00:00:01"
1885
+ ],
1886
+ [
1887
+ 25,
1888
+ "Installation/query",
1889
+ "00:00:04"
1890
+ ],
1891
+ [
1892
+ 87,
1893
+ "Installation/query_all",
1894
+ "00:00:01"
1895
+ ],
1896
+ [
1897
+ 79,
1898
+ "Installation/structured_facts",
1899
+ "00:00:01"
1900
+ ],
1901
+ [
1902
+ 20,
1903
+ "Language_Constructs/Arrays_intro",
1904
+ "00:00:01"
1905
+ ],
1906
+ [
1907
+ 89,
1908
+ "Language_Constructs/Conditionals_overview",
1909
+ "00:00:01"
1910
+ ],
1911
+ [
1912
+ 61,
1913
+ "Language_Constructs/Defaults_example",
1914
+ "00:00:02"
1915
+ ],
1916
+ [
1917
+ 13,
1918
+ "Language_Constructs/Defaults_example2",
1919
+ "00:00:01"
1920
+ ],
1921
+ [
1922
+ 69,
1923
+ "Language_Constructs/Defaults_intro",
1924
+ "00:00:01"
1925
+ ],
1926
+ [
1927
+ 3,
1928
+ "Language_Constructs/Lab_ResourceDefaults:1",
1929
+ "00:00:01"
1930
+ ],
1931
+ [
1932
+ 82,
1933
+ "Language_Constructs/Variable_Scope",
1934
+ "00:00:01"
1935
+ ],
1936
+ [
1937
+ 37,
1938
+ "Language_Constructs/facts",
1939
+ "00:00:02"
1940
+ ],
1941
+ [
1942
+ 43,
1943
+ "Language_Constructs/facts_hash",
1944
+ "00:00:01"
1945
+ ],
1946
+ [
1947
+ 62,
1948
+ "Language_Constructs/metaparam_arg",
1949
+ "00:00:01"
1950
+ ],
1951
+ [
1952
+ 98,
1953
+ "Language_Constructs/quoting",
1954
+ "00:00:01"
1955
+ ],
1956
+ [
1957
+ 69,
1958
+ "Language_Constructs/rvalue",
1959
+ "00:00:03"
1960
+ ],
1961
+ [
1962
+ 90,
1963
+ "Modules_and_Classes/Apply_noop",
1964
+ "00:00:01"
1965
+ ],
1966
+ [
1967
+ 36,
1968
+ "Modules_and_Classes/Apply_noop2",
1969
+ "00:00:01"
1970
+ ],
1971
+ [
1972
+ 9,
1973
+ "Modules_and_Classes/Apply_overview",
1974
+ "00:00:01"
1975
+ ],
1976
+ [
1977
+ 30,
1978
+ "Modules_and_Classes/Classes_overview",
1979
+ "00:00:01"
1980
+ ],
1981
+ [
1982
+ 77,
1983
+ "Modules_and_Classes/Group_spec",
1984
+ "00:00:01"
1985
+ ],
1986
+ [
1987
+ 16,
1988
+ "Modules_and_Classes/Lab_BuildYourFirstModule:1",
1989
+ "00:00:01"
1990
+ ],
1991
+ [
1992
+ 58,
1993
+ "Modules_and_Classes/Lab_ExpandYourFirstModule:1",
1994
+ "00:00:01"
1995
+ ]
1996
+ ];
1997
+
1998
+ var numbers = [
1999
+ 23,
2000
+ 64,
2001
+ 22,
2002
+ 91,
2003
+ 38,
2004
+ 12,
2005
+ 87,
2006
+ [76, null, null, "current" ],
2007
+ 54,
2008
+ 43,
2009
+ 32,
2010
+ 21,
2011
+ 19
2012
+ ];
2013
+
2014
+ $(document).ready(function(){
2015
+
2016
+ $(".sparkline").zoomline({
2017
+ data: sparkdata,
2018
+ callback: function(element) { alert("You clicked on: " + element.attr("data-left")); }
2019
+ });
2020
+
2021
+ $(".shortline").zoomline({
2022
+ data: shortdata,
2023
+ callback: function(element) { alert("The time is: " + element.attr("data-right")); }
2024
+ });
2025
+
2026
+ $(".medium").zoomline({
2027
+ data: medium,
2028
+ callback: function(element) { alert(element.attr("data-left") + " " + element.attr("data-right")); }
2029
+ });
2030
+
2031
+ $(".longdata").zoomline({
2032
+ data: longdata
2033
+ });
2034
+
2035
+ $(".numbers").zoomline({
2036
+ data: numbers,
2037
+ max: 91 //Math.max.apply(null,numbers)
2038
+ });
2039
+
2040
+
2041
+ });
2042
+ </script>
2043
+ </head>
2044
+
2045
+ <body>
2046
+ <div class="sparkline"></div>
2047
+ <hr />
2048
+ <div class="shortline"></div>
2049
+ <hr />
2050
+ <div class="medium"></div>
2051
+ <hr />
2052
+ <div class="longdata"></div>
2053
+ <hr />
2054
+ <div class="numbers"></div>
2055
+ </body>
2056
+ </html>
2057
+
2058
+
2059
+
2060
+ <!--
2061
+
2062
+ + <link rel="stylesheet" type="text/css" href="<%= @asset_path %>/css/zoomline-0.0.1.css">
2063
+ + <script type="text/javascript" src="<%= @asset_path %>/js/zoomline-0.0.1.js"></script>
2064
+
2065
+
2066
+ <script type="text/javascript">
2067
+
2068
+ <% sparkdata = [] %>
2069
+ <% max = @most[0][1].to_f %>
2070
+ <% @all.sort.map do |slide, time| %>
2071
+ <% sparkdata.push([time, slide, Time.at(time).gmtime.strftime('%H:%M:%S')]); %>
2072
+ <% end %>
2073
+ var sparkdata = <%= JSON.pretty_generate(sparkdata); %>;
2074
+ $(document).ready(function(){
2075
+ setupStats();
2076
+
2077
+ $(".sparkline").zoomline({
2078
+ max: <%= max %>,
2079
+ data: sparkdata,
2080
+ click: function(element) { alert("Oh hi there: " +element.attr("data-left")); }
2081
+ });
2082
+
2083
+ });
2084
+ </script>
2085
+ -->