摘要: <template> <div id="app"> <h1>微信授权登陆</h1> <div> <div> <span>手机号</span>&nbsp;&nbsp; <input type="number" :value="account" placeholder="请输入手机号"> </div> 阅读全文
posted @ 2023-03-28 12:08 天葬 阅读(1478) 评论(0) 推荐(0) 编辑
摘要: public static double[] toHSV(int r, int g, int b) { Color color = new Color(r, g, b); float[] hsv = Color.RGBtoHSB(color.getRed(), color.getGreen(), c 阅读全文
posted @ 2023-03-23 13:41 天葬 阅读(78) 评论(0) 推荐(0) 编辑
摘要: function rgb2hsv (r,g,b) { var computedH = 0; var computedS = 0; var computedV = 0; //remove spaces from input RGB values, convert to int var r = pars 阅读全文
posted @ 2023-03-23 13:37 天葬 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1、获取地址栏参数 URL URLSearchParams const url = new URL("https://www.baidu.com?_t=123&search=今天&n=1&limit=10"); const params =new URLSearchParams(url.search 阅读全文
posted @ 2023-03-17 16:19 天葬 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 源码 web开发指南 <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" 阅读全文
posted @ 2023-03-16 10:33 天葬 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 脚本 脚本 #!/bin/bash # 获取要监控的本地服务器IP地址 IP=`/usr/sbin/ifconfig | grep inet | grep -vE 'inet6|127.0.0.1' | awk '{print $2}'` # 获取cpu总核数 cpu_num=`grep -c "m 阅读全文
posted @ 2023-02-16 09:22 天葬 阅读(126) 评论(0) 推荐(0) 编辑
摘要: GROK 在线工具 在线英文版地址 http://grokconstructor.appspot.com/ 中文翻译版 GitHub https://github.com/systemmin/GrokConstructor/blob/develop/README.zh_CN.md 软件下载地址 ht 阅读全文
posted @ 2023-02-08 17:37 天葬 阅读(955) 评论(0) 推荐(0) 编辑
摘要: NFS共享文件 服务端 安装NFS [root@localhost www] yum -y install nfs-utils rpcbind 创建需要共享的文件夹share [root@localhost /] mkdir -p /www/share 编辑 /etc/exports 文件,增加以下 阅读全文
posted @ 2022-10-26 08:46 天葬 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 搭建ES集群环境 准备 三台服务器 其中一台为主机节点 ES安装自行上传到各个节点home路径下并解压重命名 集群名称:cluster-big-data同一个集群多个节点,集群名称必须相同,节点名称不同。 用户账号:es_user | 节点 | ip地址 | 服务端口 | 传输端口 | 内存(GB) 阅读全文
posted @ 2022-10-26 08:40 天葬 阅读(121) 评论(0) 推荐(0) 编辑
摘要: GROK 表达式 常用表达式 标识:USERNAME 或 USER 正则:[a-zA-Z0-9._-]+ 名称:用户名 描述:由数字、大小写及特殊字符(._-)组成的字符串 例子:1234、Bob、Alex.Wong 标识:EMAILLOCALPART 正则:[a-zA-Z][a-zA-Z0-9_. 阅读全文
posted @ 2022-10-26 08:33 天葬 阅读(508) 评论(0) 推荐(0) 编辑