Meta: Prettier wird jetzt als Formattierer benutzt

This commit is contained in:
Jan Kremer 2024-06-08 12:52:20 +02:00
parent 55bd49d603
commit 4e9178c7f1
Signed by: jan
GPG key ID: A7DA689CB3B078EC
12 changed files with 20 additions and 8 deletions

View file

@ -5,6 +5,7 @@ showDate: false
draft: false draft: false
showPagination: 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). 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. Wenn ich nicht gerade lerne, mache ich gerne Sport, vor allem Joggen, Kraftsport und Skifahren.

View file

@ -5,6 +5,7 @@ description: "What you can't see is what you GET."
tags: [meta] tags: [meta]
draft: true draft: true
--- ---
## .well_known ## .well_known
As of [RFC ...]() As of [RFC ...]()

View file

@ -4,7 +4,8 @@ date: 2023-09-09
description: "Buchvorstellung" description: "Buchvorstellung"
tags: [bücher] 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. 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. 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. 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_

View file

@ -3,15 +3,16 @@ title: Nix on macOS
date: 2024-03-14 date: 2024-03-14
description: Moving from Homebrew to Nix. Mostly. description: Moving from Homebrew to Nix. Mostly.
tags: 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. 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 ## 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. 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 ## 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. 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`. 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`.

View file

@ -4,6 +4,7 @@ date: 2023-09-01
description: "Feeds without fuzz." description: "Feeds without fuzz."
tags: [rss, meta] tags: [rss, meta]
--- ---
## What is RSS? ## What is RSS?
Originally, RSS stood for "RDF/Rich Site Summary" but was later changed to "Really Simple Syndication" 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. 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 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. 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? ## How to find RSS?

View file

@ -9,6 +9,7 @@ tags: [crypto]
searchHidden: true searchHidden: true
showPagination: false showPagination: false
--- ---
## Address ## Address
```txt ```txt

View file

@ -8,6 +8,7 @@ tags: [crypto]
searchHidden: true searchHidden: true
showPagination: false showPagination: false
--- ---
## Address ## Address
```txt ```txt

View file

@ -4,6 +4,7 @@ date: 2023-12-25T16:28:52+01:00
tags: tags:
- micro - micro
--- ---
Tables are arguably the worst part of Markdown. Tables are arguably the worst part of Markdown.
No horizontal lines except for the mandatory one at the top. No horizontal lines except for the mandatory one at the top.
The only feature is the possibility to align cells. The only feature is the possibility to align cells.

View file

@ -6,4 +6,5 @@ tags: [fotos, regensburg]
thumbnail: "evening-cloud.webp" thumbnail: "evening-cloud.webp"
draft: false draft: false
--- ---
![Evening cloud over Regensburg.](evening-cloud.webp) ![Evening cloud over Regensburg.](evening-cloud.webp)

View file

@ -8,6 +8,7 @@ description: ""
tags: tags:
- meta - meta
--- ---
## Hardware ## Hardware
- MacBook Pro 2015 - MacBook Pro 2015

View file

@ -9,6 +9,7 @@ tags: [crypto]
searchHidden: true searchHidden: true
showPagination: false showPagination: false
--- ---
## Address ## Address
```txt ```txt
@ -23,8 +24,8 @@ showPagination: false
```txt ```txt
jankremer.eu jankremer.eu
```` ```
```txt ```txt
xmr.jankremer.eu xmr.jankremer.eu
```` ```

View file

@ -24,6 +24,7 @@
packages = with pkgs; [ packages = with pkgs; [
go go
hugo hugo
nodePackages.prettier
]; ];
}; };
}; };