摘要: 1:命令行方式安装失败 在之前我想采用晚上比较普遍的命令行形式,但是一直失败,所以打算手搓一个环境 2:离线安装make命令 从官网下载 make.exe Make for Windows (官网首页:https://www.gnu.org/software/make/) 下载地址:https:// 阅读全文
posted @ 2024-03-12 17:25 青砖黛瓦 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 一、Go 开发环境搭建 暂无 二、Go 基础知识 1、Go内置关键字(25个均为小写) break default func interface select case defer go map struct chan else goto package switch const fallthrou 阅读全文
posted @ 2024-02-22 11:19 青砖黛瓦 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 一:influxDB下载或安装 1、安装 (1)从官网下载rpm格式的安装包 或者 wget https://dl.influxdata.com/influxdb/releases/influxdb-1.5.3.x86_64.rpm 在线下载安装包 (2)在rpm文件所在的文件夹下执行 sudo y 阅读全文
posted @ 2024-01-25 13:56 青砖黛瓦 阅读(96) 评论(0) 推荐(0) 编辑
摘要: ##数组 ###1:遍历数组删除其中元素 ``` list.forEach((item , index)=>{ if(item.status == 2){//0:正常、2:已废弃、1:盘点 list.splice(index, 1) } }) ``` ##对象 ###1:清空对象属性值 ``` Ob 阅读全文
posted @ 2023-06-25 11:21 青砖黛瓦 阅读(26) 评论(0) 推荐(0) 编辑
摘要: ##git代码拉取时常遇错误处理 ###1. 服务器SSL证书未经过第三方认证错误 git输入: fatal: unable to access 'https://github.com/MMF-FE/svgicon.git/': OpenSSL SSL_read: Connection was ab 阅读全文
posted @ 2023-02-01 09:04 青砖黛瓦 阅读(67) 评论(0) 推荐(0) 编辑
摘要: firewall-cmd --zone=public --add-port=5672/tcp --permanent firewall-cmd --reload firewall-cmd --zone=public --list-ports 阅读全文
posted @ 2022-10-20 17:27 青砖黛瓦 阅读(23) 评论(0) 推荐(0) 编辑
摘要: ##在javascript中判断字符串中是否包含指定字符有多种方法。 ###1、使用indexOf() indexOf()返回某个指定的字符串值在字符串中首次出现的位置。 如果要检索的字符串值没有出现,则该方法返回 -1。 var str = "欢迎来到这里!"; console.info(str. 阅读全文
posted @ 2022-10-19 11:09 青砖黛瓦 阅读(3619) 评论(0) 推荐(0) 编辑
摘要: 1:下载 到需要下载的文件所在的目录输入命令: pwd 得到 /usr/local/nginx/conf 同样是在文件所在的文件夹下,输入命令:sz +第一步得到的文件地址: sz /usr/local/nginx/conf/nginx.conf 2:linux下查看nginx版本 根目录下执行:c 阅读全文
posted @ 2022-09-02 11:29 青砖黛瓦 阅读(7074) 评论(0) 推荐(0) 编辑
摘要: ##el-cascader级联选择器通过tooltip显示全路径 ####最终效果: <template> <div id="root"> <el-tooltip :content="showContent" :disabled="!showContent"> <el-cascader ref="p 阅读全文
posted @ 2022-08-25 10:22 青砖黛瓦 阅读(556) 评论(0) 推荐(0) 编辑
摘要: javaScript数组方法: 1:获取数组的最后一个元素: js内置方法:pop() 方法用于删除并返回数组的最后一个元素,注意这里在获取了数组的最后一个元素的同时也将原数组的最后一个元素给删除了。如果数组已经为空,则该方法不改变数组,并返回 undefined 值; 根据length方法获取:a 阅读全文
posted @ 2022-08-11 10:33 青砖黛瓦 阅读(28) 评论(0) 推荐(0) 编辑