SPOJE.NET

Technická dokumentace

Uživatelské nástroje

Nástroje pro tento web


howto:linux:useful_commands

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revizePředchozí verze
Následující verze
Předchozí verze
howto:linux:useful_commands [2016/12/29 05:10] – [Video] harviehowto:linux:useful_commands [2022/09/29 21:44] (aktuální) gandalf
Řádek 18: Řádek 18:
   * http://successtheory.com/tips/zshtips.html   * http://successtheory.com/tips/zshtips.html
   * http://navody.josef.kyrian.cz/   * http://navody.josef.kyrian.cz/
 +  * https://www.safematix.com/
 ===== Commands ===== ===== Commands =====
 <note important>Tuhle stránku prosím nepřekládat do češtiny!</note> <note important>Tuhle stránku prosím nepřekládat do češtiny!</note>
Řádek 96: Řádek 97:
  
 <code bash>ffmpeg -i input.mov -vf deshake output.mov</code> <code bash>ffmpeg -i input.mov -vf deshake output.mov</code>
 +
 +=== Correct video Hue, Saturation and Brightness ===
 +
 +<code bash>ffmpeg -i IN.mp4 -vf hue=h=0:s=2:b=0 OUT.mp4</code>
 +
 +
 +=== Capture screencast using ffmpeg ===
 +
 +<code bash>ffmpeg -video_size 1280x800 -framerate 25 -f x11grab -i :0.0+0,0 output.mp4</code>
 +
 +with sound:
 +
 +<code bash>ffmpeg -video_size 1280x800 -framerate 25 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i default output.mp4</code>
 +
 +open mirrored webcam:
 +
 +<code bash>mpv --vf=lavfi="hflip" tv://</code>
 +
 ==== CUPS Printing ==== ==== CUPS Printing ====
 Install CUPS and you get the print server cupsd and the print commands lpstat, lpr and lpq, amongst others. I installed CUPS on two Gentoo boxes, following the Gentoo Printing Guide. On one of these machines I run the cupsd server. Install CUPS and you get the print server cupsd and the print commands lpstat, lpr and lpq, amongst others. I installed CUPS on two Gentoo boxes, following the Gentoo Printing Guide. On one of these machines I run the cupsd server.
Řádek 173: Řádek 192:
 <code bash>wget --spider -nd -o wget.log -e robots=off -r -p http://example.com <code bash>wget --spider -nd -o wget.log -e robots=off -r -p http://example.com
 grep -B 2 '404' wget.log | egrep -o 'https?://.*' | sort -u</code> grep -B 2 '404' wget.log | egrep -o 'https?://.*' | sort -u</code>
 +
 +=== Strip comments from C source code ===
 +<code bash>gcc -P -fpreprocessed -dMD -E file.c</code>
 +
 +==== Set date ====
 +
 +linux, udev
 +
 +<code>
 +# timedatectl set-ntp 0
 +# timedatectl set-time 2022-10-01
 +</code>
 +
 +
howto/linux/useful_commands.1482984656.txt.gz · Poslední úprava: 2016/12/29 05:10 autor: harvie