上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 转载参考:https://blog.csdn.net/signjing/article/details/69357769 总结head -n k=head -n +k,tail -n k=tail -n -k,可以简单记忆为头正尾负; 无论k前面的符号怎样,tail都是输出尾部内容,head都是输出 阅读全文
posted @ 2022-12-03 20:34 JeromePowell 阅读(142) 评论(0) 推荐(0) 编辑
摘要: yum install -y redhat-lsb # lsb_release -r Release: 7.9.2009 # lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarc 阅读全文
posted @ 2022-12-03 20:30 JeromePowell 阅读(17) 评论(0) 推荐(0) 编辑
摘要: Traceback (most recent call last): File "log2user-real.py", line 49, in <module> db = create_engine("mysql+pymysql://root:{m_pass}@10.157.2.25:8306/lo 阅读全文
posted @ 2022-12-03 16:06 JeromePowell 阅读(386) 评论(0) 推荐(0) 编辑
摘要: # yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repoTraceback (most recent call last): File "/usr/bin/yum-config-ma 阅读全文
posted @ 2022-12-02 04:17 JeromePowell 阅读(598) 评论(0) 推荐(0) 编辑
摘要: Error: [oh-my-zsh] Can't update: not a git repository. ➜ git pullxcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), mi 阅读全文
posted @ 2022-10-26 10:46 JeromePowell 阅读(262) 评论(0) 推荐(0) 编辑
摘要: python3 Error File "/home/xxx/.local/lib/python3.10/site-packages/pymongo/topology_description.py", line 155, in check_compatible raise ConfigurationE 阅读全文
posted @ 2022-09-04 12:28 JeromePowell 阅读(1153) 评论(0) 推荐(0) 编辑
摘要: 1、安装 apt install wireguard 2、开启ipv4流量转发并使其生效 echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf sysctl -p 3、配置wireguard服务端 3.1、生成服务器和客户端密钥对 wg genkey 阅读全文
posted @ 2022-08-29 20:30 JeromePowell 阅读(1632) 评论(0) 推荐(0) 编辑
摘要: ➜ Desktop brew install -s wireguard-tools ==> Downloading https://ghcr.io/v2/homebrew/core/bash/manifests/5.1.16 ##################################### 阅读全文
posted @ 2022-08-29 19:55 JeromePowell 阅读(809) 评论(0) 推荐(0) 编辑
摘要: brew安装软件失败 具体路径随着安装位置的不同而不同,一般为 /opt/homebrew/Library/Taps/homebrew/homebrew-cask /opt/homebrew/Library/Taps/homebrew/homebrew-core /usr/local/Homebre 阅读全文
posted @ 2022-08-29 19:41 JeromePowell 阅读(1418) 评论(0) 推荐(0) 编辑
摘要: s = '美丽新世界' s.decode('utf-8')[0:1].encode('utf-8') # 美 # 先转换成unicode,再取子串,然后转换成utf-8 阅读全文
posted @ 2022-08-24 01:04 JeromePowell 阅读(318) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页