blog
Table des matières
- 2026:
- 2025:
4 billet(s) pour septembre 2026
| Notes HTTP Strict Transport Security - HSTS | 2026/09/18 11:04 | Jean-Baptiste |
| Notes GNU Linux GPU carte graphiques | 2026/09/08 15:49 | Jean-Baptiste |
| Notes GNU Linux graphique | 2026/09/08 15:42 | Jean-Baptiste |
| Notes urlencoding - passer des mots de passe en HTTPS | 2026/09/03 17:58 | Jean-Baptiste |
Notes inotify
Liens :
apt-get install inotify-tools inotifywait -r / cat /proc/sys/fs/inotify/max_user_watches echo 50000 > /proc/sys/fs/inotify/max_user_watches inotifywait -e modify -r -m /var/log
Exécuter quelques chose à chaque changement dans une arborescence
source : https://www.geekarea.fr/wordpress/?p=783
while inotifywait -r -e modify -e move -e create -e delete --exclude .swp .; do pkill flask; sleep 1; flask run --host=0.0.0.0 & done
Notes initramfs
Voir aussi :
- tinyramfs
initramfs-tools (0.119) unstable; urgency=medium
- The initramfs will now run fsck on the root filesystem before mounting it. If the chosen init program is systemd and there is a separate /usr filesystem, it will also fsck and mount /usr.
- If the /usr filesystem is on a RAID device and the INITRDSTART setting in /etc/default/mdadm is not 'all', you will need to change it to include that device.
- If the RTC (real time clock) is set to local time and the local time is ahead of UTC, e2fsck will print a warning during boot about the time changing backward (bug #767040). You can disable this by putting the following lines in /etc/e2fsck.conf: [options] broken_system_clock=1
-- Ben Hutchings ben@decadent.org.uk Sat, 17 Jan 2015 16:56:56 +0000
Notes images raw conversion
http://askubuntu.com/questions/483379/how-to-convert-cr2-to-jpg-or-png
sudo apt-get install ufraw-batch ufraw-batch --out-type jpeg *.CR2
Notes ImageMagick conversion images en ligne de commandes
Lien :
Source : https://openclassrooms.com/forum/sujet/decouper-une-image-en-9-rectangles-de-taille-egales-40181
convert carte.jpg -crop 210x210 +repage carte_%03d.png
convert -resize 1000x700 -colors 16 -quality 75 original.png image2.png
blog.txt · Dernière modification : de 127.0.0.1
