configs/arch-config/Commands

38 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-02-19 20:03:51 +01:00
#Normalize audio
ffmpeg-normalize *.<format> -v -pr -c:a <audio codec> -ext <extension>
Examples:
2020-03-18 20:50:30 +01:00
#ffmpeg-normalize *.opus -v -pr -c:a libvorbis -ext ogg
2020-03-18 20:09:25 +01:00
ffmpeg-normalize *.flac -v -pr -c:a flac -ext flac
2020-03-18 20:50:30 +01:00
#ffmpeg-normalize *.ogg -v -pr -ext wav
ffmpeg-normalize *.m4a -v -pr -c:a libopus -ext opus
ffmpeg-normalize *.opus -v -pr -c:a libopus -ext opus
2020-02-21 21:28:14 +01:00
#extract images from video
ffmpeg -i file.mpg -r 1/1 $filename%03d.jpg
#found in .bashrc
2020-04-18 20:03:53 +02:00
yta-best="youtube-dl --extract-audio --audio-format best "
2020-04-21 10:17:29 +02:00
#lightdm configured themes
2020-04-21 09:40:08 +02:00
sudo cp -r /var/lib/lightdm/.local/share/webkitgtk/localstorage/ ~/ && sudo chmod -Rv 777 ~/localstorage/
2020-04-18 20:03:53 +02:00
#Single 4KiB random write process
fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=4k --size=4g --numjobs=1 --iodepth=1 --runtime=120 --time_based --end_fsync=1
#16 parallel 64KiB random write processes
fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=64k --size=256m --numjobs=16 --iodepth=16 --runtime=120 --time_based --end_fsync=1
#Single 1MiB random write process
fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=1m --size=16g --numjobs=1 --iodepth=1 --runtime=120 --time_based --end_fsync=1
#smartctl test
sudo smartctl -t <short|long> <disk>
#smartctl status
sudo smartctl -a <disk>
#cute cat
oneko
#fake identity
rig