上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 30 下一页
2023年5月19日
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>ECharts</title> <!-- 引入 echarts.js --> <script src="./echarts.min.js"></script> </head> <b 阅读全文
posted @ 2023-05-19 09:36 boye169 阅读(8) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>ECharts</title> <!-- 引入 echarts.js --> <script src="./sources/echarts/echarts.min.js"></sc 阅读全文
posted @ 2023-05-19 09:33 boye169 阅读(25) 评论(0) 推荐(0) 编辑
2023年5月16日
摘要: 下载&启动 【下载】 https://prometheus.io/download/ 【启动】 1. cd D:\Program Files\alertmanager-0.24.0.windows-amd64 2. 双击 alertmanager.exe 3.访问 http://localhost: 阅读全文
posted @ 2023-05-16 09:29 boye169 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 1、/api/v1/query(GET/POST) 即时查询,使用参数如下: - query=<查询语句> - time=<rfc3339 | unix_timestamp>时间戳,可选项 - timeout=<duration>: 超时时间,-query.timeout限制,可选项 若time不给 阅读全文
posted @ 2023-05-16 09:19 boye169 阅读(70) 评论(0) 推荐(0) 编辑
2023年5月12日
摘要: 1、导包import csv2、创建或打开文件,设置文件形式csvfile = open('文件名.csv',mode='w',newline='')3、设置列名headers = ['列名1','列名2','列名3',...]4、创建DictWriter对象 write = csv.DictWri 阅读全文
posted @ 2023-05-12 14:09 boye169 阅读(527) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8 import requests import json try: from urllib.parse import urlencode except: from urllib import urlencode session = requests.Session() de 阅读全文
posted @ 2023-05-12 11:31 boye169 阅读(10) 评论(0) 推荐(0) 编辑
2023年4月21日
摘要: SELECT UNIX_TIMESTAMP(); SELECT NOW(); SELECT DATE_FORMAT(NOW(),'%Y-%m-%d %H:%i:%s') AS TIME; select FROM_UNIXTIME(UNIX_TIMESTAMP(),'%Y-%m-%d %H:%i:%S 阅读全文
posted @ 2023-04-21 09:38 boye169 阅读(164) 评论(0) 推荐(0) 编辑
摘要: SELECT * FROM student; SELECT `name`,`subject`,`score`,(@i:=@i+1) AS '序号' FROM student,(SELECT @i:=0) AS itable; 阅读全文
posted @ 2023-04-21 09:31 boye169 阅读(23) 评论(0) 推荐(0) 编辑
2023年4月12日
摘要: MySQL字符串排序的很奇怪的问题,在数据里面定义的是varchar类型,实际存放的是Int类型的数据,按一下查询语句进行排序:将字段*1或者+0可以将MySQL字符串字段按数值排序 select * from table where 1 order by id+0 desc; 阅读全文
posted @ 2023-04-12 17:52 boye169 阅读(75) 评论(0) 推荐(0) 编辑
摘要: char(9) 表示水平制表符 (tab键 \t)char(10) 表示换行键 (\n)char(13) 表示回车键 (\r) UPDATE table_name SET column= REPLACE(column,CHAR(13),'');//将回车符号替换为空 UPDATE table_nam 阅读全文
posted @ 2023-04-12 16:41 boye169 阅读(329) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 30 下一页