Skip to content

Commit

Permalink
fix cheatsheet link
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Jul 23, 2024
1 parent c42b05a commit 0c09600
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1,761 deletions.
2 changes: 1 addition & 1 deletion PlutoPages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ reprhtml(x) = repr(MIME"text/html"(), x)

# ╔═╡ 5b325b50-8984-44c6-8677-3c6bc5c2b0b1
"A magic token that will turn into a relative URL pointing to the website root when used in output."
const root_url = "++magic#root#url~$(string(rand(UInt128),base=62))++"
const root_url = "magicrooturl$(string(rand(UInt128),base=62))zzzz"

# ╔═╡ 0d2b7382-2ddf-48c3-90c8-bc22de454c97
"""
Expand Down
2 changes: 1 addition & 1 deletion src/cheatsheets.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: "md.jlmd"

# Cheatsheets

- [Getting Started with Julia - live]($(root_url)/week0/basic_syntax/).
- [Getting Started with Julia - liv](../week0/basic_syntax/)[e]($(root_url)/week0/basic_syntax/).
- [Fastrack to Julia](https://juliadocs.github.io/Julia-Cheat-Sheet/) cheatsheet.
- [MATLAB-Julia-Python comparative cheatsheet](https://cheatsheets.quantecon.org/) by [QuantEcon group](https://quantecon.org)
- [Plots.jl cheatsheet](https://github.com/sswatson/cheatsheets/blob/master/plotsjl-cheatsheet.pdf)
2 changes: 1 addition & 1 deletion src/data_science/random_variables_as_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ A Gaussian random variable is a **continuous** random variable, i.e. it has a co

# ╔═╡ fc0acee6-8ff3-11eb-13d1-1350364f03a9
md"""
One way to specify a continous random variable $X$ is via its **probability density function**, or **PDF**, $f_X$. The probability that $X$ lies in the interval $[a, b]$ is given by an area under the curve $f_X(x)$ from $a$ to $b$:
One way to specify a continuous random variable $X$ is via its **probability density function**, or **PDF**, $f_X$. The probability that $X$ lies in the interval $[a, b]$ is given by an area under the curve $f_X(x)$ from $a$ to $b$:
$$\mathbb{P}(X \in [a, b]) = \int_{a}^b f_X(x) \, dx.$$
"""
Expand Down
4 changes: 2 additions & 2 deletions src/week0/basic_syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
#> title = "Julia syntax basics"
#> layout = "layout.jlhtml"
#> description = ""
#> tags = ["lecture", "track_julia", "track_climate", "track_data", "track_math"]
#> tags = ["track_julia", "track_climate", "track_data", "track_math"]

using Markdown
using InteractiveUtils

# ╔═╡ 0d3aec92-edeb-11ea-3adb-cd0dc17cbdab
md"# Get started with Julia - live
Before being able to run this notebook successfully locally, you will need to [set up Julia and Pluto.](/Spring21/installation/)
Before being able to run this notebook successfully locally, you will need to [set up Julia and Pluto.](https://plutojl.org/#install)
"


Expand Down
Loading

0 comments on commit 0c09600

Please sign in to comment.