Compare commits
No commits in common. "436137e979564137967f72680815a24027a3e483" and "412ee1d52b36d95978cff926e4e4ca142f6c73a1" have entirely different histories.
436137e979
...
412ee1d52b
16
how_to
16
how_to
|
@ -383,13 +383,8 @@ Suckless sent:
|
|||
Hack
|
||||
|
||||
Video and audio editing:
|
||||
Inspect media file:
|
||||
ffprobe in.mp{3,4}
|
||||
Cut video/audio:
|
||||
ffmpeg -ss "start" [-t "duration"|-to "end"] -i input.mp3 -acodec copy output.mp3
|
||||
Extract audio from video:
|
||||
# Lossless extract, use ffprobe to identify audio stream type
|
||||
ffmpeg -i input-video.avi -vn -acodec copy output-audio.aac
|
||||
Remove audio from video file
|
||||
ffmpeg -i in.mp4 -an out.mp4
|
||||
Nvidia hardware encoding
|
||||
|
@ -724,7 +719,6 @@ Runit logging:
|
|||
runsv
|
||||
* if <service>/log exists, redirects service's stdout to logger's stdin
|
||||
* by default, runsv's stderr, stdout (and stdin?) are redirected to /dev/console
|
||||
|
||||
Android:
|
||||
Uncompress android .ab backup files:
|
||||
# https://stackoverflow.com/questions/18533567/how-to-extract-or-unpack-an-ab-file-android-backup-file
|
||||
|
@ -1151,9 +1145,6 @@ cURL cheatsheet:
|
|||
curl -v <URL>
|
||||
Follow redirects:
|
||||
curl -L <URL>
|
||||
Debug HTTP request response times:
|
||||
# https://susam.in/maze/timing-with-curl.html
|
||||
curl -L -w "time_namelookup: %{time_namelookup}\ntime_connect: %{time_connect}\ntime_appconnect: %{time_appconnect}\ntime_pretransfer: %{time_pretransfer}\ntime_redirect: %{time_redirect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n" https://example.com/
|
||||
|
||||
GPG:
|
||||
Renew expired GPG public keys:
|
||||
|
@ -1241,10 +1232,3 @@ Flash BIOS using CH341A and SOP8 clip:
|
|||
cmp backup1.bin backup2.bin
|
||||
Flashing firmware:
|
||||
sudo flashrom --programmer ch341a_spi -w <new_firmware.bin>
|
||||
|
||||
Fix chromium microphone autogain (qutebrowser):
|
||||
# Add this script to greasemonkey:
|
||||
# https://github.com/joeywatts/disable-autogain-control-extension/blob/master/disableAutogain.js
|
||||
|
||||
# https://github.com/qutebrowser/qutebrowser/discussions/6628
|
||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=435112
|
||||
|
|
Loading…
Reference in a new issue