上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: 1、如果接企业微信请参考下面的文章 https://www.txisfine.cn/archives/9c078bb7.html 感谢上述文章的作者提供的思路 ChatGPT 是最近很火的 AI 智能机器人程序,2 个月活跃用户突破 1 亿,它能够通过学习和理解人类的语言来进行对话,还能根据聊天的上 阅读全文
posted @ 2023-02-22 17:29 Hello_worlds 阅读(1305) 评论(2) 推荐(0)
摘要: import datetime import time # 获取当前时间(2023-02-16 16:41:36) now_date = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S') # 将当前时间转换为秒级时间戳(1676536896. 阅读全文
posted @ 2023-02-16 17:19 Hello_worlds 阅读(131) 评论(0) 推荐(0)
摘要: for i in range(20):# 这里循环(0-20) if i <= 9: print("❤ " * i) else: print("❤ " * (20 - i)) 阅读全文
posted @ 2023-02-06 14:13 Hello_worlds 阅读(23) 评论(0) 推荐(0)
摘要: shell cat 99.sh #!/bin/bash for i in `seq 9` do for j in `seq 1 $i` do echo -en "$i*$j=$(($i*$j))\t" #-n:默认echo会在每行结尾加一个回车的换行符,-n放在这里是为了取消这个换行符 #-e:放在 阅读全文
posted @ 2023-02-03 16:14 Hello_worlds 阅读(306) 评论(0) 推荐(0)
摘要: 1、yum源报错 # 具体报错信息 failure: repodata/4bb73bd0742c638c3cd1e73a5f3dc8838c7b0d693c9f50b7ed8266c3e83308d3-filelists.sqlite.bz2 from zabbix: [Errno 256] No 阅读全文
posted @ 2023-01-28 16:20 Hello_worlds 阅读(1866) 评论(0) 推荐(0)
摘要: cat test.sh # 定义一个空的数组 array=() ping -w 1 192.168.1.1 > /dev/null 2>&1 array+=($?) ping -w 1 192.168.1.1 > /dev/null 2>&1 array+=($?) ping -w 1 127.0. 阅读全文
posted @ 2023-01-11 14:54 Hello_worlds 阅读(21) 评论(0) 推荐(0)
摘要: iptables -I INPUT -p tcp --dport 8888 -j DROPiptables -I INPUT -s 10.9.145.101 -p tcp --dport 8888 -j ACCEPTservice iptables save 参考文章: https://www.cn 阅读全文
posted @ 2023-01-03 16:49 Hello_worlds 阅读(1026) 评论(0) 推荐(0)
摘要: nodelocaldns pod 中的 /etc/resolv.conf 虽然读取的是 宿主机的/etc/resolv.conf,但是不是实时同步更新的。可能同步更新会有延迟 所以如果 /etc/resolv.conf 文件中的内容 [root@master-01 kubernetes]# kube 阅读全文
posted @ 2022-12-08 17:57 Hello_worlds 阅读(313) 评论(0) 推荐(0)
摘要: 此方法支持以下 kubeadm版本 v1.22到v1.25 kubeadm 默认证书为一年,一年过期后,会导致 api service 不可用,使用过程中会出现:x509: certificate has expired or is not yet valid. 001、获取源码 访问:https: 阅读全文
posted @ 2022-12-07 16:21 Hello_worlds 阅读(1108) 评论(0) 推荐(0)
摘要: 001、Kafka简介 Apache Kafka最早是由Linkedin公司开发,后来捐献给了Apack基金会。 Kafka被官方定义为分布式流式处理平台,因为具备高吞吐、可持久化、可水平扩展等特性而被广泛使用。目前Kafka具体如下功能: 消息队列,Kafka具有系统解耦、流量削峰、缓冲、异步通信 阅读全文
posted @ 2022-10-12 21:59 Hello_worlds 阅读(2372) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页