This file contains hidden or 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
| " original version: https://www.vim.org/scripts/script.php?script_id=1528 | |
| " ********************************************************************************************* | |
| " comments.vim | |
| " ********************************************************************************************* | |
| " Description : Global Plugin to comment and un-comment different | |
| " source files in both normal and visual <Shift-V> mode | |
| " Last Change : 26th April, 2006 | |
| " Created By : Jasmeet Singh Anand <jasanand@hotmail.com> | |
| " Version : 2.2 | |
| " Usage : For VIM 6 - |
This file contains hidden or 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
| Linux: | |
| epub: Foliate # https://github.com/johnfactotum/foliate | |
| video: | |
| common: VLC | |
| anime: MPV # thanks for Anime4K project (https://github.com/bloc97/Anime4K) | |
| bt: Motrix # https://github.com/agalwood/Motrix | |
| picture: | |
| manager: digiKam # https://digikam.org/ | |
| process: darktable # https://www.darktable.org/ | |
| film_filter: Filmulator # https://filmulator.org/ |
This file contains hidden or 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
| # 550.163.01-2 for Debian 13 stable | |
| NV_DRIVER_VER=550.163.01-2 cat << EOF | xargs sudo apt install -y --allow-downgrades | |
| libcuda1=$NV_DRIVER_VER | |
| libnvidia-ptxjitcompiler1=$NV_DRIVER_VER | |
| libnvidia-pkcs11-openssl3=$NV_DRIVER_VER | |
| nvidia-smi=$NV_DRIVER_VER | |
| libnvidia-ml1=$NV_DRIVER_VER | |
| nvidia-driver=$NV_DRIVER_VER | |
| nvidia-driver-libs=$NV_DRIVER_VER | |
| libgl1-nvidia-glvnd-glx=$NV_DRIVER_VER |
This file contains hidden or 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
| function order() { | |
| args=("$@") | |
| args=("${args[@]:1}") | |
| if env|grep CONDA_PREFIX > /dev/null;then | |
| __LDP=$LD_LIBRARY_PATH:$CONDA_PREFIX | |
| fi | |
| LD_LIBRARY_PATH=$__LDP CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=$1 ${args[@]} | |
| } |
This file contains hidden or 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
| import matplotlib.pyplot as plt | |
| from matplotlib.patches import Circle, Ellipse, Rectangle | |
| # 定义颜色常量 | |
| RED = "#DE2910" | |
| YELLOW = "#FFD700" | |
| BLACK = "#111111" | |
| def draw_modern_ming_flag(): |
OlderNewer