03 2016 档案
摘要:解决方案 出现这个bug的原因是由于,net.framwork版本问题,以前PC上装的4.0版本,故会报错,安装net.framwork 4.5异常消失。 END!
阅读全文
摘要:1,安装依赖包 2,安装图像处理和分析leptonica 若没指定安装路径,则应该在/usr/local/share/tessdata下 chi_sim.traineddata configs eng.traineddata tessconfigs 4,测试 tesseract out.jpg re
阅读全文
摘要:#include<iostream>#include<string>#include<complex>using namespace std;void main(){ complex <int> num1(3, 4); complex <float> num2(3.3, 4.5); string s
阅读全文
摘要:#include<iostream> #include<string> using namespace std; void main() { string str1("i am here!"); string str2="where are you?"; cout << str1[0] << str
阅读全文
摘要:1,设置Java环境 rpm -ivh jdk-8u73-linux-x64.rpm添加环境变量到启动文件vi /etc/profile export JAVA_HOME=/usr/java/jdk1.8.0_73 export PATH=$JAVA_HOME/bin:$PATH export CL
阅读全文
摘要:#include<iostream> using namespace std; struct point{ //private: double x, y; //public: void setxy(double a,double b) { x = a; y = b; } void display()
阅读全文
摘要:vsftp虚拟用户,以前找了很多资料,配置过很多次,最后都不了了之,现在再次尝试,终于成功了,特此记录下。 1,建立文本格式的用户帐号密码文档 格式如下 [root@womusic ftproot]# cat /root/viruser.txt test1 123456 test2 123456 安
阅读全文
摘要:#include<iostream> #include<algorithm> #include<functional> #include<iterator> using namespace std; void main() { int a[] = { 5, 7, 3, 4, 6 }; sort(a,
阅读全文
摘要:演示数组复制输出的例子 本来数组复制输出和反转输出可以合二为一,但是发现其中要用到的函数所需头文件不一致,因此该例子分开 在C++教学视频中发现algorithm头文件不包括ostream_iterator函数,但是视频中并为做说明,因此记录下来 注意,截图代码中ostream_iterator参数
阅读全文
摘要:简化拓扑如图 我们这里只简单为描述原理来说明反向代理的过程 前端nginx反向代理true IIS server nginx反向代理配置代码如下。这里我只摘取其中一server,主要在header头,当后端只有一台IIS服务器且运行多个虚拟主机的时候适用。 server { listen 80; s
阅读全文
摘要:思路1,采用nfs技术挂载文件系统到目标服务器上 2,采用ln链接到static目录 安装yum -y install nfs-utils rpcbind nfs server 端配置 所谓server端,即你要分享目录给其它server的那台服务器(在这里指的是upload) /etc/expor
阅读全文

浙公网安备 33010602011771号