读好书,交益友
发布时间:2014-05-19 17:19:07
最近静态安装poco,export PLATFORM_FLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -staticexport PLATFORM_LIBS = -L/usr/lib/x86_64-redhat-linux5E/lib64 find /usr/lib -name "*pthread*"没有发现libpthread.a只好自己安装了yum install zlib-static glibc-static......【阅读全文】
发布时间:2014-05-16 14:41:43
For a n-bit RSA key, direct encryption (with PKCS#1 "old-style" padding) works for arbitrary binary messages up to floor(n/8)-11 bytes. In other words, for a 1024-bit RSA key (128 bytes), up to 117 bytes. With OAEP (the PKCS#1 "new-style" padding), this is a bit less: OAEP.........【阅读全文】
发布时间:2014-05-14 19:29:01
最近写了一个WTL的项目,发现unicode环境下,CString转为char* 还是比较麻烦的。点击(此处)折叠或打开CString str_ReourceText; //get resource text &n.........【阅读全文】
发布时间:2014-05-08 16:41:39
导入以前的samba配置,发现不行了[share] comment= my share path = /CSV public = no browseable = yes writable = yes security = user admin users = oracle valid users = root,oracle direct.........【阅读全文】
发布时间:2014-05-07 14:23:27
最近要配置xdmcp服务,发现很多文档说的都不对。首先安装gdmyum install gdm至于X11什么的,不用处理。修改/etc/gdm/custom.conf添加为# GDM configuration storage[daemon][security]AllowRemoteRoot=true[xdmcp]Enable=true#Port=177 [greeter][chooser][debug]注意Port=177 不能添加,添加了177端.........【阅读全文】