mirror of
https://github.com/Crocmagnon/blog.git
synced 2024-11-13 03:23:53 +01:00
Add summary (& desc) for recent articles
This commit is contained in:
parent
67108f47e3
commit
8c0989aaf0
9 changed files with 15 additions and 3 deletions
|
@ -3,6 +3,7 @@ title: "Certificates chain correct order"
|
|||
tags: ['Certificates', 'OpenSSL', 'Quick Note', 'TLS']
|
||||
date: 2022-08-04T09:35:07.590872+00:00
|
||||
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.
|
||||
|
||||
|
|
|
@ -3,12 +3,13 @@ title: "Create a CSR with SAN"
|
|||
tags: ['Certificates', 'OpenSSL', 'Quick Note', 'TLS']
|
||||
date: 2022-12-20T13:56:56.467033+00:00
|
||||
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`).
|
||||
|
||||
## Config file
|
||||
|
||||
```toml
|
||||
```plain
|
||||
# example.conf
|
||||
[req]
|
||||
prompt = no
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "My Setup at Home (12/2021 update)"
|
|||
tags: ['devices', 'self-hosting']
|
||||
date: 2021-12-28T09:33:00.205309+00:00
|
||||
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.
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ title: "Optimize large Django migrations"
|
|||
tags: ['Django', 'ITSF', 'python']
|
||||
date: 2022-03-31T19:50:35.048724+00:00
|
||||
aliases: ["/optimize-large-django-migrations"]
|
||||
summary: Sometimes more is less.
|
||||
description: Sometimes more is less.
|
||||
---
|
||||
## 📖 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.
|
||||
|
@ -53,7 +55,7 @@ def forwards(apps, schema_editor):
|
|||
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
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ title: "pip-tools for Python dependencies management"
|
|||
tags: ['dependencies', 'pip-tools', 'python']
|
||||
date: 2023-03-02T13:07:26.381756+00:00
|
||||
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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
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.
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "Reduce your page load time with htmx in less than an hour"
|
|||
tags: ['Django', 'Javascript', 'frontend', 'programming', 'python']
|
||||
date: 2022-09-26T11:49:45.812120+00:00
|
||||
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
|
||||
During DjangoCon EU 2022, a talk reminded me of [htmx](https://htmx.org/). As the authors put it:
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "Releasing my works into the public domain"
|
|||
tags: ['commons', 'free software', 'licensing']
|
||||
date: 2022-01-02T15:40:02.921181+00:00
|
||||
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
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ title: "Setup rtx with direnv for Python"
|
|||
tags: ['development', 'python', 'shell', 'virtualenv']
|
||||
date: 2023-02-28T23:58:39.540937+00:00
|
||||
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
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: "Update this feed's URL"
|
||||
date: 2023-05-21T12:20:20+02:00
|
||||
summary: "The RSS feed for this blog has changed."
|
||||
---
|
||||
|
||||
{{< note >}}
|
||||
|
|
Loading…
Reference in a new issue