aboutsummaryrefslogtreecommitdiff
path: root/content/blog
diff options
context:
space:
mode:
Diffstat (limited to 'content/blog')
-rw-r--r--content/blog/commands/date.md2
-rw-r--r--content/blog/commands/find-hardlinks.md3
-rw-r--r--content/blog/commands/find-inodes-used.md3
-rw-r--r--content/blog/commands/qemu-bis.md2
-rw-r--r--content/blog/debian/error-during-signature-verification.md2
-rw-r--r--content/blog/debian/force-package-removal.md2
-rw-r--r--content/blog/docker/migrate-data-volume.md2
-rw-r--r--content/blog/docker/shell-usage-in-dockerfile.md1
-rw-r--r--content/blog/freebsd/change-the-ip-address-of-a-running-jail.md1
-rw-r--r--content/blog/gentoo/steam.md3
-rw-r--r--content/blog/hugo/adding-custom-shortcode-age.md7
-rw-r--r--content/blog/kubernetes/bfd-service.md1
-rw-r--r--content/blog/kubernetes/delete-all-evicted-pods.md1
-rw-r--r--content/blog/kubernetes/get_key_and_certificae.md1
-rw-r--r--content/blog/kubernetes/k3s-ipv6.md1
-rw-r--r--content/blog/kubernetes/pg_dump_restore.md2
-rw-r--r--content/blog/kubernetes/single-node-cluster-taint.md1
-rw-r--r--content/blog/miscellaneous/blkdiscard.md1
-rw-r--r--content/blog/miscellaneous/debug-disk-usage-postgresql.md4
-rw-r--r--content/blog/miscellaneous/etc-update-alpine.md3
-rw-r--r--content/blog/miscellaneous/fstab.md1
-rw-r--r--content/blog/miscellaneous/golang-netapp-api.md2
-rw-r--r--content/blog/miscellaneous/i3dropdown.md1
-rw-r--r--content/blog/miscellaneous/link-deleted-inode.md3
-rw-r--r--content/blog/miscellaneous/postgresql-read-only.md4
-rw-r--r--content/blog/miscellaneous/postgresql-reassign.md4
-rw-r--r--content/blog/miscellaneous/private-shared-mounts.md2
-rw-r--r--content/blog/miscellaneous/screen-cannot-open-terminal.md1
-rw-r--r--content/blog/miscellaneous/seti-at-home.md1
-rw-r--r--content/blog/miscellaneous/sqlite-pretty-print.md4
30 files changed, 48 insertions, 18 deletions
diff --git a/content/blog/commands/date.md b/content/blog/commands/date.md
index 91ea399..1472940 100644
--- a/content/blog/commands/date.md
+++ b/content/blog/commands/date.md
@@ -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:
diff --git a/content/blog/commands/find-hardlinks.md b/content/blog/commands/find-hardlinks.md
index 03a873b..d418cc3 100644
--- a/content/blog/commands/find-hardlinks.md
+++ b/content/blog/commands/find-hardlinks.md
@@ -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 >}}
diff --git a/content/blog/commands/find-inodes-used.md b/content/blog/commands/find-inodes-used.md
index 60be706..4936c70 100644
--- a/content/blog/commands/find-inodes-used.md
+++ b/content/blog/commands/find-inodes-used.md
@@ -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 >}}
diff --git a/content/blog/commands/qemu-bis.md b/content/blog/commands/qemu-bis.md
index d0af3c4..3526316 100644
--- a/content/blog/commands/qemu-bis.md
+++ b/content/blog/commands/qemu-bis.md
@@ -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
---
diff --git a/content/blog/debian/error-during-signature-verification.md b/content/blog/debian/error-during-signature-verification.md
index d63bd2e..117fcf9 100644
--- a/content/blog/debian/error-during-signature-verification.md
+++ b/content/blog/debian/error-during-signature-verification.md
@@ -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
---
diff --git a/content/blog/debian/force-package-removal.md b/content/blog/debian/force-package-removal.md
index d708cf7..75a5d12 100644
--- a/content/blog/debian/force-package-removal.md
+++ b/content/blog/debian/force-package-removal.md
@@ -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
---
diff --git a/content/blog/docker/migrate-data-volume.md b/content/blog/docker/migrate-data-volume.md
index 9ed4e5c..9a87f57 100644
--- a/content/blog/docker/migrate-data-volume.md
+++ b/content/blog/docker/migrate-data-volume.md
@@ -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:
diff --git a/content/blog/docker/shell-usage-in-dockerfile.md b/content/blog/docker/shell-usage-in-dockerfile.md
index 48130ee..21e81fc 100644
--- a/content/blog/docker/shell-usage-in-dockerfile.md
+++ b/content/blog/docker/shell-usage-in-dockerfile.md
@@ -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/
diff --git a/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md b/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md
index f668e04..815d352 100644
--- a/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md
+++ b/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md
@@ -4,6 +4,7 @@ date: 2018-09-25
description: How to change the ip address of a running jail
tags:
- FreeBSD
+ - jails
---
## The command
diff --git a/content/blog/gentoo/steam.md b/content/blog/gentoo/steam.md
index 97e2ae4..759c76c 100644
--- a/content/blog/gentoo/steam.md
+++ b/content/blog/gentoo/steam.md
@@ -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" >}})
diff --git a/content/blog/hugo/adding-custom-shortcode-age.md b/content/blog/hugo/adding-custom-shortcode-age.md
index afa96b4..1f912bc 100644
--- a/content/blog/hugo/adding-custom-shortcode-age.md
+++ b/content/blog/hugo/adding-custom-shortcode-age.md
@@ -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
diff --git a/content/blog/kubernetes/bfd-service.md b/content/blog/kubernetes/bfd-service.md
index 711662a..c98bc10 100644
--- a/content/blog/kubernetes/bfd-service.md
+++ b/content/blog/kubernetes/bfd-service.md
@@ -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
---
diff --git a/content/blog/kubernetes/delete-all-evicted-pods.md b/content/blog/kubernetes/delete-all-evicted-pods.md
index ef3173c..b304554 100644
--- a/content/blog/kubernetes/delete-all-evicted-pods.md
+++ b/content/blog/kubernetes/delete-all-evicted-pods.md
@@ -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
---
diff --git a/content/blog/kubernetes/get_key_and_certificae.md b/content/blog/kubernetes/get_key_and_certificae.md
index 247446b..30b60e5 100644
--- a/content/blog/kubernetes/get_key_and_certificae.md
+++ b/content/blog/kubernetes/get_key_and_certificae.md
@@ -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
---
diff --git a/content/blog/kubernetes/k3s-ipv6.md b/content/blog/kubernetes/k3s-ipv6.md
index 6aa2da5..8e01385 100644
--- a/content/blog/kubernetes/k3s-ipv6.md
+++ b/content/blog/kubernetes/k3s-ipv6.md
@@ -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
---
diff --git a/content/blog/kubernetes/pg_dump_restore.md b/content/blog/kubernetes/pg_dump_restore.md
index 17641d2..0251728 100644
--- a/content/blog/kubernetes/pg_dump_restore.md
+++ b/content/blog/kubernetes/pg_dump_restore.md
@@ -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
diff --git a/content/blog/kubernetes/single-node-cluster-taint.md b/content/blog/kubernetes/single-node-cluster-taint.md
index 46f9ed7..5b80598 100644
--- a/content/blog/kubernetes/single-node-cluster-taint.md
+++ b/content/blog/kubernetes/single-node-cluster-taint.md
@@ -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
---
diff --git a/content/blog/miscellaneous/blkdiscard.md b/content/blog/miscellaneous/blkdiscard.md
index 2ea1cd5..bf35cec 100644
--- a/content/blog/miscellaneous/blkdiscard.md
+++ b/content/blog/miscellaneous/blkdiscard.md
@@ -4,6 +4,7 @@ date: 2021-08-04
description: How to discard ssd partitions, and not just mounted devices
tags:
- linux
+ - toolbox
---
## Introduction
diff --git a/content/blog/miscellaneous/debug-disk-usage-postgresql.md b/content/blog/miscellaneous/debug-disk-usage-postgresql.md
index 1826c60..6442dc3 100644
--- a/content/blog/miscellaneous/debug-disk-usage-postgresql.md
+++ b/content/blog/miscellaneous/debug-disk-usage-postgresql.md
@@ -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
---
diff --git a/content/blog/miscellaneous/etc-update-alpine.md b/content/blog/miscellaneous/etc-update-alpine.md
index 95a5522..20461d9 100644
--- a/content/blog/miscellaneous/etc-update-alpine.md
+++ b/content/blog/miscellaneous/etc-update-alpine.md
@@ -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
diff --git a/content/blog/miscellaneous/fstab.md b/content/blog/miscellaneous/fstab.md
index bc7331e..0720be1 100644
--- a/content/blog/miscellaneous/fstab.md
+++ b/content/blog/miscellaneous/fstab.md
@@ -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
---
diff --git a/content/blog/miscellaneous/golang-netapp-api.md b/content/blog/miscellaneous/golang-netapp-api.md
index 11d771a..0d0d27d 100644
--- a/content/blog/miscellaneous/golang-netapp-api.md
+++ b/content/blog/miscellaneous/golang-netapp-api.md
@@ -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
diff --git a/content/blog/miscellaneous/i3dropdown.md b/content/blog/miscellaneous/i3dropdown.md
index 0ffbe35..fa10db4 100644
--- a/content/blog/miscellaneous/i3dropdown.md
+++ b/content/blog/miscellaneous/i3dropdown.md
@@ -3,6 +3,7 @@ title: "i3dropdown"
date: 2020-01-23
description: How to use i3dropdown to pump up your graphical environment
tags:
+ - linux
- toolbox
---
diff --git a/content/blog/miscellaneous/link-deleted-inode.md b/content/blog/miscellaneous/link-deleted-inode.md
index 1cba1af..c16ea78 100644
--- a/content/blog/miscellaneous/link-deleted-inode.md
+++ b/content/blog/miscellaneous/link-deleted-inode.md
@@ -3,7 +3,8 @@ title: "Link to a deleted inode"
date: 2018-03-05
description: How to restore a hardlink to a deleted inode
tags:
- - unix
+- linux
+- unix
---
## The problem
diff --git a/content/blog/miscellaneous/postgresql-read-only.md b/content/blog/miscellaneous/postgresql-read-only.md
index 0b88d90..48ef392 100644
--- a/content/blog/miscellaneous/postgresql-read-only.md
+++ b/content/blog/miscellaneous/postgresql-read-only.md
@@ -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
---
diff --git a/content/blog/miscellaneous/postgresql-reassign.md b/content/blog/miscellaneous/postgresql-reassign.md
index d7d28d9..75644aa 100644
--- a/content/blog/miscellaneous/postgresql-reassign.md
+++ b/content/blog/miscellaneous/postgresql-reassign.md
@@ -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
---
diff --git a/content/blog/miscellaneous/private-shared-mounts.md b/content/blog/miscellaneous/private-shared-mounts.md
index 5783966..6af81d1 100644
--- a/content/blog/miscellaneous/private-shared-mounts.md
+++ b/content/blog/miscellaneous/private-shared-mounts.md
@@ -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
diff --git a/content/blog/miscellaneous/screen-cannot-open-terminal.md b/content/blog/miscellaneous/screen-cannot-open-terminal.md
index 5584538..0e2de99 100644
--- a/content/blog/miscellaneous/screen-cannot-open-terminal.md
+++ b/content/blog/miscellaneous/screen-cannot-open-terminal.md
@@ -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
---
diff --git a/content/blog/miscellaneous/seti-at-home.md b/content/blog/miscellaneous/seti-at-home.md
index c94b804..681b2c8 100644
--- a/content/blog/miscellaneous/seti-at-home.md
+++ b/content/blog/miscellaneous/seti-at-home.md
@@ -3,6 +3,7 @@ title: "Seti@Home"
date: 2018-03-05
description: Getting back into Seti@Home 15 years later
tags:
+ - linux
- toolbox
---
diff --git a/content/blog/miscellaneous/sqlite-pretty-print.md b/content/blog/miscellaneous/sqlite-pretty-print.md
index bc7ea02..4a4112e 100644
--- a/content/blog/miscellaneous/sqlite-pretty-print.md
+++ b/content/blog/miscellaneous/sqlite-pretty-print.md
@@ -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
---