1. boost::scoped_ptr is a smart pointer that is the sole owner of a dynamically allocated object and cannot be copied or moved. A smart pointer of typ ...
分类:
其他好文 时间:
2019-05-29 17:52:27
阅读次数:
107
1:IDEA创建maven项目 本次创建的是一个web项目: 一路next下去即可。 这样创建出来的项目,结构会缺失,自己手动把java,resources ,test等目录创建出来即可。 2:在pom文件中引入spring,mybatis,spring mvc依赖 pom.xml配置 spring ...
分类:
其他好文 时间:
2019-05-28 12:56:25
阅读次数:
86
https://www.cnblogs.com/gaodu2003/archive/2009/06/18/1505720.html unit Unit1; interface ……type TForm1 = class(TForm) Chart1: TChart; Series1: TPieSeri ...
分类:
其他好文 时间:
2019-05-28 10:53:45
阅读次数:
118
import glob from os import path import os from aip import AipOcr from PIL import Image def convertimg(picfile, outdir): '''调整图片大小,对于过大的图片进行压缩 picfile:... ...
分类:
编程语言 时间:
2019-05-27 23:25:33
阅读次数:
1136
没有正确配置临时文件的存储空间: 在spring mvc配置文件的修改: ...
分类:
编程语言 时间:
2019-05-26 12:45:51
阅读次数:
231
public class EmailHelper { public static string SendWithSenderEmail(string OurEmail, string OurPs, string subject, string body, string attachment, str... ...
RedisCluster部署文档updated:09/05/20191说明RedisCluster的主要特点如下:无中心结构,客户端与redis节点直连,不需要中间代理层节点冗余设计,slave->master选举,集群容错数据分片存储,且支持在线分片ASK/MOVED转向机制,可通过任意节点,读写不属于本节点的数据本文以部署一个可实现高可用的最小集群为例,集群部署在三台主机上,包含M1、M
分类:
其他好文 时间:
2019-05-23 19:33:39
阅读次数:
144
向redis集群写数据抛异常:(error) MOVED 15342 2001:fecc:0:616::34:6383 原因是启动redis-cli时未以集群方式启动,即后面要加上 -c redis-cli -h [ip] -p [port] -c ...
分类:
其他好文 时间:
2019-05-22 19:08:04
阅读次数:
71
inotify和rsync实现实时同步首先先用两台主机实现rsyncc同步服务端:[root@centos7data14:20:35]#echo"rsyncuser:123">/etc/rsync.pass生成验证文件[root@centos7data14:21:13]#chmod600/etc/rsync.pass[root@centos7data14:21:19]#m
分类:
其他好文 时间:
2019-05-20 01:08:59
阅读次数:
120