diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-03-09 13:49:58 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-03-09 13:49:58 +0700 |
commit | 1f42cc72174d00f1dd2f93925a6931016298568f (patch) | |
tree | a02e72cb2b9249fdcf0935f2f6dec4fda2bb605b | |
parent | b03c056bcfac360d0f8be1321c576e65d2466757 (diff) | |
download | site-1f42cc72174d00f1dd2f93925a6931016298568f.tar.gz |
Update metadata and utilities
Prepare for GSoC 2020 blogs migration
-rw-r--r-- | blog/index.md | 4 | ||||
-rw-r--r-- | blog/system.md | 6 | ||||
-rw-r--r-- | index.md | 1 | ||||
-rw-r--r-- | utils.jl | 15 | ||||
-rw-r--r-- | works.md | 13 |
5 files changed, 17 insertions, 22 deletions
diff --git a/blog/index.md b/blog/index.md index bdfba6a..fb7f0cc 100644 --- a/blog/index.md +++ b/blog/index.md @@ -2,4 +2,6 @@ I occasionally blog about functional programming, lambda calculus and other computational stuff, or anything related to computers in general. -They are tagged as [`fun`](/tag/fun). +These write-ups are tagged as [`fun`](/tag/fun). + +As usual, the good old [RSS feed](/feed.xml) is available. diff --git a/blog/system.md b/blog/system.md index bb92343..1a9af18 100644 --- a/blog/system.md +++ b/blog/system.md @@ -6,8 +6,10 @@ date = Date(2020, 4, 15) # System Cascade Connection -Given two discrete-time systems $A$ and $B$ connected in cascade -to form a new system $C = x \mapsto B(A(x))$. +Given two discrete-time systems $A$ and $B$ connected in cascade to form +a new system $C = x \mapsto B(A(x))$, we examine the following properties: + +\toc ## Linearity diff --git a/index.md b/index.md index 4275ec1..10719d6 100644 --- a/index.md +++ b/index.md @@ -1,5 +1,4 @@ @def title = "McSinyx" -@def tags = ["whoami", "about"] # About Me diff --git a/utils.jl b/utils.jl index bb8826b..f35913b 100644 --- a/utils.jl +++ b/utils.jl @@ -7,14 +7,13 @@ function hfun_pep(args) Meta.parse(args[1]), postfix, args[1], postfix) end -function hfun_m1fill(vname) - var = vname[1] - return pagevar("index", var) +function hfun_github(args) + return @sprintf("<a href=https://github.com/%s>@%s</a>", + args[1], args[1]) end -function lx_baz(com, _) - # keep this first line - brace_content = Franklin.content(com.braces[1]) # input string - # do whatever you want here - return uppercase(brace_content) +function hfun_pip(args) + content = length(args) < 2 ? "GH-" * args[1] : args[2] + return @sprintf("<a href=https://github.com/pypa/pip/pull/%s>%s</a>", + args[1], content) end diff --git a/works.md b/works.md index 2f1712d..f0eef74 100644 --- a/works.md +++ b/works.md @@ -1,10 +1,3 @@ -+++ -title = "Free Software Works" -hascode = true -rss = "Listing of McSinyx past and current works" -+++ -@def tags = ["software"] - # Free Software Works \toc @@ -27,13 +20,12 @@ local and direct URL to video/audio and its own JSON playlist format. ### pip -[pip][] is a package installer for Python. [Summer 2020][], +[pip][] is a package installer for Python. [Summer 2020](/blog/gsoc2020), I worked as an intern trying improve its new resolver's networking performance. The final result was not quite satisfying, but I got to meet some really nice and talented people (-; [pip]: https://pip.pypa.io -[Summer 2020]: /gsoc2020 ## Libraries @@ -69,7 +61,7 @@ lazily mapped to a ZIP file over HTTP via range requests. [Brutal Maze][] is a thrilling shoot ‘em up game with minimalist art style. -![Brutal Maze screenshot](/assets/brutalmaze.png) +[![Brutal Maze screenshot](/assets/brutalmaze.png)][brutalmaze-recplayer] The game features a trigon trapped in an infinite maze. As our hero tries to escape, the maze's border turns into aggressive squares trying to stop per. @@ -78,6 +70,7 @@ a way out (if there is any). Be aware that the more get killed, the more will show up and our hero will get weaker when wounded. [Brutal Maze]: https://brutalmaze.rtfd.io +[brutalmaze-recplayer]: https://brutalmaze.rtfd.io/recplayer.html ### Axuy |