alternative to _cat api ;)
j'avais perdu cet article, il est là!
Use awk with a flag to trigger the print when necessary:
$ awk '/abc/{flag=1;next}/mno/{flag=0}flag' file
def1
ghi1
jkl1
def2
ghi2
jkl2
How does this work?
/abc/ matches lines having this text, as well as /mno/ does.
/abc/{flag=1;next} sets the flag when the text abc is found. Then, it skips the line.
/mno/{flag=0} unsets the flag when the text mno is found.
The final flag is a pattern with the default action, which is to print $0: if flag is equal 1 the line is printed.
For a more detailed description and examples, together with cases when the patterns are either shown or not, see How to select lines between two patterns?.
The event loop is different than models in many other languages where additional threads may be created to handle concurrent work.
à tester sur serveurs perso
via pierrick
"prometheus only pull"
On peut aussi faire du push de manière détournée
not bad! better than unprotected socket access ;)
pour ne pas bufferiser l'ouput d'un script python et avoir le résultat en direct dans un | tee -a :
python -u script.py | tee -a mon.log
saleté de bug
Donne une bonne vision de l'ensemble des domaines dans le web en 2018
Vaut-il mieux être très bon dans un domaine ou bien se concsacrer à plusieurs ?
Peut-on être bon partout ?
"//delete unusefull"
:D
Génial, permet de preview un trajet en streetview !
This host is running in loop-lvm mode, which is not supported on production systems. This is indicated by the fact that the Data loop file and a Metadata loop file are on files under /var/lib/docker/devicemapper. These are loopback-mounted sparse files. For production systems, see Configure direct-lvm mode for production.
devicemapper supports 2 modes:
loop-lvm (only for dev)
direct-lvm (production ok)
docker info
backend : https://paweljw.github.io/2017/07/rails-5.1-api-with-vue.js-frontend-part-0-stack-choices/
modern spa app/ backend and frontend 100% decoupled
fallocate -l 10G fake.img