time to push it away again.

Ist ja kein Zustand.
This commit is contained in:
Markus Heurung 2024-05-02 22:53:26 +02:00
parent 2e77d8ff4e
commit 9a82241a91
16 changed files with 125 additions and 19 deletions

View file

@ -2,26 +2,33 @@ require "jekyll"
require "time" require "time"
desc "create a new note" desc "create a new note"
task :note do task :note, [:content] do |_t, args|
slug = "#{Date.today}-#{('a'..'z').to_a.repeated_permutation(1).to_a.sample(2).join}" slug = "#{Date.today}-#{('a'..'z').to_a.repeated_permutation(1).to_a.sample(2).join}"
content = args[:content]
file = File.join( file = File.join(
File.dirname(__FILE__), File.dirname(__FILE__),
"_notes", '_notes',
slug + ".md" "#{slug}.md"
) )
frontmatter = <<~EONOTE frontmatter = <<~EONOTE
--- ---
layout: default layout: default
title: Note title: Note
date: "#{DateTime.now.strftime("%Y-%m-%d %H:%M")}" date: "#{DateTime.now.strftime("%Y-%m-%d %H:%M")}"
--- ---
EONOTE EONOTE
unless content.nil?
File.write(file, frontmatter + content)
else
File.write(file, frontmatter) File.write(file, frontmatter)
system("#{ENV['EDITOR']} #file}") system("#{ENV['EDITOR']} #{file}")
end
end end
desc "build site" desc "build site"

View file

@ -38,13 +38,13 @@
<meta content="https://muhh-text-image.herokuapp.com/title?v=2&text={{ page.image_text | strip | url_encode }}" property="twitter:image"> <meta content="https://muhh-text-image.herokuapp.com/title?v=2&text={{ page.image_text | strip | url_encode }}" property="twitter:image">
{% else %} {% else %}
<meta content="summary" name="twitter:card"> <meta content="summary" name="twitter:card">
<meta content="https://muhh.lol/assets/logo.png" name="twitter:image"> <meta content="https://muhh.lol/assets/muhh_100x100.png" name="twitter:image">
<meta content="https://muhh.lol/assets/logo.png" property="og:image"> <meta content="https://muhh.lol/assets/muhh_100x100.png" property="og:image">
{% endif %} {% endif %}
{% else %} {% else %}
<meta content="summary" name="twitter:card"> <meta content="summary" name="twitter:card">
<meta content="https://muhh.lol/assets/logo.png" property="twitter:image"> <meta content="https://muhh.lol/assets/muhh_100x100.png" property="twitter:image">
<meta content="https://muhh.lol/assets/logo.png" property="og:image"> <meta content="https://muhh.lol/assets/muhh_100x100.png" property="og:image">
<meta content="{{ site.description }}" name="description"> <meta content="{{ site.description }}" name="description">
<meta content="website" property="og:type"> <meta content="website" property="og:type">
{% endif %} {% endif %}
@ -53,13 +53,11 @@
<body class="{% if page.root != true %}post-body{% endif %} col-{{ page.collection }}" data-page-type="{{ page.type }}"> <body class="{% if page.root != true %}post-body{% endif %} col-{{ page.collection }}" data-page-type="{{ page.type }}">
<header> <header>
<div class="logo-container"> <div class="logo-container">
<img src="/assets/muhh_100x100.png" alt="muhh as a drawing holding coffee" />
{% if page.root != true %} {% if page.root != true %}
<a href="/{% if page.collection == "notes" %}notes{% endif %}" aria-label="Home" class="back-link">&leftarrow;</a> <a href="/{% if page.collection == "notes" %}notes{% endif %}" aria-label="Home" class="back-link">&leftarrow;</a>
{% endif %} {% endif %}
<svg class="logo" viewBox="0 0 196 169" fill="none" xmlns="http://www.w3.org/2000/svg">
<title>~</title> <title>~</title>
<path d="M53.3782 160.773C64.4534 151.592 86.0271 133.546 97.4226 133.546C112.866 133.546 113.373 160.773 126.168 160.773C138.963 160.773 150.185 155.479 150.185 155.479" stroke="#cccccc" stroke-width="16" stroke-linecap="round"/>
</svg>
{% if page.root != true %} {% if page.root != true %}
<span class="font">{{ site.title }}</span> <span class="font">{{ site.title }}</span>
{% endif %} {% endif %}

8
_notes/2024-04-20-wb.md Normal file
View file

@ -0,0 +1,8 @@
---
layout: default
title: Note
date: "2024-04-20 08:52"
---
is this thing on? hello [echo](https://echofeed.app)!

9
_notes/2024-04-21-iz.md Normal file
View file

@ -0,0 +1,9 @@
---
layout: default
title: Note
date: "2024-04-21 15:04"
---
In der letzten Zeit zieht es mich irgendwie wieder mehr dahin, auf Deutsch zu schreiben. In meinen Notizen kommt das immer häufiger, im Blog hab ich mich noch garnicht so getraut. Irgendwie quatsch. Die Übersetzer sind mittlerweile ja wirklich so extrem gut, dass es da kaum noch Probleme gibt.
Or how do the english reading people see this? Oder meine Dschermen friends?

7
_notes/2024-04-21-uc.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: default
title: Note
date: "2024-04-21 10:45"
---
lazy sunday.

7
_notes/2024-04-22-du.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: default
title: Note
date: "2024-04-22 09:27"
---
I'm going on a little retreat today and there's plenty of space left in my backpack. In goes the camera and even the trusted Fujinon XF35mmF1.4. Love that thing.

11
_notes/2024-04-25-mo.md Normal file
View file

@ -0,0 +1,11 @@
---
layout: default
title: Note
date: "2024-04-25 16:59"
---
I'm so annoyed by that non-existing #NixOS community leadership, I'm short to drop all the work I invested in learning it and switch to something else.
But what are the options, especially if one enjoyed the full declarative and reproducible way the whole system was managed?
Argl.

7
_notes/2024-04-25-vi.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: default
title: Note
date: "2024-04-25 17:58"
---
It's all so fucked up, it's again time to thing about switching to carpenting and/or building terrariums. GNAAA.

7
_notes/2024-04-26-gs.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: default
title: Note
date: "2024-04-26 21:23"
---
Good thing we're out hiking tomorrow. No time to read tone deaf responses, but enjoy the woods and the time with my most precious person.

7
_notes/2024-04-26-jl.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: default
title: Note
date: "2024-04-26 11:53"
---
New record: over 200k files in one directory. On a network file system. \o/

7
_notes/2024-05-02-wd.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: default
title: Note
date: "2024-05-02 22:50"
---
Gerade mit Kõéïéõ

View file

@ -0,0 +1,12 @@
---
layout: default
title: Blogging is a conversation
date: 2024-04-09 16:13 +0200
tags: quote
---
> Just write. Then share.
>
> Blogging is a conversation. Its a conversation with yourself and its a conversation with others.
-- [Barry Hess - Youre a Blogger, Not an Essayist](https://bjhess.com/posts/you-re-a-blogger-not-an-essayist)

View file

@ -0,0 +1,19 @@
---
layout: default
title: It's Weblog Posting Month!
date: 2024-05-01 07:54 +0200
tags:
- weblogpomo2024
---
It's time to put some effort into my little home on the internets.
A couple days I noticed [Anne](https://anniegreens.lol/) starting a sort of challenge to post
to your own blog every day for the whole of May, the ["WeblogPoMo2024"](https://weblog.anniegreens.lol/weblog-posting-month-2024).
I was intruiged from the start, but also afraid since I already failed a
couple of times with these kind of miniprojects.
I'm going to try again though. Where's the fun otherwise?
So, here's my plan: write a short post (not a [note](https://muhh.lol/notes/), it at least needs a title...) every day. I have a few ideas queued, but I'll try to focus on moving this site forward. There are so many ideas and hopes I want to bring into manifestation and if I can write about it and improve my still clunky english, there's nothing to loose.
Have a great International Workers Day!

BIN
assets/muhh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
assets/muhh_100x100.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View file

@ -78,7 +78,7 @@ root: true
<li class="line"><a href="{{ post.url }}">{{ post.title }}</a></li> <li class="line"><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %} {% endfor %}
{% assign posts = site.posts | where: "feature", 1 %} {% assign posts = site.posts %}
{% for post in posts %} {% for post in posts %}
<li class="line"><a href="{{ post.url }}">{{ post.title }}</a><br> <li class="line"><a href="{{ post.url }}">{{ post.title }}</a><br>
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %e, %Y" }}</time></li> <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %e, %Y" }}</time></li>