387 private links
Installez log2ram pour éviter que les logs soient écrit directement sur la carte SD
$gridGap: 2rem;
$minColWidth: 15rem;
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax($minColWidth, 1fr));
grid-gap: 2rem;
& + .grid {
margin-top: $gridGap;
}
}Flexbox
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
footer {
margin-top: auto;
}
// Optional
main {
margin: 0 auto;
// or: align-self: center
max-width: 80ch;
}
Grid
body {
min-height: 100vh;
display: grid;
grid-template-rows: auto 1fr auto;
}
// Optional
main {
margin: 0 auto;
max-width: 80ch;
}Encore quelque chose de très utile ! Sous le coude
Une excellente liste à garder sous le coude
A lot of Vue tips
Full screen
PrtSc– Save a screenshot of the entire screen to thePicturesdirectory.Ctrl + PrtSc– Copy the screenshot of the entire screen to the clipboard.Custom Region
Shift + PrtSc– Save a screenshot of a specific region toPictures.Ctrl + Shift + PrtSc– Copy the screenshot of a specific region to the clipboard.Current window
Alt + PrtSc– Save a screenshot of the current window toPictures.
OMG this changed my life. I was still using kazam for this !
About Flameshot : it gives useful features for fast editing after taking the screenshot 👍
On reprends les tips 👍
Juste après le « shebang », mettre ça sur la ligne d’après :
set -euo pipefail
set -ewhich ensures that your script stops on first command failure.set -uwhich ensures that your script exits on the first unset variable encountered.set -o pipefailwhich ensures that if any command in a set of piped commands failed, the overall exit status is the status of the failed command.
Don't devalue your work.
Newer programmers tend to feel like their work isn't worth much because they are new. [...]
Hey it's me 😅
Don't feel pressured to work all the time.
Ignore fluff.
But I want to know everything
Dig into past research.
Cool link. Thanks for that.
Take on big projects. Get uncomfortable.
So true. I started on a projet without documentation written by strangers. The project is using Vuejs with typescript, uses the dedicated global state manager Vuex and makes graphQL query through vue-apollo. I started to use VScodium instead of vim and the goal was to make tests with Jest on the components and writing stories with Storybook to understand how they works.
I learned and am learning so much !
My last example is with tmux: the .bashrc is not well and after investigating, it turns out "$HOME/toMyPath" solved my problem.
Good idea ! Blur all images that doesn't have a alt attribute.
img:not([alt]) {
filter: blur(5px);
}
Or you can set a `border: 5px solid red` too.
Feel free to highlight accessibility problems :)About asynchronous streams: default behavior is that it terminates earlier when an error is generated by the stream. How to close the stream before returning the error ?
- Connect to the Freebox with the integrated VPN (already configured)
- Recreate a Domain Name in the proper configuration panel
I like IT