- Graphe connexe pas d'éléments non-reliés
- Graphe acyclique sans cycle
- Graphe complet tous les arcs possibles
- Graphe bipartite 2 sous-graphes non-reliés entre eux
- Arc avant, arrière arc qui remont/redescent
- Arc transversal qui va à un autre arbre
- Ensemble de sommets fortement connexe si il y a tous les arcs possible
- DAG graphe dirigé acyclique
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
{ | |
"infos" : { | |
"version" : "0.1", | |
"count" : 10, | |
}, | |
"places" : { | |
"place" : { | |
"name" : "Imprévu", | |
"lat" : 10, | |
"lng" : 10, |
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
// | |
// A pointer is ... | |
uint16_t * pointer; // will point on a 16 integer bit data (sizeof = 2 bytes) | |
// | |
// | |
// Write at reg @ | |
// | |
volatile uint16_t * reg = (volatile uint16_t *) 1234; // 1234 is the @ | |
*reg = 4321; // 4321 is the new value |
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
$ mkdir ~/Desktop/$(date +%Y-%m-%d) | |
$ gsutil -m cp -L ~/Desktop/pgsql/manifest.txt -R gs://backup-reseaujeunesse-ch/pgsql ~/Desktop | |
$ gsutil -m rm gs://backup-eebulle-ch/pgsql/* # no worry if it delets pgsql folder, it will be created automatically by backup script | |
$ gsutil ls gs://backup-reseaujeunesse-ch/pgsql | grep -v .*0207.sql.aes | gsutil -m rm -I |
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
# ogv | |
$ ffmpeg -y -i movie.mov -vcodec libvpx -acodec libvorbis ffmpeg.webm | |
# normal mp4 | |
$ ffmpeg -y -i movie.mov -vcodec libx264 -acodec libfaac -s 1920x1080 ffmpeg.mp4 | |
# rescale | |
$ ffmpeg -ss 30 -y -i movie.mov -s 1920x1080 ffmpeg.png | |
# extract images |
NewerOlder