Skip to content

Commit 6ba71bc

Browse files
author
Lancelot the Brave
committed
nbstripout outputs and metadata.kernelspec
1 parent bc7ea9b commit 6ba71bc

File tree

79 files changed

+3188
-212499
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3188
-212499
lines changed

ch00git/01Intro.ipynb

Lines changed: 18 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -169,28 +169,19 @@
169169
},
170170
{
171171
"cell_type": "code",
172-
"execution_count": 1,
172+
"execution_count": null,
173173
"metadata": {
174174
"attributes": {
175175
"classes": [
176176
" Bash"
177177
],
178178
"id": ""
179179
},
180-
"collapsed": false,
181180
"jupyter": {
182181
"outputs_hidden": false
183182
}
184183
},
185-
"outputs": [
186-
{
187-
"name": "stdout",
188-
"output_type": "stream",
189-
"text": [
190-
"some output\n"
191-
]
192-
}
193-
],
184+
"outputs": [],
194185
"source": [
195186
"%%bash\n",
196187
"echo some output"
@@ -212,22 +203,13 @@
212203
},
213204
{
214205
"cell_type": "code",
215-
"execution_count": 2,
206+
"execution_count": null,
216207
"metadata": {
217-
"collapsed": false,
218208
"jupyter": {
219209
"outputs_hidden": false
220210
}
221211
},
222-
"outputs": [
223-
{
224-
"name": "stdout",
225-
"output_type": "stream",
226-
"text": [
227-
"Overwriting somefile.md\n"
228-
]
229-
}
230-
],
212+
"outputs": [],
231213
"source": [
232214
"%%writefile somefile.md\n",
233215
"Some content here"
@@ -250,15 +232,14 @@
250232
},
251233
{
252234
"cell_type": "code",
253-
"execution_count": 3,
235+
"execution_count": null,
254236
"metadata": {
255237
"attributes": {
256238
"classes": [
257239
" Bash"
258240
],
259241
"id": ""
260242
},
261-
"collapsed": false,
262243
"jupyter": {
263244
"outputs_hidden": false
264245
}
@@ -280,25 +261,13 @@
280261
},
281262
{
282263
"cell_type": "code",
283-
"execution_count": 4,
264+
"execution_count": null,
284265
"metadata": {
285-
"collapsed": false,
286266
"jupyter": {
287267
"outputs_hidden": false
288268
}
289269
},
290-
"outputs": [
291-
{
292-
"data": {
293-
"text/plain": [
294-
"'/Users/jamespjh/devel/rsdt/rsd-engineeringcourse/ch00git'"
295-
]
296-
},
297-
"execution_count": 4,
298-
"metadata": {},
299-
"output_type": "execute_result"
300-
}
301-
],
270+
"outputs": [],
302271
"source": [
303272
"import os\n",
304273
"top_dir = os.getcwd()\n",
@@ -307,33 +276,21 @@
307276
},
308277
{
309278
"cell_type": "code",
310-
"execution_count": 5,
279+
"execution_count": null,
311280
"metadata": {
312-
"collapsed": false,
313281
"jupyter": {
314282
"outputs_hidden": false
315283
}
316284
},
317-
"outputs": [
318-
{
319-
"data": {
320-
"text/plain": [
321-
"'/Users/jamespjh/devel/rsdt/rsd-engineeringcourse/ch00git/learning_git'"
322-
]
323-
},
324-
"execution_count": 5,
325-
"metadata": {},
326-
"output_type": "execute_result"
327-
}
328-
],
285+
"outputs": [],
329286
"source": [
330287
"git_dir = os.path.join(top_dir, 'learning_git')\n",
331288
"git_dir"
332289
]
333290
},
334291
{
335292
"cell_type": "code",
336-
"execution_count": 6,
293+
"execution_count": null,
337294
"metadata": {},
338295
"outputs": [],
339296
"source": [
@@ -342,9 +299,8 @@
342299
},
343300
{
344301
"cell_type": "code",
345-
"execution_count": 7,
302+
"execution_count": null,
346303
"metadata": {
347-
"collapsed": false,
348304
"jupyter": {
349305
"outputs_hidden": false
350306
}
@@ -367,15 +323,14 @@
367323
},
368324
{
369325
"cell_type": "code",
370-
"execution_count": 8,
326+
"execution_count": null,
371327
"metadata": {
372328
"attributes": {
373329
"classes": [
374330
" Bash"
375331
],
376332
"id": ""
377333
},
378-
"collapsed": false,
379334
"jupyter": {
380335
"outputs_hidden": false
381336
}
@@ -422,29 +377,19 @@
422377
},
423378
{
424379
"cell_type": "code",
425-
"execution_count": 9,
380+
"execution_count": null,
426381
"metadata": {
427382
"attributes": {
428383
"classes": [
429384
" Bash"
430385
],
431386
"id": ""
432387
},
433-
"collapsed": false,
434388
"jupyter": {
435389
"outputs_hidden": false
436390
}
437391
},
438-
"outputs": [
439-
{
440-
"name": "stdout",
441-
"output_type": "stream",
442-
"text": [
443-
"/Users/jamespjh/devel/rsdt/rsd-engineeringcourse/ch00git/learning_git/git_example\n",
444-
"Initialized empty Git repository in /Users/jamespjh/devel/rsdt/rsd-engineeringcourse/ch00git/learning_git/git_example/.git/\n"
445-
]
446-
}
447-
],
392+
"outputs": [],
448393
"source": [
449394
"%%bash\n",
450395
"pwd # Note where we are standing-- MAKE SURE YOU INITIALISE THE RIGHT FOLDER\n",
@@ -460,9 +405,8 @@
460405
},
461406
{
462407
"cell_type": "code",
463-
"execution_count": 10,
408+
"execution_count": null,
464409
"metadata": {
465-
"collapsed": false,
466410
"jupyter": {
467411
"outputs_hidden": false
468412
}
@@ -475,32 +419,19 @@
475419
},
476420
{
477421
"cell_type": "code",
478-
"execution_count": 11,
422+
"execution_count": null,
479423
"metadata": {
480424
"attributes": {
481425
"classes": [
482426
" Bash"
483427
],
484428
"id": ""
485429
},
486-
"collapsed": false,
487430
"jupyter": {
488431
"outputs_hidden": false
489432
}
490433
},
491-
"outputs": [
492-
{
493-
"name": "stdout",
494-
"output_type": "stream",
495-
"text": [
496-
"On branch master\n",
497-
"\n",
498-
"Initial commit\n",
499-
"\n",
500-
"nothing to commit\n"
501-
]
502-
}
503-
],
434+
"outputs": [],
504435
"source": [
505436
"%%bash\n",
506437
"git status"
@@ -511,11 +442,6 @@
511442
"jekyll": {
512443
"display_name": "Introduction to Version Control"
513444
},
514-
"kernelspec": {
515-
"display_name": "Python 3",
516-
"language": "python",
517-
"name": "python3"
518-
},
519445
"language_info": {
520446
"codemirror_mode": {
521447
"name": "ipython",
@@ -526,7 +452,7 @@
526452
"name": "python",
527453
"nbconvert_exporter": "python",
528454
"pygments_lexer": "ipython3",
529-
"version": "3.7.3"
455+
"version": "3.11.5"
530456
}
531457
},
532458
"nbformat": 4,

0 commit comments

Comments
 (0)