1.修改HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient里的 "SpecialPollInterval",这个代表时间间隔,多长时间和Ntp服务器同步一次,单位为秒,改为1,原来的 ...
前言 来啦老铁! 笔者学习Spring Boot有一段时间了,附上Spring Boot系列学习文章,欢迎取阅、赐教: 5分钟入手Spring Boot; Spring Boot数据库交互之Spring Data JPA; Spring Boot数据库交互之Mybatis; Spring Boot视 ...
分类:
编程语言 时间:
2020-11-08 16:42:19
阅读次数:
25
# 加u说明编码的方式 data_str = u'中文测试' print('加u,说明是unicode编码的变量 ', len(data_str)) 加u,说明是unicode编码的变量 4 # 禁止\的转义功能 r_str = r'\n' o_str = '\\n' print('加r,去掉反斜杠 ...
分类:
其他好文 时间:
2020-11-08 16:38:13
阅读次数:
21
默认值 开箱即用的 SplitChunksPlugin 应该对大多数用户都很好用。 默认情况下,它只影响随需应变的块,因为更改初始块会影响运行项目时包含的应有脚本标记 HTML 文件。 webpack 将根据以下条件自动分割块: 新块可被共享的,或者来自 node_modules 文件夹 新块将大于 ...
分类:
Web程序 时间:
2020-11-07 17:41:12
阅读次数:
24
一键部署----mysql5.6.txt!/bin/bashcd/var/runrm-rfyum.pidread-p"请输入mysql源码包的绝对路径"ccd$cyuminstall-yncurses-develautoconfcmaketarxzvfmysql-5.6.26.tar.gzcdmysql-5.6.26/cmake\-DCMAKE_INSTALL_PREFIX=/usr/local/
分类:
数据库 时间:
2020-11-07 17:30:03
阅读次数:
22
1、以管理员身份打开cmd窗口; 2、停止mysql服务,cmd输入命令net stop mysql ; 或者在服务中停止mysql(如下图); 3、转到mysql服务bin目录, 运行命令 .\mysqld --console --skip-grant-tables --shared-memory ...
分类:
数据库 时间:
2020-11-07 17:23:21
阅读次数:
25
代码: def data_iter(n): for i in range(n): yield (i*i,i*i*i) for epoch in range(3): print("++++++In for Loop++++++") for a,b in data_iter(5): print("a = ...
分类:
编程语言 时间:
2020-11-07 16:50:29
阅读次数:
21
"This input device reads data from the open output pads of a libavfilter filtergraph. For each filtergraph open output, the input device will create a ...
分类:
其他好文 时间:
2020-11-07 16:34:59
阅读次数:
18
use think\Config; $config = Config::get('database2'); //读取第二个数据库配置 $connect = Db::connect($config); //连接数据库 $data = $connect->name('admin')->find(); / ...
分类:
数据库 时间:
2020-11-07 16:21:15
阅读次数:
22
Linux 从3.7.0 开始支持vxlan,到3.9.0 3.10.0 基本趋于稳定。 一下是一些配置命令关于如何在kernel配置vxlan 实例: ip link add vxlan1 type vxlan id 1 local 172.31.0.106 remote 172.31.0.107 ...
分类:
系统相关 时间:
2020-11-07 16:18:22
阅读次数:
25