Pour lire un torrent en streaming en utilisant vlc (c'est ce qui est utilisé par popcorn time)
A tester dans le cas ou un toto n'est pas dispo dans PT, comme pour les séries par exemple.
Pourquoi ne pas utiliser utorrent ? Je sais pas pour vous, mais chez moi il met un temps fou à démarrer la lecture en streaming comparé à PT..
-
https://github.com/mafintosh/peerflixFusionner un snapshot
Le but ici est de fusionner un snapshot modifié vers le LV d'origine. Pour ainsi dire, "faire que les modifications apportées sur le snapshot se retrouvent sur le LV d'origine".
lvconvert --merge /path/to/dev/snap
-
http://doc.ubuntu-fr.org/lvm#snapshotdd over ssh
lvcreate vg00 -L 4G -n srv-test-disk #on choisi la même taille (4Go)
mkfs.ext4 /dev/vg00/srv-test-disk
ssh root@srv-xen.domain.com "dd if=/dev/vg00/srv-test-disk" | dd of=/dev/vg00/srv-test-disk
ou avec gzip pour aller BEAUCOUP plus vite
ssh root@srv-xen.domain.com "dd if=/dev/vg00/srv-test-disk | gzip" | gzip -dc | dd of=/dev/vg00/srv-test-disk
-
http://wiki.gonzofamily.com/a/Utilisation_de_Xen#SnapshotsPuppet qui sattaque au monde du reseau avec le nuxus3000 :o
Clin d'oeil à ubiqube
-
http://youtu.be/QExKz-iIpYcIf you have lots of metric names that change (new servers etc) in a defined pattern it is irritating to constantly have to create new dashboards.
With scripted dashboards you can dynamically create your dashboards using javascript. In the folder grafana install folder app/dashboards/ there is a file named scripted.js. This file contains an example of a scripted dashboard. You can access it by using the url:
http://grafana_url/#/dashboard/script/scripted.js?rows=3&name=myName
If you open scripted.js you can see how it reads url paramters from ARGS variable and then adds rows and panels.
-
https://github.com/torkelo/grafana/wiki/Scripted-dashboardsbien utile
cat liste | parallel --gnu -j 10 ssh root@{} 'ls'
-
http://blog.michaelboman.org/2012/04/running-commands-in-parallel-using-bash.htmlSi un jour je fais un peu plus de JS, faudrait faire comme ça
-
http://blog.teamtreehouse.com/unobtrusive-javascript-importantPour obtenir la diff des éléments entre deux listes :
To get the lines only in the old file:
comm -23 <(sort /tmp/oldList) <(sort /tmp/newList)
To get the lines only in the new file:
comm -13 <(sort /tmp/oldList) <(sort /tmp/newList)
comm -23 <(sort /tmp/1) <(sort /tmp/2)
comm -13 <(sort /tmp/1) <(sort /tmp/2)
-
http://stackoverflow.com/questions/11165182/bash-difference-between-two-listsUn todo en cli dans le meme genre que http://todotxt.com/
-
http://brettterpstra.com/projects/doing/Des certifs qui peuvent être passées online : sécurité, réseau..
-
https://www.sans.org/course/hacker-techniques-exploits-incident-handlingUn peu de réseau, ça fait longtemps : un petit challenge où il faut crafter un icmp reply correspond à l'icmp request posté ;)
Les solutions :
http://ismellpackets.com/2010/10/05/the-ping-me-packet-challenge-solution/
http://ismellpackets.com/2010/10/06/another-ping-me-packet-challenge-solution/
http://ismellpackets.com/2010/10/07/the-ping-me-packet-challenge-solution-using-hping/
http://ismellpackets.com/2011/01/06/ping-me-packet-challenge-follow-up/
PS : l'auteur du blog n'est plus actif mais les archives sont à explorer
-
http://ismellpackets.com/2010/09/20/the-ping-me-packet-challenge/Script de hook pre-commit pour vérifier la syntaxe des .pp en utilisant http://puppet-lint.com/
-
http://geek.jasonhancock.com/2012/04/18/puppet-svn-pre-commit-hook/Pratique pour l'écriture de script en bash lorsqu'on a besoin d'un fichier temporaire :
#Creation
tmpfile=$(mktemp)
#Utilisation...
#Clean
if [ -e "$tmpfile" ]
then
rm -f $tmpfile
fi
-
https://links.infomee.fr/?r6stZw