forked from aliev/runestone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
404 lines (337 loc) · 19.8 KB
/
search.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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Search — Programs, Information, and People: Interactive Edition</title>
<link rel="stylesheet" href="_static/basic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/bootstrap-3.0.0/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="_static/poll.css" type="text/css" />
<link rel="stylesheet" href="_static/video.css" type="text/css" />
<link rel="stylesheet" href="_static/pytutor.css" type="text/css" />
<link rel="stylesheet" href="_static/modal-basic.css" type="text/css" />
<link rel="stylesheet" href="_static/codemirror.css" type="text/css" />
<link rel="stylesheet" href="_static/activecode.css" type="text/css" />
<link rel="stylesheet" href="_static/tabbedstuff.css" type="text/css" />
<link rel="stylesheet" href="_static/parsons.css" type="text/css" />
<link rel="stylesheet" href="_static/lib/prettify.css" type="text/css" />
<link rel="stylesheet" href="_static/jquery-ui-1.10.3.custom.min.css" type="text/css" />
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
<link rel="stylesheet" href="_static/user-highlights.css" type="text/css" />
<link rel="stylesheet" href="_static/runestone-custom-sphinx-bootstrap.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '3.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/poll.js"></script>
<script type="text/javascript" src="_static/d3.v2.min.js"></script>
<script type="text/javascript" src="_static/jquery.ba-bbq.min.js"></script>
<script type="text/javascript" src="_static/jquery.jsPlumb-1.3.10-all-min.js"></script>
<script type="text/javascript" src="_static/pytutor.js"></script>
<script type="text/javascript" src="_static/jquery.highlight.js"></script>
<script type="text/javascript" src="_static/bookfuncs.js"></script>
<script type="text/javascript" src="_static/codemirror.js"></script>
<script type="text/javascript" src="_static/xml.js"></script>
<script type="text/javascript" src="_static/css.js"></script>
<script type="text/javascript" src="_static/htmlmixed.js"></script>
<script type="text/javascript" src="_static/python.js"></script>
<script type="text/javascript" src="_static/javascript.js"></script>
<script type="text/javascript" src="_static/activecode.js"></script>
<script type="text/javascript" src="_static/skulpt.min.js"></script>
<script type="text/javascript" src="_static/skulpt-stdlib.js"></script>
<script type="text/javascript" src="_static/assess.js"></script>
<script type="text/javascript" src="_static/animationbase.js"></script>
<script type="text/javascript" src="_static/lib/jquery.min.js"></script>
<script type="text/javascript" src="_static/lib/jquery-ui.min.js"></script>
<script type="text/javascript" src="_static/lib/prettify.js"></script>
<script type="text/javascript" src="_static/lib/underscore-min.js"></script>
<script type="text/javascript" src="_static/lib/lis.js"></script>
<script type="text/javascript" src="_static/parsons.js"></script>
<script type="text/javascript" src="_static/parsons-noconflict.js"></script>
<script type="text/javascript" src="_static/bookfuncs.js"></script>
<script type="text/javascript" src="_static/skulpt.min.js"></script>
<script type="text/javascript" src="_static/skulpt-stdlib.js"></script>
<script type="text/javascript" src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="_static/searchtools.js"></script>
<script type="text/javascript" src="_static/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="_static/jquery-fix.js"></script>
<script type="text/javascript" src="_static/bootstrap-3.0.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
<script type="text/javascript" src="_static/waypoints.min.js"></script>
<script type="text/javascript" src="_static/rangy-core.js"></script>
<script type="text/javascript" src="_static/rangy-textrange.js"></script>
<script type="text/javascript" src="_static/rangy-cssclassapplier.js"></script>
<script type="text/javascript" src="_static/user-highlights.js"></script>
<script type="text/javascript" src="_static/jquery.idle-timer.js"></script>
<script type="text/javascript" src="_static/processing-1.4.1.min.js"></script>
<script type="text/javascript" src="_static/jquery.hotkey.js"></script>
<script type="text/javascript" src="_static/jquery-migrate-1.2.1.min.js"></script>
<link rel="top" title="Programs, Information, and People: Interactive Edition" href="index.html" />
<script type="text/javascript">
jQuery(function() { Search.loadIndex("searchindex.js"); });
</script>
<script type="text/javascript" id="searchindexloader"></script>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<script type="text/javascript">
eBookConfig = {};
eBookConfig.host = 'http://127.0.0.1:8000' ? 'http://127.0.0.1:8000' : 'http://127.0.0.1:8000';
eBookConfig.app = eBookConfig.host+'/runestone';
eBookConfig.ajaxURL = eBookConfig.app+'/ajax/';
eBookConfig.course = 'pip2';
eBookConfig.logLevel = 10;
eBookConfig.loginRequired = false
eBookConfig.build_info = "2.1.5";
eBookConfig.isLoggedIn = false;
</script>
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&status=0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</head>
<body>
<!-- Begin navbar -->
<div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type='button' class='navbar-toggle' data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div>
<a class="brand-logo" style='background: transparent url("_static/img/logo_small.png") no-repeat 0px 0px;' href="/runestone/default/user/login"> </a>
<a class="navbar-brand" href="toc.html">Programs, Information, and People</a>
</div>
</div>
<div class="navbar-collapse collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="divider-vertical"></li>
<!-- social media dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="glyphicon glyphicon-share-alt" style="opacity: 0.9"></i>
</a>
<ul class="dropdown-menu social-menu">
<li>
<div>
<b>Runestone in social media:</b>
</div>
<a href="https://twitter.com/iRunestone" class="twitter-follow-button" data-show-count="true">Follow @iRunestone</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="fb-like" data-href="https://www.facebook.com/RunestoneInteractive" data-send="false" data-layout="button_count" data-width="300" data-show-faces="false" data-font="arial"></div>
</li>
<li class="divider"></li>
<li>
<div>
<b>Help support us:</b>
</div>
<div class="gittip">
<iframe style="border:0;"
src="https://www.gittip.com/bnmnetp/widget.html"
width="48pt" height="22pt" class="gittip-button">
</iframe>
</div>
<div>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHNwYJKoZIhvcNAQcEoIIHKDCCByQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAcrkqh1hn3lYqIpfXxNqe1T82EhXzCJGy1yMAmklpyZshyMkfDGe1Bhx+iwyGeoYRTTyphFmP+9M3NyO0+Q5XdHxgZPx/zYjjBxlZHgEV6jhE8bN2fHkkPf0VHfz0a0QQylQOPlKiOTZV7B37Jpk6yM47oVZ1tG/KNm0NkfmB76DELMAkGBSsOAwIaBQAwgbQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIi0GmFfOlcjuAgZBbYOo9UO+CpMQa+PYqwsUmUnJvXIImeMeNI3KVTUx5Cfk9gNMo3W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DFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbYIBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAIFfOlaagFrl71+jq6OKidbWFSE+Q4FqROvdgIONth+8kSK//Y/4ihuE4Ymvzn5ceE3S/iBSQQMjyvb+s2TWbQYDwcp129OPIbD9epdr4tJOUNiSojw7BHwYRiPh58S1xGlFgHFXwrEBb3dgNbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmjCCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzExMDMxMzQxMzFaMCMGCSqGSIb3DQEJBDEWBBRDJF8w+zsMr7FSk+pwinB5f5D4rzANBgkqhkiG9w0BAQEFAASBgHw1LMHpkpaqHIvDGdFE0eG+2mZlmMnUeDCBhQlbc7QMzFQYKTV94NfaebBO4PmNdADe1rq4WidSRZZbE7CzkX9IGENYnBTWY0hb2l0lGdGrJdGeWyV3ekg9WVaFMMumrekds96h3Cx7dGz2kWDzIai2iEXE/qoE+xpkyXAYZNV3-----END PKCS7-----
">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
</li>
</ul>
</li>
<!-- end social media dropdown -->
<li class="divider-vertical"></li>
<!-- search dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="glyphicon glyphicon-search" style='opacity:0.9;'></i>
</a>
<ul class='dropdown-menu'>
<li><a href='toc.html'>Table of Contents</a></li>
<li><a href='/runestone/static/pip2/genindex.html'>Book Index</a></li>
<li class="divider"></li>
<li id="scratch_ac_link"><a href="javascript:toggleScratchActivecode()">Scratch ActiveCode</a></li>
<li class="divider"></li>
<li style="width: 240px;">
<form class="navbar-search" style="margin:10px;" action="#" method="get">
<div class="input-group">
<input type="text" class="form-control" name="q" placeholder="Search this book" />
<span class="input-group-btn">
<button class="btn btn-primary" style="margin:0;" type="submit">
<i class="glyphicon glyphicon-search"></i>
</button>
</span>
</div><!-- /input-group -->
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</li>
</ul>
</li>
<!-- end search dropdown -->
<li class="divider-vertical"></li>
<!-- user account dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="glyphicon glyphicon-user" style="opacity:0.9;"></i>
</a>
<ul class="dropdown-menu user-menu">
<li><span class='loggedinuser'></span></li>
<li class="divider"></li>
<li><a href='http://127.0.0.1:8000/runestone/mygroup/initiateGroup' id="joinGroupLink">Join a Study Group</a></li>
<li><a href='http://127.0.0.1:8000/runestone/mygroup/schedule' id="groupScheduleLink">Group Schedule</a></li>
<li><a href='http://127.0.0.1:8000/runestone/mygroup/newschedule' id="newChapterLink">Schedule New Chapter</a></li>
<li><a href='http://127.0.0.1:8000/runestone/mygroup/manageGroup' id="manageGroupLink">Manage Group</a></li>
<li class="divider"></li>
<li><a href='http://127.0.0.1:8000/runestone/admin/index'>Instructor's Page</a></li>
<li><a href='http://127.0.0.1:8000/runestone/assignments/index'>Progress Page</a></li>
<li class="divider"></li>
<li><a href="http://127.0.0.1:8000/runestone/default/user/profile" id="profilelink">Edit Profile</a></li>
<li><a href="http://127.0.0.1:8000/runestone/default/user/change_password" id="passwordlink">Change Password</a></li>
<li><a href="http://127.0.0.1:8000/runestone/default/user/register" id="registerlink">Register</a></li>
<li class='loginout'><a href='#'>Login</a></li> <!-- correct link populated by addNavbarLoginLink() -->
</ul>
</li>
<!-- end user account dropdown -->
<li class="divider-vertical"></li>
<!-- help menu dropdown -->
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="glyphicon glyphicon-question-sign" style="opacity:0.9;"></i>
</a>
<ul class="dropdown-menu user-menu">
<li><a href='/runestone/static/pip2/navhelp.html'>Navigation Help</a></li>
<li><a href='/runestone/static/overview/instructor.html'>Help for Instructors</a></li>
<li class="divider"></li>
<li><a href='http://runestoneinteractive.org'>About Runestone</a></li>
<li><a href='https://github.com/bnmnetp/runestone/issues/new'>Report A Problem</a></li>
</ul>
</li>
<!-- end help menu dropdown -->
<li class="divider-vertical"></li>
</ul>
<ul class="nav navbar-nav">
<li class="divider-vertical"></li>
<!--
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Page <b class="caret"></b></a>
<ul class="dropdown-menu localtoc"></ul>
</li>
<li class="divider-vertical"></li>
<script type="text/javascript">
opts = {'placement':'bottom',
'selector': '',
'delay': { show: 100, hide: 50}
};
$('#relations-prev').tooltip(opts);
$('#relations-next').tooltip(opts);
</script>
-->
<li></li>
</ul>
</div>
</div>
</div>
<div class="container" id="continue-reading"></div>
<div class="container" id="main-content">
<h1 id="search-documentation">Search</h1>
<div id="fallback" class="admonition warning">
<script type="text/javascript">$('#fallback').hide();</script>
<p>
Please activate JavaScript to enable the search
functionality.
</p>
</div>
<p>
From here you can search these documents. Enter your search
words into the box below and click "search". Note that the search
function will automatically search for all of the words. Pages
containing fewer words won't appear in the result list.
</p>
<form action="" method="get">
<input type="text" name="q" value="" />
<input type="submit" value="search" />
<span id="search-progress" style="padding-left: 10px"></span>
</form>
<div id="search-results">
</div>
<script type="text/javascript">
$('#relations-prev').tooltip({'placement':'right', 'selector': '', 'delay': { show: 100, hide: 50}});
$('#relations-next').tooltip({'placement':'left', 'selector': '', 'delay': { show: 100, hide: 50}});
</script>
</div>
<footer class="footer">
<div class="container">
<p class="pull-right">
<span id='numuserspan'></span> readers online now | <span class='loggedinuser'></span> | <a href="#">Back to top</a>
</p>
<p>
© Copyright 2013 Paul Resnick, Brad Miller, David Ranum, Created using Runestone Interactive.
</p>
</div>
</footer>
<script type="text/javascript" charset="utf-8">
$(document).ready(addUserToFooter);
$(document).ready(addNavbarLoginLink);
$(document).ready(createEditors);
$(document).ready(getNumUsers);
$(document).ready(getOnlineUsers);
$(document).ready(createScratchActivecode());
$(document).ready(styleUnittestResults());
</script>
<script type="text/javascript">
// add the video play button overlay image
$(".video-play-overlay").each(function() {
$(this).css('background-image', "url(\'_static/play_overlay_icon.png\')")
});
// This function is needed to allow the dropdown search bar to work;
// The default behaviour is that the dropdown menu closes when something in
// it (like the search bar) is clicked
$(function() {
// Fix input element click problem
$('.dropdown input, .dropdown label').click(function(e) {
e.stopPropagation();
});
});
// style codelens buttons (doing it here because PyTutor is a submodule owned by someone else
$(function() {
$(".ExecutionVisualizer").each(function() {
$(this).find("#jmpFirstInstr").addClass('btn btn-default');
$(this).find("#jmpStepBack").addClass('btn btn-danger');
$(this).find("#jmpStepFwd").addClass('btn btn-success');
$(this).find("#jmpLastInstr").addClass('btn btn-default');
});
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32029811-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>