上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: # 获取域名过期时间脚本 cat /etc/zabbix/scripts/base/check-http-expire.sh #!/bin/bash host=$1 #end_date=`whois -H $host|grep "Registry Expiry Date"|awk '{print $ 阅读全文
posted @ 2024-06-04 15:33 Hello_worlds 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Apr 24 17:49:44 <hostname> kernel: usb 1-3: new low-speed USB device number 4 using xhci_hcdApr 24 17:49:44 <hostname> kernel: usb 1-3: New USB device 阅读全文
posted @ 2024-04-26 18:50 Hello_worlds 阅读(1) 评论(0) 推荐(0) 编辑
摘要: scp -rl 1250000 a.dump /data/ 1250000 也就是限速为152.3MB/s 152.3MB * 8 = 1218.4Mbps 阅读全文
posted @ 2024-01-29 14:31 Hello_worlds 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 在用云厂商+idc机房的时候,网络环境比较复杂,会出现一些未知的网络上的波动造成一些影响。 我们通过监控可以去监控主机是不是可用的,网络如果出现问题可能会出现批量的告警。这个时候我们需要电话告警来升级,可以实现的方式有很多。下面我们通过zabbix的函数来实现 zabbix6.0.1的实现方式 su 阅读全文
posted @ 2023-12-05 19:39 Hello_worlds 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 一 基本需求 模拟实现一个ATM + 购物商城程序 额度 15000或自定义 实现购物商城,买东西加入 购物车,调用信用卡接口结账 可以提现,手续费5% 支持多账户登录 支持账户间转账 记录日常消费流水 提供还款接口 ATM记录操作日志 提供管理接口,包括添加账户、冻结账户等。。。 用户认证用装饰器 阅读全文
posted @ 2023-06-20 16:03 Hello_worlds 阅读(7) 评论(0) 推荐(0) 编辑
摘要: import pygame import random # 初始化 pygame.init() # 游戏界面宽高和方块大小 WINDOW_WIDTH = 800 WINDOW_HEIGHT = 1080 CELL_SIZE = 20 # 颜色定义 WHITE = (255, 255, 255) BL 阅读全文
posted @ 2023-04-11 17:29 Hello_worlds 阅读(46) 评论(0) 推荐(0) 编辑
摘要: [root@es ~]# cat /data/elasticsearch-6.8.8/config/elasticsearch.yml cluster.name: es_user node.name: es-user01 path.data: /data/elasticsearch_data pat 阅读全文
posted @ 2023-03-14 11:43 Hello_worlds 阅读(25) 评论(0) 推荐(0) 编辑
摘要: # Python version:3.6.5 # Python version:Python 3.6.5import hashlibimport urllibfrom urllib.parse import urlparseimport datetimeimport requestsimport j 阅读全文
posted @ 2023-03-03 17:13 Hello_worlds 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 1、如果接企业微信请参考下面的文章 https://www.txisfine.cn/archives/9c078bb7.html 感谢上述文章的作者提供的思路 ChatGPT 是最近很火的 AI 智能机器人程序,2 个月活跃用户突破 1 亿,它能够通过学习和理解人类的语言来进行对话,还能根据聊天的上 阅读全文
posted @ 2023-02-22 17:29 Hello_worlds 阅读(1048) 评论(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 阅读(95) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页