From 38170ba6eca01d3c5c10cfb3cfbbe89db335a1ed Mon Sep 17 00:00:00 2001 From: Erik Grobecker Date: Fri, 11 Oct 2024 00:07:42 +0200 Subject: [PATCH] I dont even know what I did - adjusted the justfile - added my repo to the header - added a backlog - added more typst - added some html with revealjs --- BACKLOG.md | 20 +++ README.md | 6 + config.toml | 2 + content/_index.md | 2 +- content/blog/format-comparison/index.md | 8 +- .../format-comparison/revealjs/funny.html | 162 ++++++++++++++++++ content/blog/format-comparison/typst/cetz.typ | 47 +++-- .../blog/software-recommendations/index.md | 18 ++ justfile | 6 +- 9 files changed, 252 insertions(+), 19 deletions(-) create mode 100644 BACKLOG.md create mode 100644 README.md create mode 100644 content/blog/format-comparison/revealjs/funny.html create mode 100644 content/blog/software-recommendations/index.md diff --git a/BACKLOG.md b/BACKLOG.md new file mode 100644 index 0000000..69fd475 --- /dev/null +++ b/BACKLOG.md @@ -0,0 +1,20 @@ +# BACKLOG + +- blog articles + - [ ] recommendation of software (excalidraw etc.) + - [ ] audio formats (flac, wave, etc.) and what you should use what for[^1] + - [ ] reference managing and all related tools (zotero, archivebox/`archive.is`) alongside reference formats and `bibtex` + - [ ] newer image formats (`JpegXL`, `HEIC`) and their features + - [ ] rooting my phone and the stuff I used for that (Pixelflasher[^2], KernelSU vs Magisk vs APatch) + - [ ] how to find other software ([alternativeto](https://alternativeto.net)) + - [ ] RSS feeds and how to read them properly (readers, aggregators and client) + - [ ] my favourite encryption toolset (age/rage, PGP/GPG, LUKS) +- other stuff + - [ ] docker image + - [ ] uploading via sftp + wireguard inside of `justfile` + - [ ] support for other languages (like german) + - [ ] create slides (using `revealjs`) for each article + - [ ] automatically if possible + +[^1]: and some `ffmpeg` commands which are needed +[^2]: and my weird problems with bootloader mode etc. diff --git a/README.md b/README.md new file mode 100644 index 0000000..a6dee6c --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# My blog stuff + +This blog is written using the amazingly fast engine [zola](https://www.getzola.org) and the beatifully crafted [duckquill](https://duckquill.daudix.one) theme. + +It can be viewed using my `justfile`. + diff --git a/config.toml b/config.toml index c2d7bb8..9455123 100644 --- a/config.toml +++ b/config.toml @@ -44,6 +44,8 @@ show_read_time = true show_copy_button = true +source_url = "https://git.grobecker.me/Erik/blog" + [extra.nav] # Whether to show the Atom/RSS feed button in the nav show_feed = true diff --git a/content/_index.md b/content/_index.md index 3927279..8d98370 100644 --- a/content/_index.md +++ b/content/_index.md @@ -82,6 +82,6 @@ jgs~^~^`---'~^~^~^`---'~^~^~^`---'~^~^~^`---'~^~^~^`---'~^~^~ ``` {% end %} -This blog is written using the wonderful engine [zola](https://www.getzola.org) and the [duckquill](https://duckquill.daudix.one) theme + ## asd \ No newline at end of file diff --git a/content/blog/format-comparison/index.md b/content/blog/format-comparison/index.md index 4af0fb2..da411fe 100644 --- a/content/blog/format-comparison/index.md +++ b/content/blog/format-comparison/index.md @@ -12,6 +12,7 @@ katex = true - [ ] markdown - [ ] syntax - [ ] programmability + - [ ] [revealjs](https://github.com/hakimel/reveal.js) - [ ] typst - [ ] syntax - [x] math @@ -34,7 +35,12 @@ katex = true [^1]: like plotting, etc. [^2]: many more are supported using pandoc - +## Markdown + +### Revealjs + +MD can be used to create beatiful slides using the `reveal.js` library like in +[this example](./revealjs/funny.html) ## Typst diff --git a/content/blog/format-comparison/revealjs/funny.html b/content/blog/format-comparison/revealjs/funny.html new file mode 100644 index 0000000..85c618c --- /dev/null +++ b/content/blog/format-comparison/revealjs/funny.html @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + Reveal JS - CDN Example - Markdown + + + +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/content/blog/format-comparison/typst/cetz.typ b/content/blog/format-comparison/typst/cetz.typ index 6d238e6..9256380 100644 --- a/content/blog/format-comparison/typst/cetz.typ +++ b/content/blog/format-comparison/typst/cetz.typ @@ -1,21 +1,40 @@ +#set page( + width: auto, + height: auto, + margin: .5cm, +) + #import "@preview/cetz:0.2.2" +// #cetz.canvas({ +// import cetz.draw: * +// import cetz.plot +// plot.plot(size: (10, 4), x-tick-step: 2, y-tick-step: 50, +// { +// plot.add(domain: (-4, 4), +// x => (x, calc.pow(x, 4) ), +// label: $f(x)=x^4$ +// ) +// plot.add(domain: (-5, 6.34), +// x => (x, calc.pow(x, 3)), +// label: $f(x)=x^3$ +// ) +// plot.add(domain: (-10, 10), +// x => (x, calc.pow(x, 2)), +// label: $f(x) = x^2$ +// ) +// }) +// }) + #cetz.canvas({ import cetz.draw: * import cetz.plot - plot.plot(size: (10, 4), x-tick-step: 2, y-tick-step: 50, + plot.plot( + size: (10, 4), + x-tick-step: 2, + y-tick-step: 2, { - plot.add(domain: (-4, 4), - x => (x, calc.pow(x, 4) ), - label: $f(x)=x^4$ - ) - plot.add(domain: (-5, 6.34), - x => (x, calc.pow(x, 3)), - label: $f(x)=x^3$ - ) - plot.add(domain: (-10, 10), - x => (x, calc.pow(x, 2)), - label: $f(x) = x^2$ - ) - }) + plot.bezier + } + ) }) \ No newline at end of file diff --git a/content/blog/software-recommendations/index.md b/content/blog/software-recommendations/index.md new file mode 100644 index 0000000..6f1c0f5 --- /dev/null +++ b/content/blog/software-recommendations/index.md @@ -0,0 +1,18 @@ ++++ +title = "Recommondation of Software" +draft = true ++++ + +## TODO + +- [ ] note taking + - [ ] obsidian + - [ ] trilium + - [ ] vscode + - [ ] some extensions + - link to [formats](@/blog/format-comparison/index.md) +- [ ] graphic shit (should have examples) + - [ ] excalidraw + - [ ] gimp + - [ ] reveal.js + - [ ] with an example diff --git a/justfile b/justfile index fa0e549..9b96541 100644 --- a/justfile +++ b/justfile @@ -1,11 +1,11 @@ # use PowerShell instead of sh: -set shell := ["powershell.exe", "-c"] +#set shell := ["powershell.exe", "-c"] # view the blog as it would be published in a browser view: - zola serve + zola serve -f # view the blog with drafts in a browser view-drafts: - zola serve --drafts \ No newline at end of file + zola serve --drafts -f