-vf scale=960:-1
: scale the resolution to960*a
(a is calculated automatically)-b:v
: set video bitrate in bps-r
: framerate in FPS-b:a
: set audio bitrate in bps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ===== Basic | |
" do not make vim compatible with vi. | |
set nocompatible | |
" Disable the mouse. | |
set mouse= | |
set ttymouse= | |
" use utf-8 encoding. | |
set encoding=utf-8 | |
" use 256-bit colors. |
The example CMakeLists.txt
in
PCL’s doc
is a bit outdated.
Commands like include_directories
, link_directories
, add_definitions
should be replaced or avoid.
Instead, in modern CMake we should use target-specific commands like target_include_directories
, target_link_libraries
.
See also this fandom vim wiki page.
:s/find/replace/
, only search in current line, and replace the first matched pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Description: | |
;; press Meta + Enter to open gnome-terminal in WSL | |
;; requirement: | |
;; - vcxsrv | |
;; - wsl | |
;; - gnome-termial (in wsl) | |
#Enter:: | |
;; if vcxsrv not exist, start it | |
Process, Exist, vcxsrv.exe | |
if (not ErrorLevel) { |
See this nvidia page for details.
----------------------- -----------------------------