Skip to content

Commit 76776eb

Browse files
authored
Merge pull request #111 from mitmath/use-new-pkg-manager
2 parents ee13a7f + af2aed7 commit 76776eb

Some content is hidden

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

46 files changed

+35241
-805
lines changed

notebooks/week1/abstraction.jl

Lines changed: 731 additions & 6 deletions
Large diffs are not rendered by default.

notebooks/week1/hw1.jl

Lines changed: 737 additions & 17 deletions
Large diffs are not rendered by default.

notebooks/week1/images.jl

Lines changed: 452 additions & 21 deletions
Large diffs are not rendered by default.

notebooks/week10/hw9.jl

Lines changed: 841 additions & 14 deletions
Large diffs are not rendered by default.

notebooks/week10/time_stepping.jl

Lines changed: 837 additions & 13 deletions
Large diffs are not rendered by default.

notebooks/week11/odes_and_parameterized_types.jl

Lines changed: 1545 additions & 16 deletions
Large diffs are not rendered by default.

notebooks/week11/predicting_the_weather.jl

Lines changed: 1549 additions & 14 deletions
Large diffs are not rendered by default.

notebooks/week12/how_to_collaborate_on_software.jl

Lines changed: 102 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
### A Pluto.jl notebook ###
2-
# v0.14.5
2+
# v0.16.0
33

44
using Markdown
55
using InteractiveUtils
66

77
# ╔═╡ 75c8f825-d988-4f9e-8038-6b4dd2e24181
88
begin
9-
import Pkg
10-
Pkg.activate(mktempdir())
11-
Pkg.add([
12-
Pkg.PackageSpec(name="HypertextLiteral", version="0.6"),
13-
Pkg.PackageSpec(name="PlutoUI", version="0.7"),
14-
Pkg.PackageSpec(url="https://github.com/JuliaPluto/PlutoTest.jl", rev="0c8b9b0"),
15-
])
169
using HypertextLiteral
1710
using PlutoTest
1811
using PlutoUI
@@ -441,7 +434,7 @@ end
441434
# Layout = ingredients(download("https://raw.githubusercontent.com/fonsp/disorganised-mess/5a59ad7cff1e760b997a54ffa0f8fa202ac16db3/Layout.jl"))
442435

443436
# ╔═╡ 4ea69625-0064-42da-a75a-a54fbd106f78
444-
stackrows(x) = permutedims(hcat(x...),(2,1))
437+
stackrows(x) = permutedims(hcat(x...),(2, 1))
445438

446439
# ╔═╡ dd4855a0-0b7c-40a5-8565-94b40948f86d
447440
flex(x::Union{AbstractVector,Base.Generator}; kwargs...) = flex(x...; kwargs...)
@@ -499,7 +492,7 @@ Div(
499492
function flex(args...; kwargs...)
500493
Div(;
501494
contents=collect(args),
502-
style=Dict("display" => "flex", ("flex-" * String(k) => string(v) for (k,v) in kwargs)...)
495+
style=Dict("display" => "flex", ("flex-" * String(k) => string(v) for (k, v) in kwargs)...)
503496
)
504497
end
505498

@@ -560,7 +553,7 @@ grid([
560553
# ╔═╡ 13c0fbf3-08c6-4515-b710-f16b55165a2d
561554
vocabulary(x) = grid(stackrows((
562555
[@htl("<span style='font-size: 1.2rem; font-weight: 700;'><code>$(k)</code></span>"), v]
563-
for (k,v) in x
556+
for (k, v) in x
564557
)); fill_width=false)
565558

566559
# ╔═╡ b2e49cd5-49d5-4ac7-a3ae-9820a97720fb
@@ -634,6 +627,102 @@ md"""
634627
> If you are following this course, then you will already be familiar with this concept! The homework exercises were all designed with the test-driven principle.
635628
""" |> aside
636629

630+
# ╔═╡ 00000000-0000-0000-0000-000000000001
631+
PLUTO_PROJECT_TOML_CONTENTS = """
632+
[deps]
633+
HypertextLiteral = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2"
634+
PlutoTest = "cb4044da-4d16-4ffa-a6a3-8cad7f73ebdc"
635+
PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8"
636+
637+
[compat]
638+
HypertextLiteral = "~0.8.0"
639+
PlutoTest = "~0.1.0"
640+
PlutoUI = "~0.7.9"
641+
"""
642+
643+
# ╔═╡ 00000000-0000-0000-0000-000000000002
644+
PLUTO_MANIFEST_TOML_CONTENTS = """
645+
# This file is machine-generated - editing it directly is not advised
646+
647+
[[Base64]]
648+
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
649+
650+
[[Dates]]
651+
deps = ["Printf"]
652+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
653+
654+
[[HypertextLiteral]]
655+
git-tree-sha1 = "1e3ccdc7a6f7b577623028e0095479f4727d8ec1"
656+
uuid = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2"
657+
version = "0.8.0"
658+
659+
[[InteractiveUtils]]
660+
deps = ["Markdown"]
661+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
662+
663+
[[JSON]]
664+
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
665+
git-tree-sha1 = "8076680b162ada2a031f707ac7b4953e30667a37"
666+
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
667+
version = "0.21.2"
668+
669+
[[Logging]]
670+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
671+
672+
[[Markdown]]
673+
deps = ["Base64"]
674+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
675+
676+
[[Mmap]]
677+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
678+
679+
[[Parsers]]
680+
deps = ["Dates"]
681+
git-tree-sha1 = "438d35d2d95ae2c5e8780b330592b6de8494e779"
682+
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
683+
version = "2.0.3"
684+
685+
[[PlutoTest]]
686+
deps = ["HypertextLiteral", "InteractiveUtils", "Markdown", "Test"]
687+
git-tree-sha1 = "3479836b31a31c29a7bac1f09d95f9c843ce1ade"
688+
uuid = "cb4044da-4d16-4ffa-a6a3-8cad7f73ebdc"
689+
version = "0.1.0"
690+
691+
[[PlutoUI]]
692+
deps = ["Base64", "Dates", "InteractiveUtils", "JSON", "Logging", "Markdown", "Random", "Reexport", "Suppressor"]
693+
git-tree-sha1 = "44e225d5837e2a2345e69a1d1e01ac2443ff9fcb"
694+
uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8"
695+
version = "0.7.9"
696+
697+
[[Printf]]
698+
deps = ["Unicode"]
699+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
700+
701+
[[Random]]
702+
deps = ["Serialization"]
703+
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
704+
705+
[[Reexport]]
706+
git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b"
707+
uuid = "189a3867-3050-52da-a836-e630ba90ab69"
708+
version = "1.2.2"
709+
710+
[[Serialization]]
711+
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
712+
713+
[[Suppressor]]
714+
git-tree-sha1 = "a819d77f31f83e5792a76081eee1ea6342ab8787"
715+
uuid = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
716+
version = "0.2.0"
717+
718+
[[Test]]
719+
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
720+
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
721+
722+
[[Unicode]]
723+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
724+
"""
725+
637726
# ╔═╡ Cell order:
638727
# ╟─10ebd434-adba-11eb-048f-2d084049d48f
639728
# ╟─ef4eea24-bc1c-43be-b9b6-d073ac2433cf
@@ -711,3 +800,5 @@ md"""
711800
# ╟─d31f0e84-dce9-4f81-8643-ef08684530d2
712801
# ╟─676ac6ff-1b7e-4c88-b850-45f4375a8d58
713802
# ╟─d43abe78-5a9d-4a22-999d-0ee85eb5ab7f
803+
# ╟─00000000-0000-0000-0000-000000000001
804+
# ╟─00000000-0000-0000-0000-000000000002

0 commit comments

Comments
 (0)