Tags overhaul to improve search results, and some light rewording or reformating

This commit is contained in:
Julien Dessaux 2021-09-13 00:48:07 +02:00
parent 78d7544339
commit 2376690795
56 changed files with 116 additions and 19 deletions

View file

@ -1,5 +1,5 @@
---
title: "Convert unix timestamp to readable date"
title: "Convert a unix timestamp to a readable date"
date: 2011-01-06
description: the -d flag of the date command combined with @timestamp
tags:

View file

@ -3,10 +3,13 @@ title: "Find hardlinks to a same file"
date: 2018-03-02
description: How to list hardlinks that link to the same file
tags:
- linux
- toolbox
- unix
---
## The command
{{< highlight sh >}}
find . -samefile /path/to/file
{{< /highlight >}}

View file

@ -3,10 +3,13 @@ title: "Find where inodes are used"
date: 2018-04-25
description: How to locate what is taking all the inodes in the subdirectory of a given device
tags:
- linux
- toolbox
- unix
---
## The command
{{< highlight sh >}}
find . -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
{{< /highlight >}}

View file

@ -3,7 +3,7 @@ title: "Simple qemu vm"
date: 2021-06-16
description: How to start a simple qemu vm, no gui!
tags:
- Linux
- linux
- virtualization
---

View file

@ -1,7 +1,7 @@
---
title: "Error occured during the signature verification"
date: 2015-02-27
description: Fixing the "Error occured during the signature verification"
description: Fixing the "Error occured during the signature verification" on Debian
tags:
- Debian
---

View file

@ -1,7 +1,7 @@
---
title: "Force package removal"
date: 2015-01-27
description: How to force the removal of a package
description: How to force the removal of a package on Debian
tags:
- Debian
---

View file

@ -1,5 +1,5 @@
---
title: "Migrate a data volume"
title: "Migrate a docker data volume"
date: 2018-01-30
description: How to migrate a data volume between two hosts
tags:

View file

@ -19,4 +19,5 @@ SHELL ["/bin/bash", "-eux", "-o", "pipefail", "-c"]
{{< /highlight >}}
## References
- https://bearstech.com/societe/blog/securiser-et-optimiser-notre-liste-des-bonnes-pratiques-liees-aux-dockerfiles/

View file

@ -4,6 +4,7 @@ date: 2018-09-25
description: How to change the ip address of a running jail
tags:
- FreeBSD
- jails
---
## The command

View file

@ -1,11 +1,12 @@
---
title: "Steam"
title: "Steam on gentoo"
date: 2019-02-16
description: How to make steam work seamlessly on gentoo with a chroot
tags:
- Gentoo
---
## Steam on gentoo
I am not using a multilib profile on gentoo (I use amd64 only everywhere), so when the time came to install steam I had to get a little creative. Overall I believe this is the perfect way to install and use steam as it self contains it cleanly while not limiting the functionalities. In particular sound works, as does the hardware acceleration in games. I tried to achieve that with containers but didn't quite made it work as well as this chroot setup.
[Here is the link to the full article describing how I achieved that.]({{< ref "/docs/gentoo/steam" >}})

View file

@ -28,7 +28,12 @@ With this `layouts/shortcodes/age.html` file I can just add the following in a p
{{< print "{{% age %}}" >}}
{{< / highlight >}}
And if you are wondering how I am able to display a shortcode code inside this page without having it render, it is because I defined another shortcode that does exactly that [here](https://git.adyxax.org/adyxax/www/src/branch/master/layouts/shortcodes/print.html)! Hugo really is a powerful static website generator, it is amazing.
And if you are wondering how I am able to display a shortcode code inside this page without having it render, it is because I defined another shortcode that does exactly like this :
{{< highlight html >}}
{{< print "{{ index .Params 0 }}" >}}
{{< / highlight >}}
You can find these examples [here](https://git.adyxax.org/adyxax/www/src/branch/master/layouts/shortcodes/)! Hugo really is a powerful static website generator, it is amazing.
## References

View file

@ -3,6 +3,7 @@ title: How to run the BFD protocol on kubernetes for fast BGP convergence
description: Metallb does not support it yet
date: 2021-08-18
tags:
- k3s
- kubernetes
---

View file

@ -3,6 +3,7 @@ title: How to delete all evicted pods in kubernetes
description: A quick note for future reference
date: 2021-09-01
tags:
- k3s
- kubernetes
---

View file

@ -3,6 +3,7 @@ title: "Get tls certificate and key from a kubernetes secret"
date: 2020-08-06
description: How to extract a tls certificate and keys from a kubernetes secret
tags:
- k3s
- kubernetes
---

View file

@ -3,6 +3,7 @@ title: Making dual stack ipv6 work with k3s
date: 2021-07-27
description: How to setup a working ipv4/ipv6 service on k3s
tags:
- k3s
- kubernetes
---

View file

@ -3,7 +3,9 @@ title: "Dump and restore a postgresql database on kubernetes"
date: 2020-06-25
description: How to dump and restore a postgresql database running on kubernetes
tags:
- k3s
- kubernetes
- PostgreSQL
---
## Dumping

View file

@ -3,6 +3,7 @@ title: kubernetes single node cluster taint
date: 2020-12-06
description: How to schedule worker pods on your control plane node
tags:
- k3s
- kubernetes
---

View file

@ -4,6 +4,7 @@ date: 2021-08-04
description: How to discard ssd partitions, and not just mounted devices
tags:
- linux
- toolbox
---
## Introduction

View file

@ -1,7 +1,7 @@
---
title: "Investigate postgresql disk usage"
title: "Investigate PostgreSQL disk usage"
date: 2015-11-24
description: How to investigate postgresql disk usage
description: A simple how to
tags:
- PostgreSQL
---

View file

@ -3,7 +3,8 @@ title: "etc-update script for alpine linux"
date: 2019-04-02
description: etc-update script for alpine linux
tags:
- Alpine Linux
- Alpine
- linux
---
## The script

View file

@ -3,6 +3,7 @@ title: "Use spaces in fstab"
date: 2011-09-29
description: How to use spaces in a folder name in fstab
tags:
- linux
- unix
---

View file

@ -2,6 +2,8 @@
title: Writing golang REST client to query netapp API
description: I needed a tool to migrate all network interfaces quickly
date: 2021-06-23
tags:
- golang
---
## Introduction

View file

@ -3,6 +3,7 @@ title: "i3dropdown"
date: 2020-01-23
description: How to use i3dropdown to pump up your graphical environment
tags:
- linux
- toolbox
---

View file

@ -3,6 +3,7 @@ title: "Link to a deleted inode"
date: 2018-03-05
description: How to restore a hardlink to a deleted inode
tags:
- linux
- unix
---

View file

@ -1,7 +1,7 @@
---
title: "Grant postgresql read only access"
title: "Grant PostgreSQL read only access"
date: 2015-11-24
description: How to grant read only access to a postgresql user
description: How to grant read only access to a PostgreSQL user
tags:
- PostgreSQL
---

View file

@ -1,7 +1,7 @@
---
title: "Change owner on a postgresql database and all tables"
title: "Change owner on a PostgreSQL database and all tables"
date: 2012-04-20
description: How to change owner on a postgresql database and all tables
description: How to change owner on a PostgreSQL database and all tables
tags:
- PostgreSQL
---

View file

@ -3,7 +3,7 @@ title: Private and shared mounts
date: 2021-07-30
description: Shared mount subtrees in Linux are a thing and I did not know it
tags:
- Alpine Linux
- Alpine
- kubernetes
- linux
- toolbox

View file

@ -3,6 +3,7 @@ title: "Screen cannot open terminal error"
date: 2018-07-03
description: How to fix a "Screen cannot open terminal" error
tags:
- linux
- toolbox
- unix
---

View file

@ -3,6 +3,7 @@ title: "Seti@Home"
date: 2018-03-05
description: Getting back into Seti@Home 15 years later
tags:
- linux
- toolbox
---

View file

@ -1,7 +1,7 @@
---
title: "Sqlite pretty print"
title: "SQLite pretty print"
date: 2019-06-19
description: How to pretty print your Sqlite output
description: How to pretty print your SQLite output
tags:
- SQLite
---

View file

@ -1,6 +1,10 @@
---
title: Borg ansible role
description: The ansible role I wrote to manage my borg backups
tags:
- ansible
- backups
- borg
---
## Introduction

View file

@ -1,6 +1,9 @@
---
title: "www"
description: adyxax.org main website. www.adyxax.org, wiki.adyxax.org and blog.adyxax.org all point here.
tags:
- hugo
- OpenBSD
---
## Introduction

View file

@ -1,6 +1,9 @@
---
title: Install Alpine from another Linux rescue
description: How to install Alpine Linux at hosting providers that do not support it
tags:
- Alpine
- linux
---
## Introduction

View file

@ -1,6 +1,10 @@
---
title: Wireguard
description: How to configure a wireguard endpoint on Alpine
tags:
- Alpine
- linux
- vpn
---
## Introduction

View file

@ -1,6 +1,10 @@
---
title: pf.conf
description: The template I use on new installations
tags:
- FreeBSD
- firewall
- pf
---
## pf.conf

View file

@ -1,6 +1,10 @@
---
title: Postgresql jail with bastille
description: How to install a PostgreSQL jail with bastille
tags:
- FreeBSD
- jails
- PostgreSQL
---
## Jail initialization

View file

@ -1,6 +1,8 @@
---
title: Install FreeBSD from linux
description: How to install FreeBSD at hosting providers that do not support it
tags:
- FreeBSD
---
## Introduction

View file

@ -1,6 +1,8 @@
---
title: Switch from quarterly to latest
description: How to switch your FreeBSD install from the quarterly release cycle to latest
tags:
- FreeBSD
---
## Introduction

View file

@ -1,6 +1,9 @@
---
title: "Installation"
description: Installation of a gentoo system
tags:
- gentoo
- linux
---
## Introduction

View file

@ -1,6 +1,9 @@
---
title: "Gentoo Kernel Upgrades"
description: Gentoo kernel upgrades on adyxax.org
tags:
- gentoo
- linux
---
## Introduction

View file

@ -1,6 +1,9 @@
---
title: "LXD"
description: How to setup a LXD server on gentoo
tags:
- gentoo
- linux
---
## Introduction

View file

@ -1,6 +1,9 @@
---
title: "Steam"
description: How to make steam work seamlessly on gentoo with a chroot
tags:
- gentoo
- linux
---
## Introduction

View file

@ -1,6 +1,9 @@
---
title: "Gentoo Packages Upgrades"
description: Gentoo packages upgrades on adyxax.org
tags:
- gentoo
- linux
---
## Introduction

View file

@ -1,6 +1,10 @@
---
title: Wireguard
description: How to configure a wireguard endpoint on Gentoo
tags:
- gentoo
- linux
- vpn
---
## Introduction

View file

@ -2,6 +2,8 @@
title: Nethack
description: The dungeon crawler game
layout: single
tags:
- nethack
---
## Nethack

View file

@ -1,6 +1,8 @@
---
title: First ascension
description: a lawful human Valkyrie ascended to demigodhood in december 2017
tags:
- nethack
---

View file

@ -1,6 +1,8 @@
---
title: .nethackrc
description: my nethack configuration file
tags:
- nethack
---
## .nethackrc

View file

@ -1,6 +1,8 @@
---
title: Second ascension
description: a lawful human Samourai ascended to demigodhood in june 2018
tags:
- nethack
---
```

View file

@ -1,6 +1,8 @@
---
title: Third ascension
description: a chaotic elf ranger ascended to demigodhood in june 2019
tags:
- nethack
---
```

View file

@ -1,6 +1,8 @@
---
title: Full Disk Encryption on OpenBSD
description: How to configure full disk encryption for a new OpenBSD install
tags:
- OpenBSD
---
## Introduction

View file

@ -1,6 +1,8 @@
---
title: Install OpenBSD from linux
description: How to install OpenBSD at hosting providers that do not support it
tags:
- OpenBSD
---
## Introduction

View file

@ -1,6 +1,9 @@
---
title: pf.conf
description: The template I use on new installations
tags:
- OpenBSD
- pf
---
## pf.conf

View file

@ -1,6 +1,8 @@
---
title: smtpd.conf
description: OpenSMTPD templates
tags:
- OpenBSD
---
## Simple relay

View file

@ -1,6 +1,9 @@
---
title: Wireguard
description: How to configure a wireguard endpoint on OpenBSD
tags:
- OpenBSD
- vpn
---
## Introduction

View file

@ -7,4 +7,3 @@
{{ .Content }}
{{ end }}

View file

@ -16,4 +16,5 @@
{{ end }}
<strong>{{ .Title }}</strong><br/>
{{ .Description }}
{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}<br/>Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}<a href="/tags/{{ . }}">{{ . }}</a> {{ end }}{{ end }}{{ end }}
</p>