Skip to content

Commit

Permalink
work in progress
Browse files Browse the repository at this point in the history
work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

work in progress

remove environment section
  • Loading branch information
drupol committed Dec 15, 2024
1 parent ac55977 commit 7bfe0e4
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 209 deletions.
32 changes: 14 additions & 18 deletions resources/typst/configuration-management-summary.typ
Original file line number Diff line number Diff line change
@@ -1,46 +1,42 @@
#import "../../src/thesis/imports/preamble.typ": *

#set align(left)

#table(
columns: (1fr, 1fr, 1fr),
stroke: none,
table.header(
[],
table.vline(stroke: 1pt),
[#align(center)[Imperative]],
[#align(center)[*Imperative*]],
table.vline(stroke: .5pt),
[#align(center)[Declarative]],
[#align(center)[*Declarative*]],
table.hline(stroke: 1pt),
),
table.cell(align: horizon + center)[Divergent],
table.cell(align: horizon + center)[*Divergent*],
table.hline(stroke: .5pt),
[
- Shell commands
],
[
- Shell scripts
- Ansible
],
table.cell(align: horizon + center)[*Convergent*],
table.hline(stroke: .5pt),
table.cell(align: horizon + center, rowspan: 2)[Convergent],
table.cell(colspan: 2)[
- Docker
],
table.hline(stroke: .5pt + luma(200), start: 1),
[
- Ansible
- Chef
- Shell scripts
- Ansible #cite(<ansible>,form:"normal")
- Chef #cite(<chef>,form:"normal")
- Docker #cite(<docker>,form:"normal")
],
[
- Puppet
- Kubernetes
- Terraform
- Puppet #cite(<puppet>,form:"normal")
- Terraform #cite(<terraform>,form:"normal")
],
table.hline(stroke: .5pt),
table.cell(align: horizon + center)[Congruent],
table.cell(align: horizon + center)[*Congruent*],
[],
[
- Nix
- Guix
- Guix #cite(<guixwebsite>,form:"normal")
- Nix #cite(<nix>,form:"normal")
],
)
40 changes: 24 additions & 16 deletions resources/typst/configuration-management.typ
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,31 @@
set text(font: "Virgil 3 YOFF")
cetz.canvas({
import cetz.plot
import cetz.draw: content
cetz.draw.set-style(axes: (shared-zero: false))

plot.plot(
size: (3.5, 3),
y-label: [state],
x-label: [Time],
size: (3, 3),
axis-style: "school-book",
y-label: [State],
x-label: [Time],
x-tick-step: none,
y-tick-step: none,
x-min: 0,
x-max: 500,
x-grid: true,
y-min: 0,
y-max: 500,
legend: "legend.north",
{
plot.add(
((75, 75), (450, 300)),
((75, 75), (450, 500)),
mark: "o",
mark-style: (stroke: blue, fill: white), mark-size: .1,
)
plot.add(
((75, 50), (450, 125)),
mark: "o",
style: (stroke: (paint: red, dash: "dashed")),
mark-style: (stroke: red, fill: white), mark-size: .1,
)
},
)
Expand All @@ -49,33 +50,38 @@
set text(font: "Virgil 3 YOFF")
cetz.canvas({
import cetz.plot
import cetz.draw: *
cetz.draw.set-style(axes: (shared-zero: false))

plot.plot(
size: (3.5, 3),
size: (3, 3),
y-label: [State],
x-label: [Time],
axis-style: "school-book",
legend-style: (
default-position: "legend.north",
stroke: none,
),
x-tick-step: none,
y-tick-step: none,
x-min: 0,
x-max: 500,
x-grid: true,
y-min: 0,
y-max: 500,
legend: "legend.north",
{
plot.add(
((75, 75), (450, 300)),
style: (stroke: (paint: blue)),
((75, 125), (450, 300)),
style: (stroke: (paint: red, dash: "dashed")),
mark-style: (stroke: red, fill: white), mark-size: .1,
mark: "o",
label: "actual",
label: "Target",
)
plot.add(
((75, 500), (450, 325)),
style: (stroke: (paint: blue), mark: (fill: blue, stroke: blue)),
mark-style: (stroke: blue, fill: white), mark-size: .1,
mark: "o",
label: "target",
style: (stroke: (paint: red, dash: "dashed")),
label: "Actual",
)
},
)
Expand All @@ -91,10 +97,10 @@
set text(font: "Virgil 3 YOFF")
cetz.canvas({
import cetz.plot
import cetz.draw: *
cetz.draw.set-style(axes: (shared-zero: false))

plot.plot(
size: (3.5, 3),
size: (3, 3),
y-label: [State],
x-label: [Time],
axis-style: "school-book",
Expand All @@ -110,11 +116,13 @@
plot.add(
((75, 75), (450, 300)),
mark: "o",
mark-style: (stroke: blue, fill: white), mark-size: .1,
)
plot.add(
((75, 50), (450, 275)),
mark: "o",
style: (stroke: (paint: red, dash: "dashed")),
mark-style: (stroke: red, fill: white), mark-size: .1,
)
},
)
Expand Down
Loading

0 comments on commit 7bfe0e4

Please sign in to comment.