Add summary (& desc) for recent articles

This commit is contained in:
Gabriel Augendre 2023-05-21 23:31:50 +02:00
parent 67108f47e3
commit 8c0989aaf0
9 changed files with 15 additions and 3 deletions

View file

@ -3,6 +3,7 @@ title: "Certificates chain correct order"
tags: ['Certificates', 'OpenSSL', 'Quick Note', 'TLS'] tags: ['Certificates', 'OpenSSL', 'Quick Note', 'TLS']
date: 2022-08-04T09:35:07.590872+00:00 date: 2022-08-04T09:35:07.590872+00:00
aliases: ["/certificates-chain-correct-order"] aliases: ["/certificates-chain-correct-order"]
summary: Certificates in a chain file should start with the “final” certificate (the cert issued to you). Each following certificate should be the issuer of the previous one.
--- ---
Making honor to the name of this blog, here's a very quick note for my future self. Making honor to the name of this blog, here's a very quick note for my future self.

View file

@ -3,12 +3,13 @@ title: "Create a CSR with SAN"
tags: ['Certificates', 'OpenSSL', 'Quick Note', 'TLS'] tags: ['Certificates', 'OpenSSL', 'Quick Note', 'TLS']
date: 2022-12-20T13:56:56.467033+00:00 date: 2022-12-20T13:56:56.467033+00:00
aliases: ["/create-a-csr"] aliases: ["/create-a-csr"]
summary: How to generate a CSR for a basic certificate supported by modern browsers
--- ---
Another quick note today: how to generate a CSR for a basic certificate supported by modern browsers (includes `Subject Alternative Name`). Another quick note today: how to generate a CSR for a basic certificate supported by modern browsers (includes `Subject Alternative Name`).
## Config file ## Config file
```toml ```plain
# example.conf # example.conf
[req] [req]
prompt = no prompt = no

View file

@ -3,6 +3,7 @@ title: "My Setup at Home (12/2021 update)"
tags: ['devices', 'self-hosting'] tags: ['devices', 'self-hosting']
date: 2021-12-28T09:33:00.205309+00:00 date: 2021-12-28T09:33:00.205309+00:00
aliases: ["/my-setup-at-home-12-2021-update"] aliases: ["/my-setup-at-home-12-2021-update"]
summary: Here's the tech I use at home and what for.
--- ---
In this post, I'm presenting my updated setup at home. The [previous version]({{< ref "my-setup-at-home/" >}}) was from May 2020. In this post, I'm presenting my updated setup at home. The [previous version]({{< ref "my-setup-at-home/" >}}) was from May 2020.

View file

@ -3,6 +3,8 @@ title: "Optimize large Django migrations"
tags: ['Django', 'ITSF', 'python'] tags: ['Django', 'ITSF', 'python']
date: 2022-03-31T19:50:35.048724+00:00 date: 2022-03-31T19:50:35.048724+00:00
aliases: ["/optimize-large-django-migrations"] aliases: ["/optimize-large-django-migrations"]
summary: Sometimes more is less.
description: Sometimes more is less.
--- ---
## 📖 Backstory ## 📖 Backstory
Today, while working on a project at [ITSF](https://itsf.io), I needed to add a new field to an existing model in a Django project. This field had to initially be computed from other values in the same model, so I couldn't use a constant default value for all the existing objects. Today, while working on a project at [ITSF](https://itsf.io), I needed to add a new field to an existing model in a Django project. This field had to initially be computed from other values in the same model, so I couldn't use a constant default value for all the existing objects.
@ -53,7 +55,7 @@ def forwards(apps, schema_editor):
Model.objects.using(db_alias).bulk_update(instances, ["new_field"]) Model.objects.using(db_alias).bulk_update(instances, ["new_field"])
``` ```
I could spend time tweaking the page size but I know our migrations job can handle batches of 1000 objects, so I didn't put too much effort into that. I could spend time tweaking the page size, but I know our migrations job can handle batches of 1000 objects, so I didn't put too much effort into that.
## 📝 Key takeaways ## 📝 Key takeaways

View file

@ -3,6 +3,8 @@ title: "pip-tools for Python dependencies management"
tags: ['dependencies', 'pip-tools', 'python'] tags: ['dependencies', 'pip-tools', 'python']
date: 2023-03-02T13:07:26.381756+00:00 date: 2023-03-02T13:07:26.381756+00:00
aliases: ["/pip-tools-for-python-dependencies-management"] aliases: ["/pip-tools-for-python-dependencies-management"]
description: "Here's how and why I use pip-tools for my side-projects."
summary: "Here's how and why I use pip-tools for my side-projects."
--- ---
## 📖 Story time ## 📖 Story time
@ -22,7 +24,7 @@ The requirements from late 2020 were the following:
At the time, we considered `pipenv`, `poetry` and `pip-tools`, and chose Poetry because it was the only one checking all the boxes. At the time, we considered `pipenv`, `poetry` and `pip-tools`, and chose Poetry because it was the only one checking all the boxes.
Two years later, these requirements haven't changed but I now find Poetry to be too complex and moved all my active side projects to `pip-tools`. Two years later, these requirements haven't changed, but I now find Poetry to be too complex and moved all my active side projects to `pip-tools`.
`pip-tools` regroups two utilities. The first generates a `requirements.txt` from a source, and the other takes the generated file and syncs the virtual environment to the described state. It fits well in the UNIX philosophy of one tool doing one thing and doing it well. `pip-tools` regroups two utilities. The first generates a `requirements.txt` from a source, and the other takes the generated file and syncs the virtual environment to the described state. It fits well in the UNIX philosophy of one tool doing one thing and doing it well.

View file

@ -3,6 +3,7 @@ title: "Reduce your page load time with htmx in less than an hour"
tags: ['Django', 'Javascript', 'frontend', 'programming', 'python'] tags: ['Django', 'Javascript', 'frontend', 'programming', 'python']
date: 2022-09-26T11:49:45.812120+00:00 date: 2022-09-26T11:49:45.812120+00:00
aliases: ["/reduce-your-page-load-time-with-htmx-in-less-than-an-hour"] aliases: ["/reduce-your-page-load-time-with-htmx-in-less-than-an-hour"]
summary: HTMX is a wonderful piece of technology for backend developers who don't want to write frontend code but still provide nice UX.
--- ---
## Presentation ## Presentation
During DjangoCon EU 2022, a talk reminded me of [htmx](https://htmx.org/). As the authors put it: During DjangoCon EU 2022, a talk reminded me of [htmx](https://htmx.org/). As the authors put it:

View file

@ -3,6 +3,7 @@ title: "Releasing my works into the public domain"
tags: ['commons', 'free software', 'licensing'] tags: ['commons', 'free software', 'licensing']
date: 2022-01-02T15:40:02.921181+00:00 date: 2022-01-02T15:40:02.921181+00:00
aliases: ["/releasing-my-works-into-the-public-domain"] aliases: ["/releasing-my-works-into-the-public-domain"]
summary: All my existing software projects and the articles in this blog have been released into the public domain.
--- ---
## Context ## Context

View file

@ -3,6 +3,8 @@ title: "Setup rtx with direnv for Python"
tags: ['development', 'python', 'shell', 'virtualenv'] tags: ['development', 'python', 'shell', 'virtualenv']
date: 2023-02-28T23:58:39.540937+00:00 date: 2023-02-28T23:58:39.540937+00:00
aliases: ["/setup-rtx-with-direnv-for-python"] aliases: ["/setup-rtx-with-direnv-for-python"]
description: Improve startup time and simplify your PATH
summary: Improve startup time and simplify your PATH
--- ---
## 👨🏻‍💻 TL;DR ## 👨🏻‍💻 TL;DR

View file

@ -1,6 +1,7 @@
--- ---
title: "Update this feed's URL" title: "Update this feed's URL"
date: 2023-05-21T12:20:20+02:00 date: 2023-05-21T12:20:20+02:00
summary: "The RSS feed for this blog has changed."
--- ---
{{< note >}} {{< note >}}