From 4e9178c7f1e5696a037eb9ddb392546069124487 Mon Sep 17 00:00:00 2001 From: Jan Kremer Date: Sat, 8 Jun 2024 12:52:20 +0200 Subject: [PATCH] Meta: Prettier wird jetzt als Formattierer benutzt --- content/about.md | 1 + content/blog/easter-eggs.md | 1 + content/blog/geheime-botschaften.md | 5 +++-- content/blog/nix.md | 7 ++++--- content/blog/rss.md | 3 ++- content/btc.md | 1 + content/eth.md | 1 + content/micro/markdown-tables.md | 1 + content/photos/evening-cloud/index.md | 1 + content/uses.md | 1 + content/xmr.md | 5 +++-- flake.nix | 1 + 12 files changed, 20 insertions(+), 8 deletions(-) diff --git a/content/about.md b/content/about.md index 41c6c79..2f4e1f7 100644 --- a/content/about.md +++ b/content/about.md @@ -5,6 +5,7 @@ showDate: false draft: false showPagination: false --- + Mein Name ist Jan Kremer. Ich bin 27 Jahre alt und studiere Pharmazie an der Uni Regensburg. Manchmal schreibe ich über Technik und Software [die ich benutze](/uses). Wenn ich nicht gerade lerne, mache ich gerne Sport, vor allem Joggen, Kraftsport und Skifahren. diff --git a/content/blog/easter-eggs.md b/content/blog/easter-eggs.md index db4f05d..0a08644 100644 --- a/content/blog/easter-eggs.md +++ b/content/blog/easter-eggs.md @@ -5,6 +5,7 @@ description: "What you can't see is what you GET." tags: [meta] draft: true --- + ## .well_known As of [RFC ...]() diff --git a/content/blog/geheime-botschaften.md b/content/blog/geheime-botschaften.md index ec8a3b8..1d83182 100644 --- a/content/blog/geheime-botschaften.md +++ b/content/blog/geheime-botschaften.md @@ -4,7 +4,8 @@ date: 2023-09-09 description: "Buchvorstellung" tags: [bücher] --- -Ich las vor kurzem das Buch *Geheime Botschaften. Die Kunst der Verschlüsselung von der Antike bis in die Zeiten des Internet*[^1] von [Simon Singh](https://simonsingh.net). + +Ich las vor kurzem das Buch _Geheime Botschaften. Die Kunst der Verschlüsselung von der Antike bis in die Zeiten des Internet_[^1] von [Simon Singh](https://simonsingh.net). Es stellt eine Einführung in die Geschichte der Verschlüsselung dar und ist für jeden, den das Thema interessiert, äußerst empfehlenswert. Daneben geht der Autor auch auf die "Entschlüsselung" antiker Sprachen wie der [Hieroglyphen](https://de.wikipedia.org/wiki/Hieroglyphen) und Schriften wie [Linear B](https://de.wikipedia.org/wiki/Linearschrift_B) ein. @@ -16,4 +17,4 @@ Zum Glück kann man vieles davon selbst im Internet recherchieren. Update: Signal wird in Zukunft [quantumresistente Verschlüsselung](https://signal.org/blog/pqxdh) benutzen. -[^1]: Originaltitel: *The Code Book. The Science of Secrecy from Ancient Egypt to Quantum Cryptography* +[^1]: Originaltitel: _The Code Book. The Science of Secrecy from Ancient Egypt to Quantum Cryptography_ diff --git a/content/blog/nix.md b/content/blog/nix.md index 4f70926..f19f9b9 100644 --- a/content/blog/nix.md +++ b/content/blog/nix.md @@ -3,15 +3,16 @@ title: Nix on macOS date: 2024-03-14 description: Moving from Homebrew to Nix. Mostly. tags: -- nix + - nix --- + For about a year, I've been fascinated by [Nix and NixOS](https://nixos.org). I don't remember exactly what fascinated me at first, probably the possibility to setup and configure my system using a single file. A few weeks ago, I decided to give it a serious try. ## Installation To be honest this is not my first time installing Nix on my machine. I tried the official Nix installer and the "old" way to use Nix which is basically the same as any other package manager. I didn't see the point of having two package managers so I uninstalled Nix quickly after. -Then, a few weeks ago, I came across [this guide](https://nixcademy.com/2024/01/15/nix-on-macos/) and it instantly clicked with me. Having a single file in which I declare my complete system and then have it set up in a few minutes without rebooting is just infinitely cool. In Nix, this feature is called *flake*. The guide uses the [Determinate systems installer](https://github.com/DeterminateSystems/nix-installer) which sets up flakes by default. It also explains how to install Nix Darwin. +Then, a few weeks ago, I came across [this guide](https://nixcademy.com/2024/01/15/nix-on-macos/) and it instantly clicked with me. Having a single file in which I declare my complete system and then have it set up in a few minutes without rebooting is just infinitely cool. In Nix, this feature is called _flake_. The guide uses the [Determinate systems installer](https://github.com/DeterminateSystems/nix-installer) which sets up flakes by default. It also explains how to install Nix Darwin. ## Nix Darwin @@ -27,7 +28,7 @@ For everything else, from terminal based programs to their configuration, I use In the process of writing my Nix configuration, I became unsatisfied with my Neovim setup. I used to use [LazyVim](https://www.lazyvim.org) but it felt more and more bloated and slow on my 9 year old machine. For some time I used [Helix](https://helix-editor.com/) which has great defaults, such as language server protocol (LSP) and fuzzy finder integration. I really think Neovim should go in this direction. Unfortunately it lacks some features to make it my main editor, mostly support for [Typst](https://typst.app/) which is already added to the `master` branch. It also lacks a plugin system, but given such great defaults, there isn't that big of a need for it. Helix also features its own set of motions, and although I think they are not bad, maybe even better than Vim motions, the latter are so ubiquitously implemented that I would essentially use both all the time. -That's when I saw a video by *ThePrimeagen* in which he recommended [Kickstart](https://github.com/nvim-lua/kickstart.nvim/tree/master), a minimal Neovim starter configuration mainly written by *TJ DeVries*. It almost everything you need to get started and has insanely great documentation. +That's when I saw a video by _ThePrimeagen_ in which he recommended [Kickstart](https://github.com/nvim-lua/kickstart.nvim/tree/master), a minimal Neovim starter configuration mainly written by _TJ DeVries_. It almost everything you need to get started and has insanely great documentation. The only thing that bothered me was the use of [Mason](https://github.com/williamboman/mason.nvim) as a LSP package manager. For some people this might be the best way to install LSPs, but I don't understand why I would use a second package manager when I can just use Nix for everything. Helix has a list of supported LSPs and all you have to do is make sure they are in your `$PATH`. diff --git a/content/blog/rss.md b/content/blog/rss.md index 09c1c4a..f928ab6 100644 --- a/content/blog/rss.md +++ b/content/blog/rss.md @@ -4,6 +4,7 @@ date: 2023-09-01 description: "Feeds without fuzz." tags: [rss, meta] --- + ## What is RSS? Originally, RSS stood for "RDF/Rich Site Summary" but was later changed to "Really Simple Syndication" @@ -39,7 +40,7 @@ The easiest way would probably be to use a service such as Mastodon that generat If that platform isn't for you, WordPress is a good way to host a blog. I read about people setting up their own scripts that automatically update the feed for new posts. -I use [Hugo](https://gohugo.io) which is a *static site generator*. +I use [Hugo](https://gohugo.io) which is a _static site generator_. It generates feeds automatically but lies somewhere between WordPress and writing your own scripts in terms of how tech savvy you should be. ## How to find RSS? diff --git a/content/btc.md b/content/btc.md index 830965a..8823c9f 100644 --- a/content/btc.md +++ b/content/btc.md @@ -9,6 +9,7 @@ tags: [crypto] searchHidden: true showPagination: false --- + ## Address ```txt diff --git a/content/eth.md b/content/eth.md index 0025e8f..0727e64 100644 --- a/content/eth.md +++ b/content/eth.md @@ -8,6 +8,7 @@ tags: [crypto] searchHidden: true showPagination: false --- + ## Address ```txt diff --git a/content/micro/markdown-tables.md b/content/micro/markdown-tables.md index db82fb9..222ca2f 100644 --- a/content/micro/markdown-tables.md +++ b/content/micro/markdown-tables.md @@ -4,6 +4,7 @@ date: 2023-12-25T16:28:52+01:00 tags: - micro --- + Tables are arguably the worst part of Markdown. No horizontal lines except for the mandatory one at the top. The only feature is the possibility to align cells. diff --git a/content/photos/evening-cloud/index.md b/content/photos/evening-cloud/index.md index 58be442..025322f 100644 --- a/content/photos/evening-cloud/index.md +++ b/content/photos/evening-cloud/index.md @@ -6,4 +6,5 @@ tags: [fotos, regensburg] thumbnail: "evening-cloud.webp" draft: false --- + ![Evening cloud over Regensburg.](evening-cloud.webp) diff --git a/content/uses.md b/content/uses.md index 33689d8..3913390 100644 --- a/content/uses.md +++ b/content/uses.md @@ -8,6 +8,7 @@ description: "" tags: - meta --- + ## Hardware - MacBook Pro 2015 diff --git a/content/xmr.md b/content/xmr.md index ca20f8e..1fd13f8 100644 --- a/content/xmr.md +++ b/content/xmr.md @@ -9,6 +9,7 @@ tags: [crypto] searchHidden: true showPagination: false --- + ## Address ```txt @@ -23,8 +24,8 @@ showPagination: false ```txt jankremer.eu -```` +``` ```txt xmr.jankremer.eu -```` +``` diff --git a/flake.nix b/flake.nix index f77f921..55852c4 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,7 @@ packages = with pkgs; [ go hugo + nodePackages.prettier ]; }; };