1
0
Fork 0

get rid of categories and add more tags

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2023-10-26 11:53:38 +02:00
parent 575eac4fe0
commit 5ebee61159
20 changed files with 39 additions and 29 deletions

View file

@ -12,8 +12,7 @@ build_search_index = true
theme = "zola-clean-blog" theme = "zola-clean-blog"
taxonomies = [ taxonomies = [
{name = "categories", feed = true, paginate_by=5}, {name = "tags", feed = true, paginate_by=10},
{name = "tags", feed = true, paginate_by=5},
] ]
generate_feed = true generate_feed = true
@ -47,7 +46,6 @@ author = "Harald Hoyer"
clean_blog_menu = [ clean_blog_menu = [
{url = "/", name = "Home"}, {url = "/", name = "Home"},
{url = "/categories", name = "Categories"},
{url = "/tags", name = "Tags"}, {url = "/tags", name = "Tags"},
{url = "https://photo-harald.hoyer.xyz/", name = "Photos"}, {url = "https://photo-harald.hoyer.xyz/", name = "Photos"},
{url = "/impressum", name = "Impressum"}, {url = "/impressum", name = "Impressum"},

View file

@ -1,6 +1,8 @@
+++ +++
title = "dracut - kernel command line" title = "dracut - kernel command line"
date = 2013-11-04T18:36:27+00:00 date = 2013-11-04T18:36:27+00:00
[taxonomies]
tags = ["dracut", "fedora", "programming"]
+++ +++
To quickly find out, what dracut wants as the kernel command for your current disk setup, To quickly find out, what dracut wants as the kernel command for your current disk setup,
fire up: fire up:
@ -15,4 +17,4 @@ root=UUID=8b8b6f91-95c7-4da2-831b-171e12179081
rootflags=rw,relatime,discard,data=ordered rootflags=rw,relatime,discard,data=ordered
rootfstype=ext4 rootfstype=ext4
``` ```
This works for version 032 and newer. This works for version 032 and newer.

View file

@ -1,6 +1,8 @@
+++ +++
title = "Redirecting apache access_log and error_log to the systemd journal" title = "Redirecting apache access_log and error_log to the systemd journal"
date = 2013-11-07T10:03:38+00:00 date = 2013-11-07T10:03:38+00:00
[taxonomies]
tags = ["apache", "fedora", "systemd", "journal", "httpd"]
+++ +++
To redirect all apache messages to syslog, which will then appear in the systemd To redirect all apache messages to syslog, which will then appear in the systemd
journal modify your httpd.conf: journal modify your httpd.conf:

View file

@ -1,6 +1,8 @@
+++ +++
title = "Fedora Boot Optimization" title = "Fedora Boot Optimization"
date = 2013-11-13T10:12:04+00:00 date = 2013-11-13T10:12:04+00:00
[taxonomies]
tags = ["linux", "fedora"]
+++ +++
This article shows how to reduce boot time for Fedora 17, but the recipe can also be applied to 18, 19 and 20. This article shows how to reduce boot time for Fedora 17, but the recipe can also be applied to 18, 19 and 20.

View file

@ -1,6 +1,8 @@
+++ +++
title = "Linux: HOWTO get the number of CPUs" title = "Linux: HOWTO get the number of CPUs"
date = 2013-11-13T12:13:04+00:00 date = 2013-11-13T12:13:04+00:00
[taxonomies]
tags = ["linux", "fedora"]
+++ +++
```console ```console
$ getconf _NPROCESSORS_ONLN $ getconf _NPROCESSORS_ONLN

View file

@ -1,6 +1,8 @@
+++ +++
title = "Self Hosting Fedora Base" title = "Self Hosting Fedora Base"
date = 2014-01-14T16:15:52+00:00 date = 2014-01-14T16:15:52+00:00
[taxonomies]
tags = ["fedora", "bootstrap", "buildroot"]
+++ +++
If you want to bootstrap a distribution or want to rebuild it from the sources (SRPMS) to get the same If you want to bootstrap a distribution or want to rebuild it from the sources (SRPMS) to get the same
binaries (think CentOS), you have to build the build tools and rebuild them with the built build tools, binaries (think CentOS), you have to build the build tools and rebuild them with the built build tools,

View file

@ -1,6 +1,8 @@
+++ +++
title = "Single UEFI executable for kernel+initrd+cmdline" title = "Single UEFI executable for kernel+initrd+cmdline"
date = 2015-02-25T15:55:16+00:00 date = 2015-02-25T15:55:16+00:00
[taxonomies]
tags = ["UEFI", "fedora", "SecureBoot"]
+++ +++
Lately Kay Sievers and David Herrmann created a UEFI Lately Kay Sievers and David Herrmann created a UEFI

View file

@ -1,6 +1,8 @@
+++ +++
title = "libtool: getting rid of 180,000 sed forks" title = "libtool: getting rid of 180,000 sed forks"
date = 2015-03-05T08:10:36+00:00 date = 2015-03-05T08:10:36+00:00
[taxonomies]
tags = ["fedora", "programming"]
+++ +++
When compiling systemd on rawhide, we noticed a significant slowdown in compile time. When compiling systemd on rawhide, we noticed a significant slowdown in compile time.
Investigating further, it turns out, that libtool forks an incredible amount of sed. Investigating further, it turns out, that libtool forks an incredible amount of sed.

View file

@ -1,6 +1,8 @@
+++ +++
title = "A Python Transaction Class" title = "A Python Transaction Class"
date = 2015-10-13T10:20:43+00:00 date = 2015-10-13T10:20:43+00:00
[taxonomies]
tags = ["python", "programming"]
+++ +++
This is a repost of a blog post of 2008. Just for the reference :-) This is a repost of a blog post of 2008. Just for the reference :-)

View file

@ -1,6 +1,8 @@
+++ +++
title = "GPG, Smartcard and ssh" title = "GPG, Smartcard and ssh"
date = 2016-07-21T14:35:14+00:00 date = 2016-07-21T14:35:14+00:00
[taxonomies]
tags = ["gpg", "yubikey", "fedora"]
+++ +++
This blog post shows how to tweak Fedora, if you want to use a smartcard with OpenPGP and use it also as a ssh key. This blog post shows how to tweak Fedora, if you want to use a smartcard with OpenPGP and use it also as a ssh key.
@ -84,4 +86,4 @@ ForwardAgent yes
``` ```
OpenSSH has a [bug](https://bugzilla.mindrot.org/show_bug.cgi?id=2601), so that `StreamLocalBindUnlink yes` does not OpenSSH has a [bug](https://bugzilla.mindrot.org/show_bug.cgi?id=2601), so that `StreamLocalBindUnlink yes` does not
work in the client configuration and thus, you have to add that option to the remote server `/etc/ssh/sshd_config` work in the client configuration and thus, you have to add that option to the remote server `/etc/ssh/sshd_config`

View file

@ -1,6 +1,8 @@
+++ +++
title = "dracut and CVE-2016-4484: Cryptsetup Initrd root Shell" title = "dracut and CVE-2016-4484: Cryptsetup Initrd root Shell"
date = 2016-11-15T16:42:23+00:00 date = 2016-11-15T16:42:23+00:00
[taxonomies]
tags = ["dracut", "fedora", "programming"]
+++ +++
People who want to secure their Fedora/RHEL system have to: People who want to secure their Fedora/RHEL system have to:
* add a BIOS password * add a BIOS password

View file

@ -1,6 +1,8 @@
+++ +++
title = "Rust Echo Server" title = "Rust Echo Server"
date = 2016-12-09T14:23:35+00:00 date = 2016-12-09T14:23:35+00:00
[taxonomies]
tags = ["rust", "programming"]
+++ +++
On modern CPUs, rust seems to perform very nicely with the thread context switches, On modern CPUs, rust seems to perform very nicely with the thread context switches,
at least when benchmarking an [echo server](https://github.com/haraldh/rust_echo_server). at least when benchmarking an [echo server](https://github.com/haraldh/rust_echo_server).

View file

@ -1,6 +1,7 @@
+++ +++
title = "Varlink" title = "Varlink"
date = 2017-12-18T12:22:38+00:00 date = 2017-12-18T12:22:38+00:00
tags = ["varlink", "fedora", "programming"]
+++ +++
For a long time we tried to solve the early boot IPC problem. IPC problem you ask? Well, in the early boot phase we For a long time we tried to solve the early boot IPC problem. IPC problem you ask? Well, in the early boot phase we

View file

@ -1,6 +1,8 @@
+++ +++
title = "varlink and the elvish shell" title = "varlink and the elvish shell"
date = 2018-02-22T09:53:37+00:00 date = 2018-02-22T09:53:37+00:00
[taxonomies]
tags = ["varlink", "programming"]
+++ +++
I recently discovered [Elvish](https://elvish.io/), which is a shell perfectly I recently discovered [Elvish](https://elvish.io/), which is a shell perfectly
suited to process structured data. In my case it is perfect to be used with suited to process structured data. In my case it is perfect to be used with

View file

@ -1,6 +1,8 @@
+++ +++
title = "varlink for dnf - a Showcase" title = "varlink for dnf - a Showcase"
date = 2018-02-22T07:09:03+00:00 date = 2018-02-22T07:09:03+00:00
[taxonomies]
tags = ["varlink", "fedora", "programming"]
+++ +++
On the [varlink wiki page](https://github.com/varlink/documentation/wiki/Adding-varlink-to-DNF) I showcase how to add varlink to a python project. In this case, I chose DNF, the rpm package manager of Fedora. On the [varlink wiki page](https://github.com/varlink/documentation/wiki/Adding-varlink-to-DNF) I showcase how to add varlink to a python project. In this case, I chose DNF, the rpm package manager of Fedora.
<!-- more --> <!-- more -->

View file

@ -1,6 +1,8 @@
+++ +++
title = "Bat understands varlink now" title = "Bat understands varlink now"
date = 2019-02-07T07:04:47+00:00 date = 2019-02-07T07:04:47+00:00
[taxonomies]
tags = ["varlink", "programming"]
+++ +++
[Bat](https://github.com/sharkdp/bat) is a *cat(1)* clone with syntax highlighting and Git integration. [Bat](https://github.com/sharkdp/bat) is a *cat(1)* clone with syntax highlighting and Git integration.

View file

@ -2,8 +2,7 @@
title = "Rust - Static PIE and ASLR for the x86_64-unknown-linux-musl Target" title = "Rust - Static PIE and ASLR for the x86_64-unknown-linux-musl Target"
date = 2020-06-23 date = 2020-06-23
[taxonomies] [taxonomies]
tags = ["rust", "musl"] tags = ["rust", "musl", "programming"]
categories = ["programming"]
+++ +++
With current rust nightly the default binary output of the `x86_64-unknown-linux-musl` target is a With current rust nightly the default binary output of the `x86_64-unknown-linux-musl` target is a
@ -51,4 +50,4 @@ main = 0x7f7310574008
$ ./hello $ ./hello
main = 0x7fb552b0c008 main = 0x7fb552b0c008
``` ```

View file

@ -2,8 +2,7 @@
title = "rman - Search the Rust Documentation offline" title = "rman - Search the Rust Documentation offline"
date = 2020-06-23 date = 2020-06-23
[taxonomies] [taxonomies]
tags = [ "rust", "documentation" ] tags = [ "rust", "documentation", "programming"]
categories = ["programming"]
+++ +++
Want to search your local offline rust `std` documentation, Want to search your local offline rust `std` documentation,
@ -30,4 +29,4 @@ Fire up your browser with the search window from your terminal:
$ rman MaybeUnit $ rman MaybeUnit
``` ```
Ok... it's not `man` and `apropos` ... but good enough for now. Ok... it's not `man` and `apropos` ... but good enough for now.

View file

@ -2,8 +2,7 @@
title = "Webcam Eye AF for the Sony A7RII" title = "Webcam Eye AF for the Sony A7RII"
date = 2021-10-28 date = 2021-10-28
[taxonomies] [taxonomies]
tags = [ "Sony", "alpha", "focus" ] tags = [ "Sony", "SonyAlpha", "focus", "photo"]
categories = ["photo"]
+++ +++
I am using my Sony A7 RII as a webcam with shallow depth of field with `gphoto2` under Linux. I am using my Sony A7 RII as a webcam with shallow depth of field with `gphoto2` under Linux.
@ -20,4 +19,4 @@ It works perfectly.
The only quirks are, that I have to remove the permanent press, if I want to press other buttons on the cam. The only quirks are, that I have to remove the permanent press, if I want to press other buttons on the cam.
It also has to be unpressed, when switching on the camera. It also has to be unpressed, when switching on the camera.
[Comments on Reddit](https://www.reddit.com/r/SonyAlpha/comments/qhkgt2/webcam_eye_af_for_the_sony_a7rii/) [Comments on Reddit](https://www.reddit.com/r/SonyAlpha/comments/qhkgt2/webcam_eye_af_for_the_sony_a7rii/)

View file

@ -28,20 +28,6 @@
</div> </div>
</div> </div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<h2>Categories</h2>
<ul>
{% set categories = get_taxonomy(kind="categories") %}
{% for category in categories.items %}
<li><a href="/categories/{{ category.name }}/rss.xml">{{ category.name }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-8 col-md-10 mx-auto"> <div class="col-lg-8 col-md-10 mx-auto">
@ -49,7 +35,7 @@
<ul> <ul>
{% set tags = get_taxonomy(kind="tags") %} {% set tags = get_taxonomy(kind="tags") %}
{% for tag in tags.items %} {% for tag in tags.items %}
<li><a href="/tags/{{ tag.name }}/rss.xml">{{ tag.name }}</a></li> <li><a href="{{ tag.permalink }}/rss.xml">{{ tag.name }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>