1、js删除某个数组的特定对象 var arrs = [{key:'write',name:'write',value:'写'},{key:'read',name:'write',value:'读'}]; removeArray(arrs,'write'); function removeArray ...
分类:
编程语言 时间:
2021-01-27 13:37:17
阅读次数:
0
1 脚本 from locust import HttpLocust, TaskSet, task, between # 新建任务集 class TestLogin(TaskSet): @task def req_index(self): data = { "username": "admin", ...
分类:
其他好文 时间:
2021-01-27 13:25:57
阅读次数:
0
仅供自己学习 题目: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a ...
分类:
其他好文 时间:
2021-01-27 13:14:49
阅读次数:
0
Java注解Annotation 元注解 @Retention 保留期,当@Retention应用到一个注解上,说明了这个注解的存活时间。 RetentionPolicy.SOURCE 注解只在源码阶段保留,在编译器进行编译时它将被丢弃忽视 RetentionPolicy.CLASS 注解只被保留到 ...
分类:
编程语言 时间:
2021-01-26 12:44:39
阅读次数:
0
一、nfs服务器配置 $ yum install -y nfs-utils $ mkdir -p /usr/local/nacos/nfs-share $ mkdir -p /usr/local/nacos/mysql-slave $ mkdir -p /usr/local/nacos/mysql- ...
分类:
Web程序 时间:
2021-01-26 12:42:06
阅读次数:
0
题目描述 在O(n log n)的时间内使用常数级空间复杂度对链表进行排序。 示例1 输入 复制 {30,20,40} 返回值 复制 {20,30,40} 说明:本题目包含复杂数据结构ListNode,点此查看相关信息 #define null NULL #define Node ListNode ...
分类:
编程语言 时间:
2021-01-26 12:21:33
阅读次数:
0
1、MySQL配置: jdbc:mysql://<主机名>:<端口号(默认3306)>/<数据库名> url=jdbc:mysql://localhost:3306/testdb?useUnicode=true&characterEncoding=utf-8 driver=com.mysql.jdb ...
分类:
数据库 时间:
2021-01-26 12:21:17
阅读次数:
0
登陆MySQL [root@localhost mysql]# /usr/local/mysql/bin/mysql -uroot //未设置密码 [root@localhost mysql]# /usr/local/mysql/bin/mysql -uroot -p //输入密码 mysqladm ...
分类:
数据库 时间:
2021-01-26 11:55:04
阅读次数:
0
参考官网流程: https://golang.google.cn/doc/install wget https://golang.google.cn/dl/go1.15.7.linux-amd64.tar.gz tar -C /usr/local -zxvf go1.15.7.linux-amd64 ...
分类:
系统相关 时间:
2021-01-26 11:52:20
阅读次数:
0
解决CentOS启动nginx出现nginx: [emerg] open() "/var/run/nginx/nginx.pid" failed (2: No such file or director) 问题: 1.进入sbin:cd /usr/local/nginx/sbin/ 2.启动ngin ...
分类:
其他好文 时间:
2021-01-26 11:49:10
阅读次数:
0