Divers

Posted on sam. 24 novembre 2018 in Divers

Mediainfo

--Inform="General;%FileSize/String%"
--Inform="Video;%BitRate/String%"
--Inform="Audio;%BitRate/String%"

Optimisation

PNG

apt install optipng
optipng -o 7 *.png

JPEG

apt install jpegoptim
jpegoptim *.jpg

HTML / JS / CSS

http://refresh-sf.com/

Récupérer des vidéos

youtube dl : https://rg3.github.io/youtube-dl/

FTP/TLS

apt install lftp
lftp -du user,password ftp.example.com
set ssl:verify-certificate no

Vérification site Web

https://www.htbridge.com/ssl/ https://spdycheck.org/ http://yellowlab.tools/

Firefox

Capture d'écran

Ouvrir la console : MAJ+F2

screenshot --clipboard --fullpage

SOCKS

wget https://sourceforge.net/projects/tsocks/files/latest/download -O tsocks
tar xzvf tsocks
./configure
make
make install
echo "server = 192.168.0.1\nserver_type = 5\nserver_port = 1080" > /etc/tsocks.conf
tsocks apt update