Skip to content

Instantly share code, notes, and snippets.

@Moekka
Moekka / 使用帮助
Created July 11, 2020 05:00
[fclone] fclone usage
安装方式:
下载解压文件至 ---> /usr/bin/ 目录
给予执行权限
chmod +x /usr/bin/fclone
使用方式与 gclone / rclone 相同
满足拥有2000有效可用SA请尝试以下 flag
flag 1)::低配VPS推荐
--drive-server-side-across-configs --stats=1s --stats-one-line -vP --checkers=128 --transfers=128 --drive-pacer-min-sleep=1ms --check-first
@Moekka
Moekka / copy_gd_to_od.sh
Last active August 22, 2020 07:16
[rclone] rclone命令使用帮助
gclone copy GD-TK:{} Onedrive-moe:/中转站 -vvP --order-by name --size-only --onedrive-chunk-size=250M
@Moekka
Moekka / 多列按钮栏.py
Last active May 5, 2020 08:08
[TelegramBot-Python] telgram bot代码片段 #telegram
def build_menu(self, buttons,
n_cols,
header_buttons=None,
footer_buttons=None):
menu = [buttons[i:i + n_cols] for i in range(0, len(buttons), n_cols)]
if header_buttons:
menu.insert(0, [header_buttons])
if footer_buttons:
menu.append([footer_buttons])
return menu
@Moekka
Moekka / 删除文件.bat
Last active April 23, 2020 02:26
[windows命令] windows下常用命令 #windows
强制删除文件,必须有文件后缀名
---
del /f/s/q [file]
@Moekka
Moekka / requirements.py
Last active May 8, 2020 15:54
[python] python常见使用 #python
install
---
pip install -r requirements.txt
---
generate
---
pip install pipreqs
pipreqs . --encoding=utf8 --force