上一页 1 2 3 4 5 6 7 ··· 38 下一页
摘要: docker:指定root用户进入容器 阅读全文
posted @ 2023-01-30 18:41 つつつつつつ 阅读(138) 评论(0) 推荐(0) 编辑
摘要: flask简介及入门 https://blog.csdn.net/qq_19640771/article/details/112652850 阅读全文
posted @ 2023-01-18 01:36 つつつつつつ 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 最常见的方式就是为字段设置主键或唯一索引,当插入重复数据时,抛出错误,程序终止,但这会给后续处理带来麻烦,因此需要对插入语句做特殊处理,尽量避开或忽略异常,下面我简单介绍一下,感兴趣的朋友可以尝试一下: 这里为了方便演示,我新建了一个user测试表,主要有id,username,sex,addres 阅读全文
posted @ 2023-01-11 14:44 つつつつつつ 阅读(110) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/20934896 阅读全文
posted @ 2023-01-08 05:04 つつつつつつ 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 对单个字符串编码 from urllib.parse import quote, unquote # 编码 print(quote("美国")) # %E7%BE%8E%E5%9B%BD # 解码 print(unquote("%E7%BE%8E%E5%9B%BD")) # 美国 对key-valu 阅读全文
posted @ 2023-01-05 10:14 つつつつつつ 阅读(206) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Crezfikbd/article/details/123481158 阅读全文
posted @ 2023-01-03 14:52 つつつつつつ 阅读(110) 评论(0) 推荐(0) 编辑
摘要: pip3 install -U --force-reinstall --no-binary :all: gevent 附上参数说明 -U, --upgrade Upgrade all specified packages to the newest available version. The ha 阅读全文
posted @ 2022-12-29 16:34 つつつつつつ 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 有时临时在 docker swarm 集群上增加节点(node3),过后需要删除节点 # 获取 node 信息 docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION j52o5frhmphiksqz0 阅读全文
posted @ 2022-12-16 10:43 つつつつつつ 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 安装ping apt install iputils-ping yum install iputils 关闭开启ping 关闭 ping 方法一:在root权限下,直接修改/proc/sys/net/ipv4/icmp_echo_ignore_all 文件 关闭 echo 1 > /proc/sys 阅读全文
posted @ 2022-11-03 10:43 つつつつつつ 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 当具有多个私钥时,git clone 指定私钥克隆 git clone remote_url.git --config core.sshCommand="ssh -i ~/.ssh/id_rsa" 阅读全文
posted @ 2022-10-19 00:39 つつつつつつ 阅读(661) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 38 下一页