To-Die List
cores:
- clash 2023.11.3
- Clash.Meta 2023.11.3
GUIs:
- cfw 2023.11.2
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/ |
" 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 - |
To-Die List
cores:
GUIs:
""" | |
for Android Termux images concat vertically usage | |
requirements.txt: | |
pillow | |
typer | |
mannul installation | |
typer: pip | |
pillow: |
import requests as reqs | |
from PIL import Image | |
urls = [ # your images in group | |
[ | |
"", "", "" | |
], | |
[], | |
[] | |
] |
#!/bin/env bash | |
# | |
# lework | |
# Os repo mirror site speed test. | |
###################################################################################################### | |
# environment configuration | |
###################################################################################################### |
# Set-ExecutionPolicy RemoteSigned # enable script exec | |
#------------------------ Import BEGIN ---------------------------# | |
Import-Module PSReadLine # Install-Module -Name PSReadLine | |
# to know more: https://github.com/PowerShell/PSReadLine/blob/master/README.md | |
#------------------------------- Set Hot-keys BEGIN ------------------------------- | |
# 设置 Tab 键补全 | |
# Set-PSReadlineKeyHandler -Key Tab -Function Complete | |
# 命令行使用 Emacs 模式 (与Bash一致) | |
Set-PSReadLineOption -EditMode Emacs |
#!/bin/bash | |
# need parameters check | |
sudo useradd --create-home --groups sudo --shell /bin/bash $1 | |
# useradd -m -G sudo -s /bin/bash $1 | |
echo -e -n "$2\n$2" | passwd $1 |
alias Docker="sudo docker" | |
# rm <none> images which is generated by error when building | |
Docker rmi $(Docker images|grep none|awk '{print $3}'|xargs) | |
# remove all containers | |
Docker rm $(Docker ps -aq|xargs) |
#!/bin/bash | |
set -e | |
fn=sources.list | |
sfn=/etc/apt/$fn | |
ali="mirrors.aliyun.com" | |
ustc="mirrors.ustc.edu.cn" | |
ts="mirrors.tuna.tsinghua.edu.cn" | |
raw="$(awk -F / '{print $3}' /etc/apt/sources.list.raw |grep -v "^$"|head -n 1)" | |
cp $sfn ./$fn | |
sudo mv $sfn $sfn.raw |