06 2021 档案
摘要:qq聊天窗口需要打开 import win32gui import win32con import win32clipboard class CSendQQMsg(): def __init__(self, friendName, msg): self.friendName = friendName
阅读全文
摘要:参照地址 https://mp.weixin.qq.com/s/7HbKSXl2kJJH5DecSYXYFA import os import requests from bs4 import BeautifulSoup # 声明请求头 headers = { 'User-Agent': 'Mozi
阅读全文
摘要:https://blog.csdn.net/weixin_36938307/article/details/105092191 docker run -it --rm --name=centos \ > -v /var/run/docker.sock:/var/run/docker.sock \ >
阅读全文
摘要:1,你要先强制退出 :q! 2,退出后在执行 :sudo !! 3,再次编辑你要编辑的内容 vim ... 4,再保存就可以了 :wq!
阅读全文
摘要:1 docker image pull delron/fastdfs 2 mkdir -p /root/app/fdfs/tracker 本地创建文件存储 mkdir -p /root/app/fdfs/storage 3 运行容器 更改为自己的ip # tracker tracker容器(跟踪服务
阅读全文
摘要:几个cpu more /proc/cpuinfo |grep "physical id"|uniq|wc -l 内存使用情况? free -h 每个cpu是几核(假设cpu配置相同) more /proc/cpuinfo |grep "physical id"|grep "0"|wc -l cat
阅读全文
摘要:1. git init 2. git add -A 3.git commit -m['初始化'] 4 git remote add origin https://gitee.com/youyisl/myvue.git 5 git push origin master 会出现以下错误 然后 执行 gi
阅读全文
摘要:import requests def download_file(url, path): with requests.get(url, stream=True) as r: chunk_size = 1024 content_size = int(r.headers['content-length
阅读全文
摘要:img = base64.b64decode(value)fh = open("a.jpg","wb")fh.write(img)fh.close()
阅读全文
摘要:curl myip.ipip.net 查询公网出口 liuzhizhi@lzz-rmbp|logs # curl ipinfo.io{ "ip": "114.110.1.38", "hostname": "No Hostname", "city": "Beijing", "region": "Bei
阅读全文