方式一:RDB ''' save(同步) 1 客户端执行save命令 》redis服务端 》同步创建RDB二进制文件 2 会造成redis的阻塞(数据量非常大的时候) 3 文件策略:如果老的RDB存在,会替换老的 4 复杂度 o(n) ''' ''' bgsave(异步,Backgroud savi ...
分类:
其他好文 时间:
2020-05-09 23:02:48
阅读次数:
90
错误信息 最近将测试环境做了迁移,发现在执行某一条未作任何改动的sql时,出现如下错误: ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #7 of SELECT list is not ...
分类:
数据库 时间:
2020-05-09 20:52:48
阅读次数:
86
"题目" You are given a weighed undirected connected graph, consisting of $n$ vertices and $m$ edges. You should answer $q$ queries, the $i$ th query is ...
分类:
其他好文 时间:
2020-05-09 19:04:20
阅读次数:
66
1.点击安装,选择jdk安装路径和jre的安装路径 比如: 2.环境变量配置 (1)在系统变量栏中点击新建 变量名:JAVA_HOME 变量值:jdk的安装路径(复制复制上图的路径:F:\java\jdk1.8) (2)在系统变量栏中点击path,然后编辑 添加:%JAVA_HOME%\bin; % ...
分类:
编程语言 时间:
2020-05-09 17:15:25
阅读次数:
75
1、项目的主要运行代码 HostFactory.Run(x => { x.RunAsLocalSystem(); x.SetDescription("topshelf测试"); x.SetDisplayName("topshelftest"); x.SetServiceName("topshelft ...
分类:
编程语言 时间:
2020-05-09 17:13:00
阅读次数:
66
题目 You are given a weighed undirected connected graph, consisting of n vertices and m edges. You should answer q queries, the i th query is to find th ...
分类:
其他好文 时间:
2020-05-08 22:56:50
阅读次数:
83
//展示 showscenicPoints() { var icon = new AMap.Icon({ size: new AMap.Size(35, 45), // 图标尺寸 image: "/images/scenic.png" // Icon的图像 }); // console.log(th ...
前段时间,同事要我帮忙弄个浏览器调用摄像头拍照的demo给客户,一想,这个简单,直接上代码: 1 <video id="video" autoplay width="300" height="400"></video> 2 <canvas id="canvas" width="300" height ...
分类:
Web程序 时间:
2020-05-08 13:13:33
阅读次数:
337
框架为:http://ruoyi.vip/效果为:代码为:<!DOCTYPEhtml><htmllang="zh"xmlns:th="http://www.thymeleaf.org"xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"><head><th:blockth:include="include::
分类:
移动开发 时间:
2020-05-08 09:56:06
阅读次数:
128
Linux网络配置 使用DHCP自动获取IP 终端中执行: vim /etc/sysconfig/network-scripts/ifcfg-ens33 修改 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=dhcp DEFROUT ...
分类:
系统相关 时间:
2020-05-07 15:48:13
阅读次数:
85