今天用jdbc连接MySQL 怎么连接都是Communications link failure,网上查了一圈资料,基本都是mysql﹥ show global variables like 'wait_timeout'; wait_timeout的设置问题,按照他们的改了后,还是failure,我 ...
分类:
数据库 时间:
2020-07-28 22:13:05
阅读次数:
80
今天继续给大家带来比较骚气的操作,js实现文本输入框的特效,演示:http://www.sdfymj.com/ 把以下代码放置网站底部即可 代码如下: <script> $(function() {$("img.lazy").lazyload({effect: "fadeIn"});}); $( d ...
分类:
Web程序 时间:
2020-07-28 17:11:50
阅读次数:
114
打开appdata文件夹,在资源管理器的地址栏输入%appdata%后回车 新建一个pip文件夹,在pip文件夹里面新建一个配置文件pip.ini 在配置文件中输入如下内容后保存即可: [global] timeout = 6000 index-url = https://pypi.tuna.tsi ...
实验目的:通过ISIS协议,实验全网互通 实验步骤: Step1:必打命令 <Huawei>undo terminal monitor <Huawei>system-view [Huawei]sysname R7[R7]user-interface console 0[R7-ui-console0] ...
分类:
其他好文 时间:
2020-07-27 23:44:07
阅读次数:
136
经反映redis连接超时,先定位到redis配置文件目录被删除;继而重启redis后出现连接中断问题(未启动成功);查看redis的输出日志时发下报以下错误: 根据提示在/etc/sysctl.conf文件中添加vm.overcommit_memory = 1, 修改其大透明页,并将调整redis的 ...
分类:
其他好文 时间:
2020-07-27 23:34:42
阅读次数:
83
重分发: AR1配置信息 <Huawei>undo terminal monitor <Huawei>system-view Enter system view, return user view with Ctrl+Z. [Huawei]user-interface console 0 [Huaw ...
分类:
其他好文 时间:
2020-07-27 13:45:56
阅读次数:
81
php 使用composer 时,总是提示 composer SSL: Handshake timed out 这个说明是有ssl证书的。只是超时了。原因是默认php连接时间有问题。 我们找到php.ini 配置文件 。修改 default_socket_timeout = 360 (原来是-1或3 ...
分类:
其他好文 时间:
2020-07-26 15:31:34
阅读次数:
133
一、multiprocessing模块介绍 python中的多线程无法利用多核优势,如果想要充分地使用多核CPU的资源(os.cpu\_count\(\)查看),在python中大部分情况需要使用多进程。Python提供了multiprocessing。 multiprocessing模块用来开启子 ...
分类:
系统相关 时间:
2020-07-26 15:09:05
阅读次数:
97
<!doctype html>promise promise原因 简单来说 就是为了解决callback hell 简单来看一个回调的例子 ?x 1 let fs = require('fs') 2 fs.readFile('./a.txt','utf8',function(err,data){ 3 ...
分类:
其他好文 时间:
2020-07-24 19:10:55
阅读次数:
101
Python多进程模块 multiprocessing模块介绍 python中的多线程无法利用多核优势,如果想要充分地使用多核CPU的资源(os.cpu_count()查看),在python中大部分情况需要使用多进程。Python提供了multiprocessing。 multiprocessing ...
分类:
系统相关 时间:
2020-07-24 19:05:39
阅读次数:
90