-
Faire l’interface entre:
- les demandeurs (applications dites utilisateur) en ressources (espace memoire, fichiers, connexions reseaux, ...)
- les ressources disponibles : processeurs, memoire, disques, carte reseau, ...
-
Gerer les offres et les demandes dans leur ensemble, pour arbitrer leur attribution:
-
dans l’espace (allocation)
Customize VS Code with some code snippets so you can insert them into your projects
For more info see:
- Snippets in Visual Studio Code in the docs.
- VS Code homepage.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since it's been days, I am guessing this was solved. I am just adding my two cents here for future readers. | |
The problem lies with the JwtModule and the JwtStrategy instantiation. They aren't configured properly. | |
You need to pass in the algorithms you'd use for signing and verifying the tokens, along with the keys. | |
To verify whether the tokens are actually getting generated with the RS256 algo, check the header in the token at https://jwt.io/. | |
It would probably show HS256, and since your code didn't use the correct algorithm to sign the token. | |
And it fails while token gets verified using the public key. | |
To generate signed tokens properly with the RSA key pair: |
Guide for using tasks in VS Code
How to open and use the tasks menu
Based on the Tasks tutorial.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "tsc-watch", | |
"group": "build", | |
"command": "./node_modules/.bin/tsc", | |
"type": "shell", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Start", | |
"type": "node", | |
"request": "launch", |
Markdown Preview Enhanced supports rendering flow charts
, sequence diagrams
, mermaid
, PlantUML
, WaveDrom
, GraphViz
, Vega & Vega-lite
, Ditaa
diagrams.
You can also render TikZ
, Python Matplotlib
, Plotly
and all sorts of other graphs and diagrams by using Code Chunk.
Please note that some diagrams don't work well with file exports such as PDF, pandoc, etc.
This feature is powered by flowchart.js.
NewerOlder