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 }}
|
||||
draft: true
|
||||
---
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ subheading: open source advocate. embracing the unix philosophy.
|
|||
description: Personal website of Christoph Heiss
|
||||
date: 2022-12-08T14:53:30+01:00
|
||||
---
|
||||
|
||||
## about me.
|
||||
|
||||
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.
|
||||
|
||||
Currently I'm part-time employed at
|
||||
{{< extlink href="https://proxmox.com/" title="Proxmox Server Solutions GmbH" >}}
|
||||
Proxmox
|
||||
{{< /extlink >}} as Linux software developer.
|
||||
{{< extlink href="https://proxmox.com/" title="Proxmox Server Solutions GmbH" >}}Proxmox{{< /extlink >}}
|
||||
as Linux software developer.
|
||||
|
||||
Some useful projects I work on and maintain in my free time include:
|
||||
|
||||
- {{< extlink
|
||||
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
|
||||
{{< /extlink >}}, a terminal client for Bitwarden.
|
||||
- {{< extlink
|
||||
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
|
||||
{{< /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.
|
||||
|
||||
If you like my work, you can support me on
|
||||
{{< extlink
|
||||
href="https://www.buymeacoffee.com/christoph.heiss"
|
||||
title="Christoph Heiss on Buy Me a Coffee"
|
||||
relAdd="me"
|
||||
>}}
|
||||
{{< extlink href="https://www.buymeacoffee.com/christoph.heiss" title="Christoph Heiss on Buy Me a Coffee" relAdd="me" >}}
|
||||
Buy Me a Coffee
|
||||
{{< /extlink >}}.
|
||||
|
||||
|
|
|
@ -4,11 +4,13 @@ date: 2023-04-21T16:40:56+02:00
|
|||
---
|
||||
|
||||
### List secret key with all subkeys:
|
||||
|
||||
```shell {lineanchors=list}
|
||||
$ gpg --list-secret-keys --keyid-format long
|
||||
```
|
||||
|
||||
### Add a new subkey:
|
||||
|
||||
```shell {lineanchors=add}
|
||||
$ gpg --edit-key <masterkey-id>
|
||||
gpg> addkey
|
||||
|
@ -17,6 +19,7 @@ gpg> save
|
|||
```
|
||||
|
||||
### Transfer subkey to other workstation:
|
||||
|
||||
```shell {lineanchors=transfer}
|
||||
$ gpg --export --armor <masterkey-id> >masterkey-public.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):
|
||||
|
||||
```shell {lineanchors=transfer-ssh}
|
||||
$ gpg --export --armor <masterkey-id> \
|
||||
| ssh <target-host> 'gpg --import'
|
||||
|
@ -36,16 +40,19 @@ $ gpg --export-secret-key --armor <subkey-id>! \
|
|||
```
|
||||
|
||||
### Check what keys are available on target:
|
||||
|
||||
```shell {lineanchors=check}
|
||||
$ gpg --list-secret-keys --with-keygrip
|
||||
```
|
||||
|
||||
### If the secret master key (`sec`) is available (no `#` suffix), delete it:
|
||||
|
||||
```shell {lineanchors=delete-sec}
|
||||
$ gpg-connect-agent 'DELETE_KEY <master-keygrip>' /bye
|
||||
```
|
||||
|
||||
### Reorder UID priorities:
|
||||
|
||||
```shell {lineanchors=reorder}
|
||||
# Suppose Bob has these three identities, in that order:
|
||||
[ unknown] (1). Bob <bob@example.com>
|
||||
|
@ -73,4 +80,5 @@ gpg> save
|
|||
```
|
||||
|
||||
### Some more useful links/explanations:
|
||||
|
||||
- [How to un-revoke an key/uid](https://lists.gnupg.org/pipermail/gnupg-users/2007-April/030724.html)
|
||||
|
|
|
@ -9,9 +9,10 @@
|
|||
html {
|
||||
background-color: var(--background);
|
||||
color: var(--text);
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont,'Segoe UI', 'Roboto', 'Oxygen',
|
||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Segoe UI Emoji',
|
||||
'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
"Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
|
||||
"Helvetica Neue", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji",
|
||||
sans-serif;
|
||||
font-size: 12pt;
|
||||
max-width: 45em;
|
||||
margin: 0 auto;
|
||||
|
@ -25,7 +26,8 @@ html {
|
|||
}
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
h1,
|
||||
h2 {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
|
@ -35,7 +37,7 @@ h1 {
|
|||
}
|
||||
|
||||
h3 {
|
||||
margin: 1em 0 .2em .5em;
|
||||
margin: 1em 0 0.2em 0.5em;
|
||||
font-size: 12pt;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
@ -46,7 +48,7 @@ p {
|
|||
|
||||
main {
|
||||
ul {
|
||||
list-style-type: '*';
|
||||
list-style-type: "*";
|
||||
}
|
||||
|
||||
li {
|
||||
|
@ -56,7 +58,7 @@ main {
|
|||
|
||||
header {
|
||||
ul {
|
||||
list-style-type: '';
|
||||
list-style-type: "";
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
@ -66,7 +68,8 @@ header {
|
|||
justify-content: space-between;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
a,
|
||||
a:visited {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
|
@ -90,7 +93,9 @@ a {
|
|||
padding: 2px;
|
||||
margin: 0 -2px;
|
||||
|
||||
&, &:visited, &:link {
|
||||
&,
|
||||
&:visited,
|
||||
&:link {
|
||||
color: var(--link);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<html lang="en">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
<!-- prettier-ignore -->
|
||||
{{- partial "header.html" . -}}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
<article>{{ .Content }}</article>
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
<main>
|
||||
{{ .Content }}
|
||||
</main>
|
||||
<main>{{ .Content }}</main>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
{{ .Content }}
|
||||
</main>
|
||||
<main>{{ .Content }}</main>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
<footer>
|
||||
made with ❤ by christoph heiss
|
||||
</footer>
|
||||
<footer>made with ❤ by christoph heiss</footer>
|
||||
|
|
|
@ -1,20 +1,28 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="language" content="english">
|
||||
<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 name="city" content="Vienna">
|
||||
<meta name="country" content="Austria">
|
||||
<meta name="description" content="{{ .Description }}">
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<meta name="language" content="english" />
|
||||
<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 name="city" content="Vienna" />
|
||||
<meta name="country" content="Austria" />
|
||||
<meta name="description" content="{{ .Description }}" />
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
|
||||
{{ $title := print .Title " | " .Site.Title }}
|
||||
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
|
||||
<title>{{ $title }}</title>
|
||||
|
||||
{{ $styles := resources.Get "scss/main.scss" | toCSS }}
|
||||
<style>{{ $styles.Content | safeCSS }}</style>
|
||||
<style>
|
||||
{{ $styles.Content | safeCSS }}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -4,16 +4,15 @@
|
|||
<ul>
|
||||
{{ if not .IsHome }}
|
||||
<li>
|
||||
<a href="/">back to home</a>
|
||||
<a href="/">back home</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ range .Pages }}
|
||||
{{ end }} {{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
<hr>
|
||||
<hr />
|
||||
{{ with .Params.subheading }} {{ . }} {{ else }} {{ .Description }} {{ end }}
|
||||
</header>
|
||||
|
|
Loading…
Reference in a new issue