Use filetime_from_git.

This commit is contained in:
Julien Palard 2023-01-25 17:34:53 +01:00
parent c4db791044
commit deb9a422b2
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
58 changed files with 3 additions and 57 deletions

View File

@ -1,6 +1,5 @@
--- ---
Title: How I use bash Title: How I use bash
Date: 2021-06-04 06:20:00
Summary: This is how I use bash, as I presented it at « En attendant la PyCon Fr ». Summary: This is how I use bash, as I presented it at « En attendant la PyCon Fr ».
--- ---

View File

@ -1,6 +1,5 @@
--- ---
Title: How to install any distrib on a Gandi VPS Title: How to install any distrib on a Gandi VPS
Date: 2021-11-18 08:51:00
Summary: I needed to install BBB, which requires Ubuntu 18.0.4, but they only had Ubuntu 20.0.4... Summary: I needed to install BBB, which requires Ubuntu 18.0.4, but they only had Ubuntu 20.0.4...
--- ---

View File

@ -1,6 +1,5 @@
--- ---
Title: HackInScience hits 10k solved exercices per month! Title: HackInScience hits 10k solved exercices per month!
Date: 2021-06-04 18:16:00
Summary: HackInScience is my litlle side-project to teach Python at scale. Last month, ~1000 persons solved ~10k exercices on it. Summary: HackInScience is my litlle side-project to teach Python at scale. Last month, ~1000 persons solved ~10k exercices on it.
--- ---

View File

@ -1,6 +1,5 @@
--- ---
Title: Finding a lost iPhone owner, the hard way Title: Finding a lost iPhone owner, the hard way
Date: 2022-06-07 11:39:00
Summary: My parents found an iPhone, couldn't locate its owner. What I tried next. Summary: My parents found an iPhone, couldn't locate its owner. What I tried next.
--- ---

View File

@ -1,6 +1,5 @@
--- ---
Title: Releasing pipe v2.0 Title: Releasing pipe v2.0
Date: 2022-05-23 09:31:00
Summary: Introducing partially parametrized pipes! Summary: Introducing partially parametrized pipes!
--- ---

View File

@ -1,4 +1,3 @@
Date: 2023-01-13 09:33:00
Lang: en Lang: en
Slug: black-screen-at-boot-on-my-pinephone Slug: black-screen-at-boot-on-my-pinephone
Summary: My phone was no longer booting… Summary: My phone was no longer booting…

View File

@ -1,4 +1,3 @@
Date: 2023-01-13 09:33:00
Lang: fr Lang: fr
Slug: black-screen-at-boot-on-my-pinephone Slug: black-screen-at-boot-on-my-pinephone
Summary: OK, aujourdhui mon [PinePhone](https://fr.wikipedia.org/wiki/PinePhone) ne boot plus. Summary: OK, aujourdhui mon [PinePhone](https://fr.wikipedia.org/wiki/PinePhone) ne boot plus.

View File

@ -1,6 +1,5 @@
--- ---
Title: A JustInTime class Title: A JustInTime class
Date: 2008-08-30 00:10:55
--- ---
I discovered in my code a redundant pattern : I discovered in my code a redundant pattern :

View File

@ -1,6 +1,5 @@
--- ---
Title: ashttp: vt100 screen scraping exported over HTTP Title: ashttp: vt100 screen scraping exported over HTTP
Date: 2011-08-27 15:08:21
--- ---
Originally written for Originally written for

View File

@ -1,5 +1,5 @@
Lang: en
Title: Python coroutines with async and await Title: Python coroutines with async and await
Date: 2016-06-05
This is a short introduction of the basic vocabulary and knowledge This is a short introduction of the basic vocabulary and knowledge
needed to start with `async` and `await`, we'll go from "scratch", but needed to start with `async` and `await`, we'll go from "scratch", but

View File

@ -1,5 +1,4 @@
Title: Atelier de traduction de la doc de Python Title: Atelier de traduction de la doc de Python
Date: 2017-12-09
C'est parti, j'ai le GO de la [PSF](https://www.python.org/psf/) et de C'est parti, j'ai le GO de la [PSF](https://www.python.org/psf/) et de
[NUMA Paris](https://paris.numa.co/), le `9 janvier 2018` on va faire [NUMA Paris](https://paris.numa.co/), le `9 janvier 2018` on va faire

View File

@ -1,5 +1,4 @@
Title: Automating GNU screen startup Title: Automating GNU screen startup
Date: 2011-11-18 00:13:58
At work I use GNU screen with one window per server (ssh connection), At work I use GNU screen with one window per server (ssh connection),
and when I loose my screen, it takes minutes to rebuild the naming and and when I loose my screen, it takes minutes to rebuild the naming and

View File

@ -1,5 +1,4 @@
Title: [Bashism] How to generate random number without $RANDOM ? Title: [Bashism] How to generate random number without $RANDOM ?
Date: 2011-04-07 14:00:55
There is a common bashism, that is to use `$RANDOM`. Typically you'll There is a common bashism, that is to use `$RANDOM`. Typically you'll
have to remove bashism while rewriting your scripts for dash or sh. have to remove bashism while rewriting your scripts for dash or sh.

View File

@ -1,5 +1,4 @@
Title: C# Using alias directives Title: C# Using alias directives
Date: 2009-03-25 11:49:50
Just found in section 9.4.1 of the C# language specification: The Just found in section 9.4.1 of the C# language specification: The
`using` keyword can be used to alias a namespace or a type name: `using` keyword can be used to alias a namespace or a type name:

View File

@ -1,5 +1,4 @@
Title: How to check if a string is valid utf-8 Title: How to check if a string is valid utf-8
Date: 2012-05-17 15:09:44
Every day (at least) I'm facing a problem: how to check if a string is Every day (at least) I'm facing a problem: how to check if a string is
valid in utf-8 ? So I wrote [a little C program, that I put on my valid in utf-8 ? So I wrote [a little C program, that I put on my

View File

@ -1,5 +1,4 @@
Title: Cisco CheatSheet Title: Cisco CheatSheet
Date: 2008-04-03
# Misc # Misc

View File

@ -1,5 +1,4 @@
Title: Combinatory logic from scratch Title: Combinatory logic from scratch
Date: 2008-11-28 01:56:32
Cause it's sooooo sexy, let's speak about Combinatory Logic! Cause it's sooooo sexy, let's speak about Combinatory Logic!

View File

@ -1,5 +1,4 @@
Title: Compose Key vs Dead Key Title: Compose Key vs Dead Key
Date: 2017-07-12
L'AFNOR à lancé autour de juin 2017 un appel à commentaires à propos L'AFNOR à lancé autour de juin 2017 un appel à commentaires à propos
de [la normalisation du clavier de [la normalisation du clavier

View File

@ -1,5 +1,4 @@
Title: Covariance and Contravariance in C#3 Title: Covariance and Contravariance in C#3
Date: 2009-03-09 21:19:51
A short introduction to Covariance and Contravariance in *C# 3* preparing A short introduction to Covariance and Contravariance in *C# 3* preparing
you to an article about that in *C# 4*. So what is covariance? you to an article about that in *C# 4*. So what is covariance?

View File

@ -1,5 +1,4 @@
Title: echo and backslash-escaped caracters / new lines: how to write portable scripts ? Title: echo and backslash-escaped caracters / new lines: how to write portable scripts ?
Date: 2011-04-08 13:59:45
While writing shell scripts you are using a lot of `echo` but did you While writing shell scripts you are using a lot of `echo` but did you
think about portability of this simple statement? Can you say what will think about portability of this simple statement? Can you say what will

View File

@ -1,5 +1,4 @@
Title: Emacs: replace tabs with spaces Title: Emacs: replace tabs with spaces
Date: 2011-05-06 18:27:59
When you want to replace tab with spaces or vice versa don't use `M-%` When you want to replace tab with spaces or vice versa don't use `M-%`
*(query-replace)* but `M-x tabify` or `M-x untabify`. They work on the *(query-replace)* but `M-x tabify` or `M-x untabify`. They work on the

View File

@ -1,5 +1,4 @@
Title: emacs: standard input is not a TTY Title: emacs: standard input is not a TTY
Date: 2011-12-11 13:54:02
Did you ever tried something like : Did you ever tried something like :

View File

@ -1,5 +1,4 @@
Title: emacs: Highlighting errors for c, python, and other languages Title: emacs: Highlighting errors for c, python, and other languages
Date: 2011-06-11 13:54:12
**This is a deprecated article about flymake, you should check for **This is a deprecated article about flymake, you should check for

View File

@ -1,5 +1,4 @@
Title: Numeric arguments in emacs Title: Numeric arguments in emacs
Date: 2011-05-02 15:47:31
I'm starting an 'emacs trick of the day' sequence with: I'm starting an 'emacs trick of the day' sequence with:

View File

@ -1,5 +1,4 @@
Title: Searching and replacing in emacs Title: Searching and replacing in emacs
Date: 2011-05-03 19:16:16
Day two of my serie about emacs, about searching and replacing. Day two of my serie about emacs, about searching and replacing.

View File

@ -1,5 +1,4 @@
Title: Exclude directories from recursive grep Title: Exclude directories from recursive grep
Date: 2008-11-16 16:20:13
How often are you using grep in subversionned folders like that: How often are you using grep in subversionned folders like that:

View File

@ -1,6 +1,5 @@
--- ---
Title: How APT does its fancy progress bar Title: How APT does its fancy progress bar
Date: 2021-10-13 10:12:00
Summary: It uses good old VT100 instructions. Summary: It uses good old VT100 instructions.
--- ---

View File

@ -1,5 +1,4 @@
Title: Howto invoke an event via reflection Title: Howto invoke an event via reflection
Date: 2008-08-29 23:14:53
Why this article ? Because of this note found on the MSDN's `EventInfo` Why this article ? Because of this note found on the MSDN's `EventInfo`

View File

@ -1,5 +1,4 @@
Title: Integrating google bookmarks in google chrome Title: Integrating google bookmarks in google chrome
Date: 2009-04-16 17:56:18
As every developer, you have 42 computers, 8 browsers, and spend a lot As every developer, you have 42 computers, 8 browsers, and spend a lot

View File

@ -1,5 +1,4 @@
Title: Javascript Foncteur Title: Javascript Foncteur
Date: 2008-05-08 12:43:30
I just discovered, this morning, how to create a Visitor in Javascript: I just discovered, this morning, how to create a Visitor in Javascript:

View File

@ -1,5 +1,4 @@
Title: Lazy Loading in php with spl_autload Title: Lazy Loading in php with spl_autload
Date: 2008-11-16 20:40:44
Today, a very short post about the lazy loading in PHP: `spl_autoload`. Today, a very short post about the lazy loading in PHP: `spl_autoload`.
I'll not expose everything about it here, cause it's already done here: I'll not expose everything about it here, cause it's already done here:

View File

@ -1,5 +1,4 @@
Title: nfsmount: rpc failed: 2 Title: nfsmount: rpc failed: 2
Date: 2011-04-18 14:45:03
For those, here on the internet, asking themselves what is this fscking For those, here on the internet, asking themselves what is this fscking

View File

@ -1,5 +1,4 @@
Title: Pipe: Infix syntax for Python Title: Pipe: Infix syntax for Python
Date: 2011-03-28 20:18:24
Pipe is a Python module enabling infix syntax in Python. For those Pipe is a Python module enabling infix syntax in Python. For those
asking "Why ?" let's take an example: Compare the readability of the asking "Why ?" let's take an example: Compare the readability of the

View File

@ -1,5 +1,4 @@
Title: Post data lost on 301 Moved Permanently Title: Post data lost on 301 Moved Permanently
Date: 2009-05-15 12:50:05
What the hell with 301 Moved Permanently HTTP header!? I'll take an What the hell with 301 Moved Permanently HTTP header!? I'll take an
exemple to explain my ugly problem, take, a (very ugly cause it's PHP) exemple to explain my ugly problem, take, a (very ugly cause it's PHP)

View File

@ -1,5 +1,4 @@
Title: La PyCon Fr 2018 approche ! Title: La PyCon Fr 2018 approche !
Date: 2018-06-10
La [PyCON Fr 2018](https://www.pycon.fr/2018/) c'est dans 4 mois, mine La [PyCON Fr 2018](https://www.pycon.fr/2018/) c'est dans 4 mois, mine
de rien c'est pas si loin, c'est le moment de l'ajouter sur son de rien c'est pas si loin, c'est le moment de l'ajouter sur son

View File

@ -1,5 +1,4 @@
Title: Python Documentation Translation Title: Python Documentation Translation
Date: 2017-05-29
This is an overview of what is done, what we're doing, and what's This is an overview of what is done, what we're doing, and what's
needs work about the translation of Python documentation. needs work about the translation of Python documentation.

View File

@ -1,5 +1,4 @@
Title: Python: Introducing ppipe : Parallel Pipe Title: Python: Introducing ppipe : Parallel Pipe
Date: 2011-04-15 14:07:47
> /!\ this was highly experimental code written in 2011. > /!\ this was highly experimental code written in 2011.
> Today you should _NOT_ use it, just look at it if the subject amuses you. > Today you should _NOT_ use it, just look at it if the subject amuses you.

View File

@ -1,5 +1,4 @@
Title: Python Translation Workshop 3 Title: Python Translation Workshop 3
Date: 2018-09-12
I'm organizing a 3rd workshop to translate the Python Documentation on 2018-09-20!!! I'm organizing a 3rd workshop to translate the Python Documentation on 2018-09-20!!!

View File

@ -1,5 +1,4 @@
Title: Python: Consulting PEPs from command line, while being offline Title: Python: Consulting PEPs from command line, while being offline
Date: 2011-04-13 14:20:11
One day I wished I could read PEPs in the tube on my laptop... so I One day I wished I could read PEPs in the tube on my laptop... so I
searched for a convenient way to do so, and I didn't found ... So I searched for a convenient way to do so, and I didn't found ... So I

View File

@ -1,6 +1,5 @@
--- ---
Title: Reversing a coffee machine key Title: Reversing a coffee machine key
Date: 2021-05-07 12:12:55
Summary: At $DAYJOB, a long time ago, we had big a coffee machine allowing us to store money in NFC keys… Summary: At $DAYJOB, a long time ago, we had big a coffee machine allowing us to store money in NFC keys…
--- ---

View File

@ -1,5 +1,4 @@
Title: squid: (101) Network is unreachable when DNS returns IPv6 Title: squid: (101) Network is unreachable when DNS returns IPv6
Date: 2011-06-24 17:32:38
If you have a Squid proxy configured on a machine that have no IPv6 If you have a Squid proxy configured on a machine that have no IPv6
connectivity, and try to reach an IPv6 compatible site, you squid will connectivity, and try to reach an IPv6 compatible site, you squid will

View File

@ -1,5 +1,4 @@
Title: The art of Events Title: The art of Events
Date: 2008-08-29 23:32:55
The art of using events to build more independent classes. /\* Found a The art of using events to build more independent classes. /\* Found a
better example \*/ Imagine you have a class A and a class B. A builds B, better example \*/ Imagine you have a class A and a class B. A builds B,

View File

@ -1,6 +1,5 @@
--- ---
Title: The ?? operator aka the Null Coalescing Operator Title: The ?? operator aka the Null Coalescing Operator
Date: 2008-11-23 18:01:40
--- ---
If are familiar to the use of ternary operators, you must have If are familiar to the use of ternary operators, you must have

View File

@ -1,6 +1,5 @@
--- ---
Title: YAUIB : Yet another useless IRC Bot ! Title: YAUIB : Yet another useless IRC Bot !
Date: 2011-03-27 23:40:58
--- ---
After 2 years of... non blogging... I'm back! This time I stopped C\# After 2 years of... non blogging... I'm back! This time I stopped C\#

View File

@ -1,5 +1,4 @@
Title: Bookmarks Title: Bookmarks
Date: 2021-05-05 15:21:00
# Internet & HTTP # Internet & HTTP

View File

@ -1,6 +1,5 @@
Title: Trainings Title: Trainings
Slug: formations Slug: formations
Date: 2023-01-17 15:41:00
Lang: en Lang: en
Python developer since 2009, Python trainer since 2015, I teach the following trainings: Python developer since 2009, Python trainer since 2015, I teach the following trainings:

View File

@ -1,6 +1,5 @@
Title: Formations Title: Formations
Slug: formations Slug: formations
Date: 2023-01-17 15:41:00
Lang: fr Lang: fr
Développeur Python depuis 2009, formateur Python depuis 2015, je Développeur Python depuis 2009, formateur Python depuis 2015, je

View File

@ -1,5 +1,4 @@
Title: GPG Title: GPG
Date: 2021-04-27 21:26:00
# My GPG keys # My GPG keys

View File

@ -1,5 +1,4 @@
Title: Julien Palard Title: Julien Palard
Date: 2016-05-28
description: Julien Palard - mdk.fr description: Julien Palard - mdk.fr
status: hidden status: hidden
lang: en lang: en

View File

@ -1,5 +1,4 @@
Title: Julien Palard Title: Julien Palard
Date: 2016-05-28
description: Julien Palard - mdk.fr description: Julien Palard - mdk.fr
status: hidden status: hidden
lang: fr lang: fr

View File

@ -1,4 +1,3 @@
Date: 2023-01-17 15:41:00
Lang: en Lang: en
Slug: python-avance Slug: python-avance
Title: Advanced Python Title: Advanced Python

View File

@ -1,4 +1,3 @@
Date: 2023-01-17 15:41:00
Lang: fr Lang: fr
Slug: python-avance Slug: python-avance
Title: Python avancé Title: Python avancé

View File

@ -1,4 +1,3 @@
Date: 2023-01-17 15:41:00
Lang: en Lang: en
Slug: python-initiation Slug: python-initiation
Title: Python introduction Title: Python introduction

View File

@ -1,6 +1,5 @@
Title: Python initiation Title: Python initiation
Slug: python-initiation Slug: python-initiation
Date: 2023-01-17 15:41:00
Lang: fr Lang: fr
Cest la première des deux formations Python que je propose, Cest la première des deux formations Python que je propose,

View File

@ -1,5 +1,4 @@
Title: Talks Title: Talks
Date: 2008-08-14 19:25:52
Slug: talks Slug: talks
Lang: en Lang: en

View File

@ -1,5 +1,4 @@
Title: Conférences Title: Conférences
Date: 2008-08-14 19:25:52
Slug: talks Slug: talks
Lang: fr Lang: fr

View File

@ -38,7 +38,7 @@ SOCIAL = (
# Path to Plugins # Path to Plugins
PLUGIN_PATHS = ['pelican-plugins'] PLUGIN_PATHS = ['pelican-plugins']
# Enable i18n plugin, probably you already have some others here. # Enable i18n plugin, probably you already have some others here.
PLUGINS = ['i18n_subsites'] PLUGINS = ['i18n_subsites', 'filetime_from_git']
# Enable Jinja2 i18n extension used to parse translations. # Enable Jinja2 i18n extension used to parse translations.
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']} JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
I18N_TEMPLATES_LANG = "en" I18N_TEMPLATES_LANG = "en"

View File

@ -1,2 +1,3 @@
pelican pelican
markdown markdown
gitpython