Skip to content

13271473920/tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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. Max retries exceeded with url: /houtianze/bypy/master/update/update.json
pip install pyopenssl

About

小工具集合

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.7%
  • Shell 7.3%