上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: qq聊天窗口需要打开 import win32gui import win32con import win32clipboard class CSendQQMsg(): def __init__(self, friendName, msg): self.friendName = friendName 阅读全文
posted @ 2021-06-29 17:18 睁yan-ii 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 参照地址 https://mp.weixin.qq.com/s/7HbKSXl2kJJH5DecSYXYFA import os import requests from bs4 import BeautifulSoup # 声明请求头 headers = { 'User-Agent': 'Mozi 阅读全文
posted @ 2021-06-24 18:43 睁yan-ii 阅读(364) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_36938307/article/details/105092191 docker run -it --rm --name=centos \ > -v /var/run/docker.sock:/var/run/docker.sock \ > 阅读全文
posted @ 2021-06-22 16:45 睁yan-ii 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 1,你要先强制退出 :q! 2,退出后在执行 :sudo !! 3,再次编辑你要编辑的内容 vim ... 4,再保存就可以了 :wq! 阅读全文
posted @ 2021-06-22 16:43 睁yan-ii 阅读(690) 评论(0) 推荐(0) 编辑
摘要: 1 docker image pull delron/fastdfs 2 mkdir -p /root/app/fdfs/tracker 本地创建文件存储 mkdir -p /root/app/fdfs/storage 3 运行容器 更改为自己的ip # tracker tracker容器(跟踪服务 阅读全文
posted @ 2021-06-10 15:24 睁yan-ii 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 几个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 阅读全文
posted @ 2021-06-04 16:55 睁yan-ii 阅读(2051) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2021-06-04 11:16 睁yan-ii 阅读(101) 评论(1) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2021-06-03 11:50 睁yan-ii 阅读(45) 评论(0) 推荐(0) 编辑
摘要: img = base64.b64decode(value)fh = open("a.jpg","wb")fh.write(img)fh.close() 阅读全文
posted @ 2021-06-01 15:41 睁yan-ii 阅读(298) 评论(0) 推荐(0) 编辑
摘要: curl myip.ipip.net 查询公网出口 liuzhizhi@lzz-rmbp|logs # curl ipinfo.io{ "ip": "114.110.1.38", "hostname": "No Hostname", "city": "Beijing", "region": "Bei 阅读全文
posted @ 2021-06-01 15:37 睁yan-ii 阅读(81) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页