上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 代码 # 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 _迷途 阅读(535) 评论(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 _迷途 阅读(2936) 评论(0) 推荐(0)
摘要: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; FLUSH PRIVILEGES; 允许MySQL账户远程访问的优点和缺点如下: 优点: 远程管理: 允许远程访问意味着管理员可以从任何 阅读全文
posted @ 2024-02-04 13:52 _迷途 阅读(1329) 评论(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 _迷途 阅读(461) 评论(0) 推荐(0)
摘要: 以下是我在项目中常用的.gitignore文件: # 目录 /.idea/ /.vscode/ /vendor/ /runtime/ /thinkphp/ /public/uploads/ /public/upload/ /__MACOSX/ public/.well-known/ # 文件 Thu 阅读全文
posted @ 2024-01-03 15:27 _迷途 阅读(380) 评论(0) 推荐(0)
摘要: http://music.163.com/api/song/media?id=1417093533 阅读全文
posted @ 2023-06-19 17:02 _迷途 阅读(145) 评论(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 _迷途 阅读(214) 评论(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 _迷途 阅读(286) 评论(0) 推荐(0)
摘要: ^(0|[1-9]\d*)(\.\d*[1-9])?$ 阅读全文
posted @ 2023-04-14 14:01 _迷途 阅读(25) 评论(0) 推荐(0)
摘要: putenv('HTTPS_PROXY=127.0.0.1:10809'); putenv('HTTP_PROXY=127.0.0.1:10809'); 阅读全文
posted @ 2023-04-11 16:46 _迷途 阅读(44) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页