在Windows下写的文本文件丢到Linux下,用Vi打开,换行符会变成 ^M原因new line of DOS/Windows.new line of dos/win: 0X0d0anew line of linux/unix: 0X0a解决方法方法1:可以用dos2unix或者使用edito... Read More
posted @ 2012-07-16 13:51
adodo1
Views(118)
Comments(0)
Diggs(0)
当基于Oracle或是SQL Server安装ArcSde后,一般会生成十几张以GDB_开头的系统表,这些表一般为SDE中数据信息的描述,以下为本人对其中几张主要表的一点理 解:1、GDB_ObjectClasses表:记录所有SDE中注册过的普通表、FeatureClass,一般包括Name和ID... Read More
posted @ 2012-07-16 13:51
adodo1
Views(144)
Comments(0)
Diggs(0)
前些时间,由于找不到一个比较好使用的http库,自己封装了一个,不过时间紧迫,也没有完整分析HTTP协议,因此心里总不塌实地使用它,一次偶然的机 会,让我在网上找到一个好用的http库 -- libghttp,目前的版本因该是libghttp-1.0.9. 这个库十分的方便使用,它能够轻松地实现同步... Read More
posted @ 2012-07-16 13:50
adodo1
Views(284)
Comments(0)
Diggs(0)
前些时间,由于找不到一个比较好使用的http库,自己封装了一个,不过时间紧迫,也没有完整分析HTTP协议,因此心里总不塌实地使用它,一次偶然的机 会,让我在网上找到一个好用的http库 -- libghttp,目前的版本因该是libghttp-1.0.9. 这个库十分的方便使用,它能够轻松地实现同步... Read More
posted @ 2012-07-16 13:50
adodo1
Views(320)
Comments(0)
Diggs(0)
修改或者新建 ~/.vimrc内容如下set nuset fileencodings=ucs-bom,utf-8,gb18030,gbk,gb2312,big5,euc-jp,euc-kr,latin1,cp936set termencoding=utf-8set fileformats=unixs... Read More
posted @ 2012-07-16 13:49
adodo1
Views(69)
Comments(0)
Diggs(0)
修改或者新建 ~/.vimrc内容如下set nuset fileencodings=ucs-bom,utf-8,gb18030,gbk,gb2312,big5,euc-jp,euc-kr,latin1,cp936set termencoding=utf-8set fileformats=unixs... Read More
posted @ 2012-07-16 13:49
adodo1
Views(104)
Comments(0)
Diggs(0)
#include #include #include #include #include #include #include #include #define SOCKET_ERROR -1#define PRINT(x) printf("%s\n",(x))int sockfd;int ret;c... Read More
posted @ 2012-07-16 13:49
adodo1
Views(134)
Comments(0)
Diggs(0)
#include #include #include #include #include #include #include #include #define SOCKET_ERROR -1#define PRINT(x) printf("%s\n",(x))int sockfd;int ret;c... Read More
posted @ 2012-07-16 13:49
adodo1
Views(233)
Comments(0)
Diggs(0)
转 http://hi.baidu.com/romeroad/blog/item/4aec7d4a2fc69a2808f7ef58.html训练TesseractHow to use the tools provided to train Tesseract for a new language.说... Read More
posted @ 2012-07-16 13:48
adodo1
Views(155)
Comments(0)
Diggs(0)
C++通过socket套接字,使用smtp协议和pop3协议进行邮件发送和读取。Smtp协议很简单,在建立socket之后。依次发送如下消息。EHLO 服务器地址AUTH LOGINUSER 邮箱帐号PASS 邮箱密码 /*邮箱密码是需要base64加密的*/MAIL FRO... Read More
posted @ 2012-07-16 13:48
adodo1
Views(113)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号