tree-wide: Let prettier rip through and reformat all things
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
4c74bd5b51
commit
9f89bd901f
7
.prettierignore
Normal file
7
.prettierignore
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Keep in sync with .gitignore!
|
||||||
|
public/
|
||||||
|
resources/
|
||||||
|
*.lock
|
||||||
|
|
||||||
|
# Somehow trips up prettier's parser
|
||||||
|
layouts/shortcodes/extlink.html
|
|
@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@ subheading: open source advocate. embracing the unix philosophy.
|
||||||
description: Personal website of Christoph Heiss
|
description: Personal website of Christoph Heiss
|
||||||
date: 2022-12-08T14:53:30+01:00
|
date: 2022-12-08T14:53:30+01:00
|
||||||
---
|
---
|
||||||
|
|
||||||
## about me.
|
## about me.
|
||||||
|
|
||||||
I am a 24 year old computer science student at the Technical University of Vienna, Austria.
|
I am a 24 year old computer science student at the Technical University of Vienna, Austria.
|
||||||
|
@ -21,22 +22,19 @@ and generally anything involving networks.
|
||||||
## my work.
|
## my work.
|
||||||
|
|
||||||
Currently I'm part-time employed at
|
Currently I'm part-time employed at
|
||||||
{{< extlink href="https://proxmox.com/" title="Proxmox Server Solutions GmbH" >}}
|
{{< extlink href="https://proxmox.com/" title="Proxmox Server Solutions GmbH" >}}Proxmox{{< /extlink >}}
|
||||||
Proxmox
|
as Linux software developer.
|
||||||
{{< /extlink >}} as Linux software developer.
|
|
||||||
|
|
||||||
Some useful projects I work on and maintain in my free time include:
|
Some useful projects I work on and maintain in my free time include:
|
||||||
|
|
||||||
- {{< extlink
|
- {{< extlink
|
||||||
href="https://git.sr.ht/~c8h4/bwtui"
|
href="https://git.sr.ht/~c8h4/bwtui"
|
||||||
title="'A terminal-based vault browser for Bitwarden' - sourcehut"
|
title="'A terminal-based vault browser for Bitwarden' - sourcehut" >}}
|
||||||
>}}
|
|
||||||
bwtui
|
bwtui
|
||||||
{{< /extlink >}}, a terminal client for Bitwarden.
|
{{< /extlink >}}, a terminal client for Bitwarden.
|
||||||
- {{< extlink
|
- {{< extlink
|
||||||
href="https://git.sr.ht/~c8h4/teuthida"
|
href="https://git.sr.ht/~c8h4/teuthida"
|
||||||
title="'An in-order, 5-stage RISC-V (toy) implementation in Amaranth HDL.' - sourcehut"
|
title="'An in-order, 5-stage RISC-V (toy) implementation in Amaranth HDL.' - sourcehut" >}}
|
||||||
>}}
|
|
||||||
teuthida
|
teuthida
|
||||||
{{< /extlink >}}, a [WIP] in-order 5-stage RISC-V (toy) implementation.
|
{{< /extlink >}}, a [WIP] in-order 5-stage RISC-V (toy) implementation.
|
||||||
|
|
||||||
|
@ -60,11 +58,6 @@ PGP fingerprint: [9C56 1D64 30B2 8D6B DCBC 9CEB 73D5 E7FD EE3D E49A](gpg.asc)
|
||||||
## support me.
|
## support me.
|
||||||
|
|
||||||
If you like my work, you can support me on
|
If you like my work, you can support me on
|
||||||
{{< extlink
|
{{< extlink href="https://www.buymeacoffee.com/christoph.heiss" title="Christoph Heiss on Buy Me a Coffee" relAdd="me" >}}
|
||||||
href="https://www.buymeacoffee.com/christoph.heiss"
|
|
||||||
title="Christoph Heiss on Buy Me a Coffee"
|
|
||||||
relAdd="me"
|
|
||||||
>}}
|
|
||||||
Buy Me a Coffee
|
Buy Me a Coffee
|
||||||
{{< /extlink >}}.
|
{{< /extlink >}}.
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,13 @@ date: 2023-04-21T16:40:56+02:00
|
||||||
---
|
---
|
||||||
|
|
||||||
### List secret key with all subkeys:
|
### List secret key with all subkeys:
|
||||||
|
|
||||||
```shell {lineanchors=list}
|
```shell {lineanchors=list}
|
||||||
$ gpg --list-secret-keys --keyid-format long
|
$ gpg --list-secret-keys --keyid-format long
|
||||||
```
|
```
|
||||||
|
|
||||||
### Add a new subkey:
|
### Add a new subkey:
|
||||||
|
|
||||||
```shell {lineanchors=add}
|
```shell {lineanchors=add}
|
||||||
$ gpg --edit-key <masterkey-id>
|
$ gpg --edit-key <masterkey-id>
|
||||||
gpg> addkey
|
gpg> addkey
|
||||||
|
@ -17,6 +19,7 @@ gpg> save
|
||||||
```
|
```
|
||||||
|
|
||||||
### Transfer subkey to other workstation:
|
### Transfer subkey to other workstation:
|
||||||
|
|
||||||
```shell {lineanchors=transfer}
|
```shell {lineanchors=transfer}
|
||||||
$ gpg --export --armor <masterkey-id> >masterkey-public.asc
|
$ gpg --export --armor <masterkey-id> >masterkey-public.asc
|
||||||
$ gpg --export-secret-key --armor <subkey-id>! >subkey-private.asc
|
$ gpg --export-secret-key --armor <subkey-id>! >subkey-private.asc
|
||||||
|
@ -28,6 +31,7 @@ shred -u subkey-private.asc
|
||||||
```
|
```
|
||||||
|
|
||||||
### Or, transfer over ssh directly (might not work depending on setup):
|
### Or, transfer over ssh directly (might not work depending on setup):
|
||||||
|
|
||||||
```shell {lineanchors=transfer-ssh}
|
```shell {lineanchors=transfer-ssh}
|
||||||
$ gpg --export --armor <masterkey-id> \
|
$ gpg --export --armor <masterkey-id> \
|
||||||
| ssh <target-host> 'gpg --import'
|
| ssh <target-host> 'gpg --import'
|
||||||
|
@ -36,16 +40,19 @@ $ gpg --export-secret-key --armor <subkey-id>! \
|
||||||
```
|
```
|
||||||
|
|
||||||
### Check what keys are available on target:
|
### Check what keys are available on target:
|
||||||
|
|
||||||
```shell {lineanchors=check}
|
```shell {lineanchors=check}
|
||||||
$ gpg --list-secret-keys --with-keygrip
|
$ gpg --list-secret-keys --with-keygrip
|
||||||
```
|
```
|
||||||
|
|
||||||
### If the secret master key (`sec`) is available (no `#` suffix), delete it:
|
### If the secret master key (`sec`) is available (no `#` suffix), delete it:
|
||||||
|
|
||||||
```shell {lineanchors=delete-sec}
|
```shell {lineanchors=delete-sec}
|
||||||
$ gpg-connect-agent 'DELETE_KEY <master-keygrip>' /bye
|
$ gpg-connect-agent 'DELETE_KEY <master-keygrip>' /bye
|
||||||
```
|
```
|
||||||
|
|
||||||
### Reorder UID priorities:
|
### Reorder UID priorities:
|
||||||
|
|
||||||
```shell {lineanchors=reorder}
|
```shell {lineanchors=reorder}
|
||||||
# Suppose Bob has these three identities, in that order:
|
# Suppose Bob has these three identities, in that order:
|
||||||
[ unknown] (1). Bob <bob@example.com>
|
[ unknown] (1). Bob <bob@example.com>
|
||||||
|
@ -73,4 +80,5 @@ gpg> save
|
||||||
```
|
```
|
||||||
|
|
||||||
### Some more useful links/explanations:
|
### Some more useful links/explanations:
|
||||||
|
|
||||||
- [How to un-revoke an key/uid](https://lists.gnupg.org/pipermail/gnupg-users/2007-April/030724.html)
|
- [How to un-revoke an key/uid](https://lists.gnupg.org/pipermail/gnupg-users/2007-April/030724.html)
|
||||||
|
|
|
@ -9,9 +9,10 @@
|
||||||
html {
|
html {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
font-family: system-ui, -apple-system, BlinkMacSystemFont,'Segoe UI', 'Roboto', 'Oxygen',
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Segoe UI Emoji',
|
"Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
|
||||||
'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
|
"Helvetica Neue", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji",
|
||||||
|
sans-serif;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
max-width: 45em;
|
max-width: 45em;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -25,7 +26,8 @@ html {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2 {
|
h1,
|
||||||
|
h2 {
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +37,7 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin: 1em 0 .2em .5em;
|
margin: 1em 0 0.2em 0.5em;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
@ -46,7 +48,7 @@ p {
|
||||||
|
|
||||||
main {
|
main {
|
||||||
ul {
|
ul {
|
||||||
list-style-type: '*';
|
list-style-type: "*";
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
|
@ -56,7 +58,7 @@ main {
|
||||||
|
|
||||||
header {
|
header {
|
||||||
ul {
|
ul {
|
||||||
list-style-type: '';
|
list-style-type: "";
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +68,8 @@ header {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
a, a:visited {
|
a,
|
||||||
|
a:visited {
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
@ -90,7 +93,9 @@ a {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin: 0 -2px;
|
margin: 0 -2px;
|
||||||
|
|
||||||
&, &:visited, &:link {
|
&,
|
||||||
|
&:visited,
|
||||||
|
&:link {
|
||||||
color: var(--link);
|
color: var(--link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body>
|
<body>
|
||||||
|
<!-- prettier-ignore -->
|
||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main>
|
<main>
|
||||||
<article>
|
<article>{{ .Content }}</article>
|
||||||
{{ .Content }}
|
|
||||||
</article>
|
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
<main>
|
<main>{{ .Content }}</main>
|
||||||
{{ .Content }}
|
|
||||||
</main>
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main>
|
<main>{{ .Content }}</main>
|
||||||
{{ .Content }}
|
|
||||||
</main>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
<footer>
|
<footer>made with ❤ by christoph heiss</footer>
|
||||||
made with ❤ by christoph heiss
|
|
||||||
</footer>
|
|
||||||
|
|
|
@ -1,20 +1,28 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||||
<meta name="language" content="english">
|
<meta name="language" content="english" />
|
||||||
<meta name="author" content="Christoph Heiss">
|
<meta name="author" content="Christoph Heiss" />
|
||||||
<meta name="keywords" content="Christoph Heiss,c8h4,c8h4.io,personal,website,git,github,code,developer,hardware,software,postgresql,proxmox">
|
<meta
|
||||||
<meta name="city" content="Vienna">
|
name="keywords"
|
||||||
<meta name="country" content="Austria">
|
content="Christoph Heiss,c8h4,c8h4.io,personal,website,git,github,code,developer,hardware,software,postgresql,proxmox"
|
||||||
<meta name="description" content="{{ .Description }}">
|
/>
|
||||||
|
<meta name="city" content="Vienna" />
|
||||||
|
<meta name="country" content="Austria" />
|
||||||
|
<meta name="description" content="{{ .Description }}" />
|
||||||
|
|
||||||
|
<!-- prettier-ignore -->
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
|
|
||||||
{{ $title := print .Title " | " .Site.Title }}
|
{{ $title := print .Title " | " .Site.Title }}
|
||||||
|
|
||||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||||
|
|
||||||
<title>{{ $title }}</title>
|
<title>{{ $title }}</title>
|
||||||
|
|
||||||
{{ $styles := resources.Get "scss/main.scss" | toCSS }}
|
{{ $styles := resources.Get "scss/main.scss" | toCSS }}
|
||||||
<style>{{ $styles.Content | safeCSS }}</style>
|
<style>
|
||||||
|
{{ $styles.Content | safeCSS }}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -4,16 +4,15 @@
|
||||||
<ul>
|
<ul>
|
||||||
{{ if not .IsHome }}
|
{{ if not .IsHome }}
|
||||||
<li>
|
<li>
|
||||||
<a href="/">back to home</a>
|
<a href="/">back home</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }} {{ range .Pages }}
|
||||||
{{ range .Pages }}
|
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<hr>
|
<hr />
|
||||||
{{ with .Params.subheading }} {{ . }} {{ else }} {{ .Description }} {{ end }}
|
{{ with .Params.subheading }} {{ . }} {{ else }} {{ .Description }} {{ end }}
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue