This commit is contained in:
2026-05-25 22:53:28 +02:00
parent 77ff06348a
commit e1fe3e1bc5
96 changed files with 18132 additions and 590 deletions

View File

@@ -0,0 +1,20 @@
---
title: "Thomas und die Liebe letzter Teil neue Version..."
---
## Introduction
Ich glaube, ich schreibe es hauptsächlich deswegen, um zu lernen und das Gelernte zu vertiefen und vielleicht auch ein wenig, damit es Euch da draußen helfen kann.
Bis vor ein paar Jahren kannte ich wirklich noch nicht viel. Ich konnte nicht wirklich über Gefühle sprechen, geschweige denn diese auch ausleben und verstehen. Heute kenne ich große Teile der Gründe und hoffe auch, damit besser umgehen zu können.
Ich kannte mich eigentlich selber nicht so richtig, war aber sehr zufrieden mit mir. Ich war auch der einzige. In der Corona-Zeit hatte ich mich immer mehr von meiner Familie abgesondert und mich im wörtlichen Sinne in den Keller zurück gezogen.
Erst als meine Frau mich betrogen hatte musste ich etwas ändern. Ich hatte zu der Zeit noch ein sehr altes Beziehungsbild, bzw. Lebensmodell, so, dass ich deswegen echt angepisst war. Ich konnte keine Grenzen setzen, ich konnte nicht über Gefühle reden und ich konnte mich auch nicht selbst reflektieren. Ich wusste nur, so war es scheiße. Also machte ich mich auf, mich selber wieder in die Spur zu bringen. Dazu brauchte ich *nur* folgendes:
- Ich musste abnehmen. Aus drei Gründen. Zum Einen war es nicht mehr gesund, soviel, wie ich gewogen habe und zum Anderen habe ich mich selber auch nicht mehr als attraktiv wahrgenommen. Hinzu kommt noch ein dritter Grund: Meine Ausdauer in allen Belangen war unterirdisch. Deswegen hab ich beschlossen, abzunehmen. Ich hab erst mal komplett auf Süßes und auf Chips und auf alles verzichtet, was ich nur aus Langeweile gegessen habe. Dann hab ich immer mehr auf mein Hungergefühl geachtet und so hab ich es in einem halben Jahr von 95kg auf 65kg geschafft und halte dieses Gewicht nun schon ca. 2 Jahre. Das gibt mir wieder mehr Selbstvertrauen, Selbstwertgefühl und generell fühle ich mich viel fitter und wohler, als zuvor.
- Ich musste lernen, die Welt wieder positiv zu sehen. Ich musste viel über meine Gefühle lernen und wie ich sie wieder ins Positive bringe. Ich musste lernen, das ich verantwortlich für meine Gefühle und Emotionen bin. Ich kann die Schuld nicht im Außen suchen. Ich bin auch nicht verantwortlich für die Gefühle anderer. Hier habe ich viel gelernt über Liebe, Grenzen, Lebensmodelle, innere Kinder, Bindungsprobleme, Kommunikation, etc. . Das sowohl theoretisch über Webseminare, Vorlesungen, Bücher, als auch in der Praxis durch den tatsächlichen Versuch, es zu leben.
- Mit meinem wiederhergestellten, Selbstvertrauen, meiner wachsenden Praxis im Umgang mit meinen Gefühlen und in der Kommunikation habe ich viele total tolle Menschen kennen gelernt und mit ihnen komplett neue Lebensmodelle, Vorstellungen und Erkenntnisse über mich und die Welt. Ich habe gelernt, wie toll es ist, vorurteilsfrei und offen die Welt und die Menschen kennen lernen zu dürfen.
All diese Punkte führten dazu, dass ich mich wieder richtig gut und vollständig und im Leben befindlich fühle und wieder mit einer sehr offenen, achtsamen und positiven Stimmung durchs Leben gehen kann, und ich wieder Freude an allem habe, was ich so mache.

View File

@@ -0,0 +1,5 @@
---
title: "Gedanken"
name: Thomas
author: Thomas
---

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,221 @@
---
title: "Hugo Diagrams"
date: 2022-10-25T17:12:11+07:00
comment: true
tags: ["hugo", "tech", "diagrams"]
---
Hugo version >= 0.93.0
## GoAT Diagrams (Ascii)
Hugo! supports [GoAT](https://github.com/bep/goat) natively. This means that this code block:
````
```goat
. . . .--- 1 .-- 1 / 1
/ \ | | .---+ .-+ +
/ \ .---+---. .--+--. | '--- 2 | '-- 2 / \ 2
+ + | | | | ---+ ---+ +
/ \ / \ .-+-. .-+-. .+. .+. | .--- 3 | .-- 3 \ / 3
/ \ / \ | | | | | | | | '---+ '-+ +
1 2 3 4 1 2 3 4 1 2 3 4 '--- 4 '-- 4 \ 4
```
````
Will be rendered as:
```goat
. . . .--- 1 .-- 1 / 1
/ \ | | .---+ .-+ +
/ \ .---+---. .--+--. | '--- 2 | '-- 2 / \ 2
+ + | | | | ---+ ---+ +
/ \ / \ .-+-. .-+-. .+. .+. | .--- 3 | .-- 3 \ / 3
/ \ / \ | | | | | | | | '---+ '-+ +
1 2 3 4 1 2 3 4 1 2 3 4 '--- 4 '-- 4 \ 4
```
## GoAT Diagrams Examples
### Graphics
```goat
.
0 3 P * Eye / ^ /
*-------* +y \ +) \ / Reflection
1 /| 2 /| ^ \ \ \ v
*-------* | | v0 \ v3 --------*--------
| |4 | |7 | *----\-----*
| *-----|-* +-----> +x / v X \ .-.<-------- o
|/ |/ / / o \ | / | Refraction / \
*-------* v / \ +-' / \
5 6 +z v1 *------------------* v2 | o-----o
v
```
### Complex
```goat
+-------------------+ ^ .---.
| A Box |__.--.__ __.--> | .-. | |
| | '--' v | * |<--- | |
+-------------------+ '-' | |
Round *---(-. |
.-----------------. .-------. .----------. .-------. | | |
| Mixed Rounded | | | / Diagonals \ | | | | | |
| & Square Corners | '--. .--' / \ |---+---| '-)-' .--------.
'--+------------+-' .--. | '-------+--------' | | | | / Search /
| | | | '---. | '-------' | '-+------'
|<---------->| | | | v Interior | ^
' <---' '----' .-----------. ---. .--- v |
.------------------. Diag line | .-------. +---. \ / . |
| if (a > b) +---. .--->| | | | | Curved line \ / / \ |
| obj->fcn() | \ / | '-------' |<--' + / \ |
'------------------' '--' '--+--------' .--. .--. | .-. +Done?+-'
.---+-----. | ^ |\ | | /| .--+ | | \ /
| | | Join \|/ | | Curved | \| |/ | | \ | \ /
| | +----> o --o-- '-' Vertical '--' '--' '-- '--' + .---.
<--+---+-----' | /|\ | | 3 |
v not:line 'quotes' .-' '---'
.-. .---+--------. / A || B *bold* | ^
| | | Not a dot | <---+---<-- A dash--is not a line v |
'-' '---------+--' / Nor/is this. ---
```
### Process
```goat
.
.---------. / \
| START | / \ .-+-------+-. ___________
'----+----' .-------. A / \ B | |COMPLEX| | / \ .-.
| | END |<-----+CHOICE +----->| | | +--->+ PREPARATION +--->| X |
v '-------' \ / | |PROCESS| | \___________/ '-'
.---------. \ / '-+---+---+-'
/ INPUT / \ /
'-----+---' '
| ^
v |
.-----------. .-----+-----. .-.
| PROCESS +---------------->| PROCESS |<------+ X |
'-----------' '-----------' '-'
```
### File tree
Created from <https://arthursonzogni.com/Diagon/#Tree>
```goat { width=300 color="orange" }
───Linux─┬─Android
├─Debian─┬─Ubuntu─┬─Lubuntu
│ │ ├─Kubuntu
│ │ ├─Xubuntu
│ │ └─Xubuntu
│ └─Mint
├─Centos
└─Fedora
```
### Sequence Diagram
<https://arthursonzogni.com/Diagon/#Sequence>
```goat { class="w-40" }
┌─────┐ ┌───┐
│Alice│ │Bob│
└──┬──┘ └─┬─┘
│ │
│ Hello Bob! │
│───────────>│
│ │
│Hello Alice!│
│<───────────│
┌──┴──┐ ┌─┴─┐
│Alice│ │Bob│
└─────┘ └───┘
```
### Flowchart
<https://arthursonzogni.com/Diagon/#Flowchart>
```goat
_________________
╲ ┌─────┐
DO YOU UNDERSTAND ╲____________________________________________________│GOOD!│
╲ FLOW CHARTS? yes └──┬──┘
╲_________________
│no │
_________▽_________ ______________________ │
╲ ┌────┐ │
OKAY, YOU SEE THE ╲________________ ... AND YOU CAN SEE ╲___│GOOD│ │
╲ LINE LABELED 'YES'? yes ╲ THE ONES LABELED 'NO'? yes└──┬─┘ │
╲___________________ ╲______________________ │ │
│no │no │ │
________▽_________ _________▽__________ │ │
╲ ┌───────────┐ ╲ │ │
BUT YOU SEE THE ╲___│WAIT, WHAT?│ BUT YOU JUST ╲___ │ │
╲ ONES LABELED 'NO'? yes└───────────┘ ╲ FOLLOWED THEM TWICE? yes│ │ │
╲__________________ ╲____________________ │ │ │
│no │no │ │ │
┌───▽───┐ │ │ │ │
│LISTEN.│ └───────┬───────┘ │ │
└───┬───┘ ┌──────▽─────┐ │ │
┌─────▽────┐ │(THAT WASN'T│ │ │
│I HATE YOU│ │A QUESTION) │ │ │
└──────────┘ └──────┬─────┘ │ │
┌────▽───┐ │ │
│SCREW IT│ │ │
└────┬───┘ │ │
└─────┬─────┘ │
│ │
└─────┬─────┘
┌───────▽──────┐
│LET'S GO DRING│
└───────┬──────┘
┌─────────▽─────────┐
│HEY, I SHOULD TRY │
│INSTALLING FREEBSD!│
└───────────────────┘
```
### Table
<https://arthursonzogni.com/Diagon/#Table>
```goat { class="w-80 dark-blue" }
┌────────────────────────────────────────────────┐
│ │
├────────────────────────────────────────────────┤
│SYNTAX : { PRODUCTION } . │
├────────────────────────────────────────────────┤
│PRODUCTION: IDENTIFIER "=" EXPRESSION "." . │
├────────────────────────────────────────────────┤
│EXPRESSION: TERM { "|" TERM } . │
├────────────────────────────────────────────────┤
│TERM : FACTOR { FACTOR } . │
├────────────────────────────────────────────────┤
│FACTOR : IDENTIFIER │
├────────────────────────────────────────────────┤
│ | LITERAL │
├────────────────────────────────────────────────┤
│ | "[" EXPRESSION "]" │
├────────────────────────────────────────────────┤
│ | "(" EXPRESSION ")" │
├────────────────────────────────────────────────┤
│ | "{" EXPRESSION "}" . │
├────────────────────────────────────────────────┤
│IDENTIFIER: letter { letter } . │
├────────────────────────────────────────────────┤
│LITERAL : """" character { character } """" .│
└────────────────────────────────────────────────┘
```

View File

@@ -0,0 +1,82 @@
---
title: "Getting Started with Hugo"
date: 2022-10-26T17:12:11+07:00
comment: true
tags: ["hugo"]
---
## Step 1. Install Hugo
Go to [Hugo releases](https://github.com/spf13/hugo/releases) and download the
appropriate version for your OS and architecture.
Save it somewhere specific as we will be using it in the next step.
More complete instructions are available at [Install Hugo](https://gohugo.io/getting-started/installing/)
## Step 2. Build the Docs
Hugo has its own example site which happens to also be the documentation site
you are reading right now.
Follow the following steps:
```
1. Clone the [Hugo repository](http://github.com/spf13/hugo)
2. Go into the repo
3. Run hugo in server mode and build the docs
4. Open your browser to http://localhost:1313
```
Corresponding pseudo commands:
```shell
git clone https://github.com/spf13/hugo
cd hugo
/path/to/where/you/installed/hugo server --source=./docs
> 29 pages created
> 0 tags index created
> in 27 ms
> Web Server is available at http://localhost:1313
> Press ctrl+c to stop
```
Once you've gotten here, follow along the rest of this page on your local build.
## Step 3. Change the docs site
Stop the Hugo process by hitting Ctrl+C.
Now we are going to run hugo again, but this time with hugo in watch mode.
```shell
/path/to/hugo/from/step/1/hugo server --source=./docs --watch
> 29 pages created
> 0 tags index created
> in 27 ms
> Web Server is available at http://localhost:1313
> Watching for changes in /Users/spf13/Code/hugo/docs/content
> Press ctrl+c to stop
```
Open your [favorite editor](http://vim.spf13.com) and change one of the source
content pages. How about changing this very file to *fix the typo*. How about changing this very file to *fix the typo*.
Content files are found in `docs/content/`. Unless otherwise specified, files
are located at the same relative location as the url, in our case
`docs/content/overview/quickstart.md`.
Change and save this file.. Notice what happened in your terminal.
```shell
> Change detected, rebuilding site
> 29 pages created
> 0 tags index created
> in 26 ms
```
Refresh the browser and observe that the typo is now fixed.
Notice how quick that was. Try to refresh the site before it's finished building. I double dare you.
Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,179 @@
---
title: "Migrate to Hugo from Jekyll"
date: 2021-10-22T17:12:11+07:00
comment: true
tags: ["hugo"]
---
## Move static content to `static`
Jekyll has a rule that any directory not starting with `_` will be copied as-is to the `_site` output. Hugo keeps all static content under `static`. You should therefore move it all there.
With Jekyll, something that looked like
```shell
▾ <root>/
▾ images/
logo.png
```
should become
```shell
▾ <root>/
▾ static/
▾ images/
logo.png
```
Additionally, you'll want any files that should reside at the root (such as `CNAME`) to be moved to `static`.
## Create your Hugo configuration file
Hugo can read your configuration as JSON, YAML or TOML. Hugo supports parameters custom configuration too. Refer to the [Hugo configuration documentation](/overview/configuration/) for details.
## Set your configuration publish folder to `_site`
The default is for Jekyll to publish to `_site` and for Hugo to publish to `public`. If, like me, you have [`_site` mapped to a git submodule on the `gh-pages` branch](http://blog.blindgaenger.net/generate_github_pages_in_a_submodule.html), you'll want to do one of two alternatives:
1. Change your submodule to point to map `gh-pages` to public instead of `_site` (recommended).
```shell
git submodule deinit _site
git rm _site
git submodule add -b gh-pages git@github.com:your-username/your-repo.git public
```
2. Or, change the Hugo configuration to use `_site` instead of `public`.
```
{
..
"publishdir": "_site",
..
}
```
## Convert Jekyll templates to Hugo templates
That's the bulk of the work right here. The documentation is your friend. You should refer to [Jekyll's template documentation](http://jekyllrb.com/docs/templates/) if you need to refresh your memory on how you built your blog and [Hugo's template](/layout/templates/) to learn Hugo's way.
As a single reference data point, converting my templates for [heyitsalex.net](http://heyitsalex.net/) took me no more than a few hours.
## Convert Jekyll plugins to Hugo shortcodes
Jekyll has [plugins](http://jekyllrb.com/docs/plugins/); Hugo has [shortcodes](/doc/shortcodes/). It's fairly trivial to do a port.
### Implementation
As an example, I was using a custom [`image_tag`](https://github.com/alexandre-normand/alexandre-normand/blob/74bb12036a71334fdb7dba84e073382fc06908ec/_plugins/image_tag.rb) plugin to generate figures with caption when running Jekyll. As I read about shortcodes, I found Hugo had a nice built-in shortcode that does exactly the same thing.
Jekyll's plugin:
```ruby
module Jekyll
class ImageTag < Liquid::Tag
@url: nil
@caption: nil
@class: nil
@link: nil
// Patterns
IMAGE_URL_WITH_CLASS_AND_CAPTION =
IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK: /(\w+)(\s+)((https?:\/\/|\/)(\S+))(\s+)"(.*?)"(\s+)->((https?:\/\/|\/)(\S+))(\s*)/i
IMAGE_URL_WITH_CAPTION: /((https?:\/\/|\/)(\S+))(\s+)"(.*?)"/i
IMAGE_URL_WITH_CLASS: /(\w+)(\s+)((https?:\/\/|\/)(\S+))/i
IMAGE_URL: /((https?:\/\/|\/)(\S+))/i
def initialize(tag_name, markup, tokens)
super
if markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK
@class : $1
@url : $3
@caption: $7
@link: $9
elsif markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION
@class : $1
@url : $3
@caption: $7
elsif markup =~ IMAGE_URL_WITH_CAPTION
@url : $1
@caption: $5
elsif markup =~ IMAGE_URL_WITH_CLASS
@class: $1
@url : $3
elsif markup =~ IMAGE_URL
@url: $1
end
end
def render(context)
if @class
source: "<figure class='#{@class}'>"
else
source: "<figure>"
end
if @link
source += "<a href=\"#{@link}\">"
end
source += "<img src=\"#{@url}\">"
if @link
source += "</a>"
end
source += "<figcaption>#{@caption}</figcaption>" if @caption
source += "</figure>"
source
end
end
end
Liquid::Template.register_tag('image', Jekyll::ImageTag)
```
is written as this Hugo shortcode:
```html
<!-- image -->
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
{{ with .Get "link"}}<a href="{{.}}">{{ end }}
<img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }} />
{{ if .Get "link"}}</a>{{ end }}
{{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
<figcaption>{{ if isset .Params "title" }}
{{ .Get "title" }}{{ end }}
{{ if or (.Get "caption") (.Get "attr")}}<p>
{{ .Get "caption" }}
{{ with .Get "attrlink"}}<a href="{{.}}"> {{ end }}
{{ .Get "attr" }}
{{ if .Get "attrlink"}}</a> {{ end }}
</p> {{ end }}
</figcaption>
{{ end }}
</figure>
<!-- image -->
```
### Usage
I simply changed:
```
{% image full http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg "One of my favorite touristy-type photos. I secretly waited for the good light while we were "having fun" and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." ->http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/ %}
```
to this (this example uses a slightly extended version named `fig`, different than the built-in `figure`):
```
{{%/* fig class="full" src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg" title="One of my favorite touristy-type photos. I secretly waited for the good light while we were having fun and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." link="http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/" */%}}
```
As a bonus, the shortcode named parameters are, arguably, more readable.
## Finishing touches
### Fix content
Depending on the amount of customization that was done with each post with Jekyll, this step will require more or less effort. There are no hard and fast rules here except that `hugo server --watch` is your friend. Test your changes and fix errors as needed.
### Clean up
You'll want to remove the Jekyll configuration at this point. If you have anything else that isn't used, delete it.
## A practical example in a diff
[Hey, it's Alex](http://heyitsalex.net/) was migrated in less than a _father-with-kids day_ from Jekyll to Hugo. You can see all the changes (and screw-ups) by looking at this [diff](https://github.com/alexandre-normand/alexandre-normand/compare/869d69435bd2665c3fbf5b5c78d4c22759d7613a...b7f6605b1265e83b4b81495423294208cc74d610).

12
homepage/content/warum.md Normal file
View File

@@ -0,0 +1,12 @@
---
title: "Warum"
---
## Über mich und Warum
### über mich
Ich bin Thomas
### warum
und ich schreibe hier auf dieser Page einfach meine Gedanken, wie sie mir kommen zu den Themen Liebe, Beziehungen und was da so alles an Zeug dazu gehört. Ich schreibe das im Wesentlichen für mich, um meine Gedanken ein wenig zu ordnen und zu strukturieren. Wenn Euch was gefällt, nehmt es für Euch. Kommentiert gerne die Gedanken, fügt Eure hinzu ...

View File

@@ -0,0 +1,12 @@
---
title: "Warum"
---
## Über mich und Warum
### über mich
Ich bin Thomas
### warum
und ich schreibe hier auf dieser Page einfach meine Gedanken, wie sie mir kommen zu den Themen Liebe, Beziehungen und was da so alles an Zeug dazu gehört. Ich schreibe das im Wesentlichen für mich, um meine Gedanken ein wenig zu ordnen und zu strukturieren. Wenn Euch was gefällt, nehmt es für Euch. Kommentiert gerne die Gedanken, fügt Eure hinzu ...