上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 要获取最近的聊天消息,你可以向Telegram Bot API发送GET请求,使用以下URL: https://api.telegram.org/bot<YourBotToken>/getUpdates 请将<YourBotToken>替换为你的机器人的API令牌。这个URL将返回包含最新消息更新的 阅读全文
posted @ 2024-03-05 17:57 _迷途 阅读(1408) 评论(0) 推荐(0)
摘要: 代码 # coding:utf-8 import http.server import json import psutil import socket import platform import multiprocessing import os # 获取网络接口信息 def get_netwo 阅读全文
posted @ 2024-02-22 00:24 _迷途 阅读(439) 评论(0) 推荐(0)
摘要: 先下载依赖 pip3 install psutil 代码 import psutil # 获取 CPU 温度 def get_cpu_temperature(): try: temperatures = psutil.sensors_temperatures() if 'coretemp' in t 阅读全文
posted @ 2024-02-08 23:27 _迷途 阅读(2539) 评论(0) 推荐(0)
摘要: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; FLUSH PRIVILEGES; 允许MySQL账户远程访问的优点和缺点如下: 优点: 远程管理: 允许远程访问意味着管理员可以从任何 阅读全文
posted @ 2024-02-04 13:52 _迷途 阅读(1172) 评论(0) 推荐(0)
摘要: https://terryz.gitee.io/vue/#/selectpage <v-selectpage data="/api/intrusionevent/lists" v-model="temp.event_id" key-field="id" show-field="description 阅读全文
posted @ 2024-01-18 16:32 _迷途 阅读(399) 评论(0) 推荐(0)
摘要: 以下是我在项目中常用的.gitignore文件: # 目录 /.idea/ /.vscode/ /vendor/ /runtime/ /thinkphp/ /public/uploads/ /public/upload/ /__MACOSX/ public/.well-known/ # 文件 Thu 阅读全文
posted @ 2024-01-03 15:27 _迷途 阅读(329) 评论(0) 推荐(0)
摘要: http://music.163.com/api/song/media?id=1417093533 阅读全文
posted @ 2023-06-19 17:02 _迷途 阅读(98) 评论(0) 推荐(0)
摘要: import { createRouter, createWebHistory } from 'vue-router' import Home from '@/view/Home.vue'; import Login from '@/view/Login.vue' const routes = [ 阅读全文
posted @ 2023-04-27 22:36 _迷途 阅读(186) 评论(0) 推荐(0)
摘要: import asyncio import datetime import time import aiohttp from aiohttp.client_exceptions import ClientConnectorError # 替换链接地址list urls = [ ] async def 阅读全文
posted @ 2023-04-17 16:44 _迷途 阅读(248) 评论(0) 推荐(0)
摘要: ^(0|[1-9]\d*)(\.\d*[1-9])?$ 阅读全文
posted @ 2023-04-14 14:01 _迷途 阅读(12) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 8 下一页