Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

alanhou/tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation

小工具集合

1.百度网盘上传(baidu.py)

python baidu.py file1 file2...

或上传备份

python baidu.py

已添加

MySQL备份上传

定时备份上传:

chmod +x baidu.py
# crontab -e
0 2 * * * /usr/bin/python /path/to/baidu.py
  1. Nginx日志切割脚本示例文件: nginxLogRotate.sh
# vi /etc/crontab或 crontab -e
0 0 * * * root /usr/local/nginx/logs/nginxLogRotate.sh
  1. fake_useragent_0.1.11.json

https://fake-useragent.herokuapp.com/browsers/0.1.11 文件一个备份

  1. 数据库直转Protobuf 文件
cd sql2db
go mod tidy
go run main.go > xxx.proto

常见问题

  1. Max retries exceeded with url: /houtianze/bypy/master/update/update.json
pip install pyopenssl

About

小工具集合

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /