tech:notes_web
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| tech:notes_web [2025/06/05 09:42] – Jean-Baptiste | tech:notes_web [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes web | ||
| + | |||
| + | ## Coloration syntaxique | ||
| + | |||
| + | La coloration syntaxique de la note précédente a été faite avec pygmentize. Par exemple: | ||
| + | |||
| + | ~~~bash | ||
| + | pygmentize -f html -l cpp -o code.html code | ||
| + | ~~~ | ||
| + | |||
| + | Pour récupérer le style CSS: | ||
| + | ~~~bash | ||
| + | pygmentize -f html -S colorful | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## web worker / worker API / consumers | ||
| + | |||
| + | Three parties : | ||
| + | * The **web worker** is responsible for running scripts in its own separate thread. | ||
| + | * The **worker API** exposes a consumer-to-provider communication interface. | ||
| + | * The **consumers** want to run some scripts outside the main thread, so they don’t block the main thread. | ||
| + | |||
| + | Source : https:// | ||
| + | |||
