Weekly Shaarli

All links of one week in a single page.

Week 41 (October 5, 2020)

MarcoPolo - Partially Functional

Parmi tous les SSG, je pense que Zola est le plus sympa... rapide, facile à installer, ...
Quelques contraintes (ie. « Réorganisation de contenu »...) à prévoir, mais dans l’ensemble ça a l’air facile et pratique.

#ssg #web

Don't write command-line interfaces (and how to write if you have to)

Plutôt que clize (ou click), il est proposé de passer par hug ou typer.

Le truc marrant, c'est qu'il est tout à fait possible d'appeler une fonction en lui passant des paramètres nommés. Type

python -m mymodule \
    set_dragon_feeding_schedule \
    --feeding-times ['10:00','14:00','18:00'] # hopefully this way it gets recognized \
    # how will you define parsing a dict with string to integer mapping? 
    --dishes=Creatures.Tiger:2 \
    --dishes=Creatures.Human:1 \
    --start-day=1020-03-21 # BTW bash allows no comments in multiline calls
GitHub - creativetimofficial/tailwind-starter-kit: Tailwind Starter Kit a beautiful extension for TailwindCSS, Free and Open Source

Tailwind Starter Kit is Free and Open Source. It does not change or add any CSS to the already one from TailwindCSS. It features multiple HTML elements and it comes with dynamic components for ReactJS, Vue and Angular.