Skip to content

Commit 113e2a2

Browse files
committed
start adding images to posts
1 parent 9ab2bc4 commit 113e2a2

39 files changed

Lines changed: 405 additions & 145 deletions

blog/2017-09-07-introducing-command-handler.html

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
<html lang="en">
33

44
<head>
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<meta name="author" content="Harry Percival and Bob Gregory">
8-
<meta name="description" content="">
5+
<title>cosmic_python</title>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="author" content="Harry Percival and Bob Gregory">
9+
<meta name="description" content="">
10+
<meta property="og:title" content="cosmic_python" />
11+
<meta property="og:type" content="website" />
12+
<meta property="og:url" content="https://www.cosmicpython.com/blog/2017-09-07-introducing-command-handler.html" />
13+
<meta property="og:image" content="https://www.cosmicpython.com/images/lobster-nebula.jpg" />
914
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
1015
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
1116
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css">
1217
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pygments-css@1.0.0/friendly.css">
1318
<link rel="stylesheet" href="/styles.css">
19+
1420
</head>
1521

1622
<body>
17-
<main class="wrapper">
23+
<main class="wrapper">
1824

19-
<nav class="navigation">
20-
<section class="container">
21-
<a class="navigation-title" href="/">
22-
<h1 class="title">Cosmic Python</h1>
23-
</a>
25+
<nav class="navigation">
26+
<section class="container">
27+
<a class="navigation-title" href="/">
28+
<h1 class="title">Cosmic Python</h1>
29+
</a>
2430
</section>
2531
</nav>
2632

@@ -29,9 +35,16 @@ <h1 class="title">Cosmic Python</h1>
2935
<h1> Introducing Command Handler</h1>
3036
<p>by Bob, 2017-09-07</p>
3137

38+
39+
<div class="row">
40+
<div class="column">
41+
<img src="/images/tarantula_nebula.jpg" />
42+
</div>
43+
</div>
44+
45+
3246
<div class="content">
33-
<hr>
34-
<p>The term DDD comes from the book by Eric Evans: <a href="[https://www.amazon.co.uk/Domain-driven-Design-Tackling-Complexity-Software/dp/0321125215">&ldquo;Domain-Driven Design: Tackling
47+
<p>The term DDD comes from the book by Eric Evans: <a href="[https://www.amazon.co.uk/Domain-driven-Design-Tackling-Complexity-Software/dp/0321125215">&ldquo;Domain-Driven Design: Tackling
3548
Complexity in the Heart of Software&rdquo;</a>.
3649
In his book he describes a set of practices that aim to help us build
3750
maintainable, rich, software systems that solve customer&rsquo;s problems. The book is

blog/2017-09-08-repository-and-unit-of-work-pattern-in-python.html

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
<html lang="en">
33

44
<head>
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<meta name="author" content="Harry Percival and Bob Gregory">
8-
<meta name="description" content="">
5+
<title>cosmic_python</title>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="author" content="Harry Percival and Bob Gregory">
9+
<meta name="description" content="">
10+
<meta property="og:title" content="cosmic_python" />
11+
<meta property="og:type" content="website" />
12+
<meta property="og:url" content="https://www.cosmicpython.com/blog/2017-09-08-repository-and-unit-of-work-pattern-in-python.html" />
13+
<meta property="og:image" content="https://www.cosmicpython.com/images/lobster-nebula.jpg" />
914
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
1015
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
1116
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css">
1217
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pygments-css@1.0.0/friendly.css">
1318
<link rel="stylesheet" href="/styles.css">
19+
1420
</head>
1521

1622
<body>
17-
<main class="wrapper">
23+
<main class="wrapper">
1824

19-
<nav class="navigation">
20-
<section class="container">
21-
<a class="navigation-title" href="/">
22-
<h1 class="title">Cosmic Python</h1>
23-
</a>
25+
<nav class="navigation">
26+
<section class="container">
27+
<a class="navigation-title" href="/">
28+
<h1 class="title">Cosmic Python</h1>
29+
</a>
2430
</section>
2531
</nav>
2632

@@ -29,6 +35,8 @@ <h1 class="title">Cosmic Python</h1>
2935
<h1> Repository and Unit of Work Pattern</h1>
3036
<p>by Bob, 2017-09-08</p>
3137

38+
39+
3240
<div class="content">
3341
<hr>
3442
<p>In the previous part

blog/2017-09-13-commands-and-queries-handlers-and-views.html

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
<html lang="en">
33

44
<head>
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<meta name="author" content="Harry Percival and Bob Gregory">
8-
<meta name="description" content="">
5+
<title>cosmic_python</title>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="author" content="Harry Percival and Bob Gregory">
9+
<meta name="description" content="">
10+
<meta property="og:title" content="cosmic_python" />
11+
<meta property="og:type" content="website" />
12+
<meta property="og:url" content="https://www.cosmicpython.com/blog/2017-09-13-commands-and-queries-handlers-and-views.html" />
13+
<meta property="og:image" content="https://www.cosmicpython.com/images/lobster-nebula.jpg" />
914
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
1015
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
1116
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css">
1217
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pygments-css@1.0.0/friendly.css">
1318
<link rel="stylesheet" href="/styles.css">
19+
1420
</head>
1521

1622
<body>
17-
<main class="wrapper">
23+
<main class="wrapper">
1824

19-
<nav class="navigation">
20-
<section class="container">
21-
<a class="navigation-title" href="/">
22-
<h1 class="title">Cosmic Python</h1>
23-
</a>
25+
<nav class="navigation">
26+
<section class="container">
27+
<a class="navigation-title" href="/">
28+
<h1 class="title">Cosmic Python</h1>
29+
</a>
2430
</section>
2531
</nav>
2632

@@ -29,6 +35,8 @@ <h1 class="title">Cosmic Python</h1>
2935
<h1> Commands, Handlers, Queries and Views</h1>
3036
<p>by Bob, 2017-09-13</p>
3137

38+
39+
3240
<div class="content">
3341
<hr>
3442
<p>In the first and second parts of this series I introduced the

blog/2017-09-19-why-use-domain-events.html

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
<html lang="en">
33

44
<head>
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<meta name="author" content="Harry Percival and Bob Gregory">
8-
<meta name="description" content="">
5+
<title>cosmic_python</title>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="author" content="Harry Percival and Bob Gregory">
9+
<meta name="description" content="">
10+
<meta property="og:title" content="cosmic_python" />
11+
<meta property="og:type" content="website" />
12+
<meta property="og:url" content="https://www.cosmicpython.com/blog/2017-09-19-why-use-domain-events.html" />
13+
<meta property="og:image" content="https://www.cosmicpython.com/images/lobster-nebula.jpg" />
914
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
1015
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
1116
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css">
1217
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pygments-css@1.0.0/friendly.css">
1318
<link rel="stylesheet" href="/styles.css">
19+
1420
</head>
1521

1622
<body>
17-
<main class="wrapper">
23+
<main class="wrapper">
1824

19-
<nav class="navigation">
20-
<section class="container">
21-
<a class="navigation-title" href="/">
22-
<h1 class="title">Cosmic Python</h1>
23-
</a>
25+
<nav class="navigation">
26+
<section class="container">
27+
<a class="navigation-title" href="/">
28+
<h1 class="title">Cosmic Python</h1>
29+
</a>
2430
</section>
2531
</nav>
2632

@@ -29,6 +35,8 @@ <h1 class="title">Cosmic Python</h1>
2935
<h1> Why use domain events?</h1>
3036
<p>by Bob, 2017-09-19</p>
3137

38+
39+
3240
<div class="content">
3341
<hr>
3442
<p>Nota bene: this instalment in the Ports and Adapters with Command Handlers

blog/2020-01-25-testing_external_api_calls.html

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
<html lang="en">
33

44
<head>
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<meta name="author" content="Harry Percival and Bob Gregory">
8-
<meta name="description" content="">
5+
<title>cosmic_python</title>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="author" content="Harry Percival and Bob Gregory">
9+
<meta name="description" content="">
10+
<meta property="og:title" content="cosmic_python" />
11+
<meta property="og:type" content="website" />
12+
<meta property="og:url" content="https://www.cosmicpython.com/blog/2020-01-25-testing_external_api_calls.html" />
13+
<meta property="og:image" content="https://www.cosmicpython.com/images/lobster-nebula.jpg" />
914
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
1015
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
1116
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css">
1217
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pygments-css@1.0.0/friendly.css">
1318
<link rel="stylesheet" href="/styles.css">
19+
1420
</head>
1521

1622
<body>
17-
<main class="wrapper">
23+
<main class="wrapper">
1824

19-
<nav class="navigation">
20-
<section class="container">
21-
<a class="navigation-title" href="/">
22-
<h1 class="title">Cosmic Python</h1>
23-
</a>
25+
<nav class="navigation">
26+
<section class="container">
27+
<a class="navigation-title" href="/">
28+
<h1 class="title">Cosmic Python</h1>
29+
</a>
2430
</section>
2531
</nav>
2632

@@ -29,9 +35,16 @@ <h1 class="title">Cosmic Python</h1>
2935
<h1> Writing tests for external API calls</h1>
3036
<p>by Harry, 2020-01-25</p>
3137

38+
39+
<div class="row">
40+
<div class="column">
41+
<img src="/images/veil_nebula.jpg" />
42+
</div>
43+
</div>
44+
45+
3246
<div class="content">
33-
<hr>
34-
<p>Here&rsquo;s a common question from people doing testing in Python:</p>
47+
<p>Here&rsquo;s a common question from people doing testing in Python:</p>
3548
<blockquote>
3649
<p>How do I write tests for for code that calls out to a third-party API?</p>
3750
</blockquote>

book/appendix_csvs.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
border: 0;
2525
margin-bottom: 2em;
2626
}
27-
2827
.exampleblock .title {
2928
text-align: right;
3029
}
3130

32-
.prev_and_next_buttons {
31+
/* prev/next chapter links at bottom of page */
32+
.prev_and_next_chapter_links {
3333
margin: 10px;
3434
}
3535
.prev_chapter_link {
@@ -39,11 +39,19 @@
3939
float: right;
4040
}
4141

42+
43+
/* a few tweaks to existing styles */
44+
#toc li {
45+
margin-top: 0.5em;
46+
}
47+
4248
#footnotes hr {
4349
width: 100%;
4450
}
51+
4552
/* end customisations by harry */
4653

54+
4755
/* CUSTOMISATIONS */
4856

4957
/* Change the values in root for quick customisation. If you want even more fine grain... venture further. */
@@ -422,7 +430,7 @@ <h3 id="_implementing_a_repository_and_unit_of_work_for_csvs">Implementing a Rep
422430
</div>
423431
</div>
424432
</div>
425-
<div class="prev_and_next_buttons">
433+
<div class="prev_and_next_chapter_links">
426434
<hr>
427435
<a class="prev_chapter_link" href="/book/appendix_project_structure.html">&lt;&lt; Previous - Appendix B: A Template Project Structure</a>
428436
<a class="next_chapter_link" href="/book/appendix_django.html">Next - Appendix D: Repository and Unit of Work Patterns with Django &gt;&gt;</a>

book/appendix_django.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
border: 0;
2525
margin-bottom: 2em;
2626
}
27-
2827
.exampleblock .title {
2928
text-align: right;
3029
}
3130

32-
.prev_and_next_buttons {
31+
/* prev/next chapter links at bottom of page */
32+
.prev_and_next_chapter_links {
3333
margin: 10px;
3434
}
3535
.prev_chapter_link {
@@ -39,11 +39,19 @@
3939
float: right;
4040
}
4141

42+
43+
/* a few tweaks to existing styles */
44+
#toc li {
45+
margin-top: 0.5em;
46+
}
47+
4248
#footnotes hr {
4349
width: 100%;
4450
}
51+
4552
/* end customisations by harry */
4653

54+
4755
/* CUSTOMISATIONS */
4856

4957
/* Change the values in root for quick customisation. If you want even more fine grain... venture further. */
@@ -655,7 +663,7 @@ <h3 id="_steps_along_the_way">Steps Along the Way</h3>
655663
</div>
656664
</div>
657665
</div>
658-
<div class="prev_and_next_buttons">
666+
<div class="prev_and_next_chapter_links">
659667
<hr>
660668
<a class="prev_chapter_link" href="/book/appendix_csvs.html">&lt;&lt; Previous - Appendix C: Swapping Out the Infrastructure: Do Everything with CSVs</a>
661669
<a class="next_chapter_link" href="/book/appendix_validation.html">Next - Appendix E: Validation &gt;&gt;</a>

0 commit comments

Comments
 (0)