后端 第19页
同一台电脑为不同Github账号或Gitlab账号配置多个ssh keys-Ddmit

同一台电脑为不同Github账号或Gitlab账号配置多个ssh keys

假设你有多个github和gitlab账号,如果想让它们在同一台电脑上正常使用,那么需要进行一定的配置(这里指你使用的ssh协议,使用https协议的可忽略此文),具体的配置就是在你的用户目录下的.ssh目...
ddmit的头像-DdmitDdmit2年前
024930
CENTOS搭建FTP服务器530 Login incorrect错误解决-Ddmit

CENTOS搭建FTP服务器530 Login incorrect错误解决

环境 CentOS Linux release 7.6.1810 (Core); vsftpd: version 3.0.2; 解决方式 [michael@michael vsftpd]$ sudo vi /etc/pam.d/vsftpd 注释掉auth required pam_shells.so行,如下: ession ...
ddmit的头像-DdmitDdmit6年前
024990
layui框架layer.open()如何传参及如何设置回调函数-Ddmit

layui框架layer.open()如何传参及如何设置回调函数

layer.open()打开新窗口后如何传参?如何设置关闭窗口后的回调函数? var winIndex = layer.open({ type: 2, title: '编辑字典项', shadeClose: true, shade: false, maxmin: true, //开启最大...
ddmit的头像-DdmitDdmit6年前
019450
layui如何获取表格所有行数据-Ddmit

layui如何获取表格所有行数据

代码如下: var dtArray = relatedPeopleTable.config.data; References layui的数据表格如何获取整个table的json数据
ddmit的头像-DdmitDdmit5年前
026650
JS正则表达式判断字符串是否包含中文字符-Ddmit

JS正则表达式判断字符串是否包含中文字符

实现正则表达式如下: var str = 'abc四个空格-https://www.4spaces.org'; var reg = new RegExp('[\\u4E00-\\u9FFF]+','g'); if(reg.test(str)){ console.log('含有中文字符'); }
ddmit的头像-DdmitDdmit5年前
022620
Spring Boot读取jar包文件错误解决-Ddmit

Spring Boot读取jar包文件错误解决

从jar包中读取classpath下文件出错: java.io.FileNotFoundException: class path resource [conf/sendofd.xml] cannot be resolved to absolute file path because it does not reside in the ...
ddmit的头像-DdmitDdmit5年前
016780
CentOS启用Google BBR加速网络-Ddmit

CentOS启用Google BBR加速网络

启用BBR,内核版本必须至少升级到4.9.0,升级内核的方法详见: CentOS使用ELRepo RPM repository升级内核版本。 BBR (Bottleneck Bandwidth and RTT) 是一种新的拥塞控制算法,由Google贡献给Li...
ddmit的头像-DdmitDdmit5年前
017603
SQL SERVER连接Secure Sockets Layer (SSL) 错误-Ddmit

SQL SERVER连接Secure Sockets Layer (SSL) 错误

今天java项目连接sql server突然连接不上了,报如下错误: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Se...
ddmit的头像-DdmitDdmit4年前
015410
Springboot集成redis报错:java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig-Ddmit

Springboot集成redis报错:java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig

Springboot集成redis报错信息如下: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error c...
ddmit的头像-DdmitDdmit4年前
016480
MySQL修改max_open_files设置-Ddmit

MySQL修改max_open_files设置

MYSQL默认的最大允许打开文件数为32768,但是可以通过修改启动服务的LimitNOFILE对应值来增大允许打开的文件数。 环境信息: CentOS Linux release 7.9.2009 (Core); mariadb-10.6.8; MariaDB...
ddmit的头像-DdmitDdmit3年前
010340