It can be useful in some cases: to declare variables in the <template>
directly.
If you are logged in or not, use the /home
to display the landing page or the default page of a website.
Also, the logo should have the alt="home"
as this is what the users of screen readers expect. See the second point of https://jessbudd.com/blog/screen-reader-usability-testing-observations
About design:
- Less is more: the content will be more important
- 5x5 rule: Maximum 5 lines of texte for a slide, and maximum 5 words per line.
- Show, don't tell: group together, use size, color, font, bold, etc...
- Fonts: Outfit, Montserrat, Lato, Fira, Roboto, Opan Sans, Poxima, Circular
- Illustrations: Pixabay (https://pixabay.com/fr/), Unsplash (https://unsplash.com), stocksnap (https://stocksnap.io), Undraw (https://undraw.co)
- Icons: Flaticon, TheNounProject (https://thenounproject.com/)
- Figma or Adoe XD can help to create the slides
Clean code is not only concise code, but more importantly, it is readable. A rule of thumb when writing code, is to write code as if comments didn’t exist. The code should be self-explanatory.
- booleans should always have a prefix like "is", "has", or "was"
and other JS tips
Great tips indeed
Use classes on svg inner elements and animate them
const { length, 0: first, [length - 1]: last } = arr;
I was also struggling with it:
const multilineStrings = 'This is a\n' + 'multiline\n' + 'strings';
or
const multilineStrings = ['This is a', 'multiline', 'strings'].join('\n');
or
``const multilineStrings =
This is a
multiline
strings`;
git config --global --add --bool push.autoSetupRemote true
So the branch will be set if it is not the case 👍
It needs git version 2.37.0 or superior.
- Partir d'une base légère
- Éliminer les FROM, RUN et COPY
- Placer les fichiers modifiés souvent à la fin du build de l'image si possible
- Utiliser le .dockerignore
- "tout ce qui n’est pas essentiel au fonctionnement de mon programme n’a pas sa place dans mon image."
- Repo release: https://github.com/:owner/:repo/releases.atom
- Repo commits: https://github.com/:owner/:repo/commits.atom
- Repo tag: https://github.com/:user/:repo/tags.atom
- User activity: https://github.com/:user.atom
- aspect-ratio
- padding-bottom depending of the aspect-ratio
- css variables, but one dimension needs to be known:
--aspect-ratio: calc(4/3); --height: 30vmin; --width: calc(var(--height) * var(--aspect-ratio)); height: var(--height); width: var(---width);
- Be consistent
- Use ISO 8601 UTC dates
- Make an exception for public endpoints instead of
- Provide a health check endpoint:
GET /health
- Version the API
- Accept API key authentication
- Use reasonable HTTP status codes
- Use reasonable HTTP methods
- Use self-explanatory, simple names: Most endpoints are resource-oriented and should be named that way.
- Use standardized error responses (the same error structure)
- Return created resources upon
POST
- Prefer PATH over PUT: full update of a resource is rare
- Be as specific as possible
- Use pagination
- Allow expanding resources
background-clip: padding-box
to avoid overflow of the background if border-radius
is set.
Share a QR-Code that people can scan to get your informations, instead of switching the phones, spelling the number out loud, etc...
Mhmhmh it could be also joined with checkboxes, in order to select the information that you want to share.
Creating virtual columns in SQLite to greatly improve SQL queries. So
however I don't think that storing JSON as-is is a good idea...
But yes, it is almost a NoSQL database ツ
As Vue 3 classes are contained in attrs
, we sometimes want to pass every prop attribute to the child, except the class
attribute:
v-bind="{ ...attrs, class: undefined }"
- Led or to be led: be led may not be the best four you. If you want to lead, make a plan first.
- Topic sentences: After coming up with a rough outline for whatever you need to write, the next step is to write the topic sentences.
- Get excited
- Unmotivated details: why are you telling me this? → why should this person care about what I'm going to tell them?
- Slides versus speaker: one leads, the other support. This alternate in a presentation.
- Managers as input/output machines: You put into it your update and you get back feedback. The meeting is for your benefit. And more tips for running update meetings with an adviser or manager :)
- Daily progress tracking of objectives and results
Putting ️
disable the previous emoji and render it as character
︎
renders it as an emoji
La Bibliothèque Nationale de France (BNF) propose PressReader, un kiosque numérique pour 15€ / an.
- Télécharger l'app, créer un compte sur https://inscriptionbilletterie.bnf.fr/
- Prendre la pass BNF Lecture / Culture illimitée sur https://inscriptionbilletterie.bnf.fr/
- Attendre quelques jours et recevoir le courriel
- Se connecter sur la plateforme: https://bdl.bnf.fr/bases-de-donnees-par-titre et chercher PressReader
- Se connecter
(6.) Lors de l'accès à un titre, vous verrez ce message en jaune, mais pas de panique, pour réinitialiser le compteur, il suffit de se déconnecter puis de se reconnecter depuis https://bdl.bnf.fr/bases-de-donne
Un accès rapide: https://easybnf.fr/