岚天逸见

上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 77 下一页

2013年10月21日 #

mooon模板的automake、autoconf、m4和libtool版本信息

摘要: autoconf --versionautoconf (GNU Autoconf) 2.59automake --versionautomake (GNU automake) 1.9.6m4 --versionGNU M4 1.4.4libtool --version... 阅读全文

posted @ 2013-10-21 19:33 岚天逸见 阅读(488) 评论(0) 推荐(0)

2013年6月21日 #

mooon编译系统介绍(可复用Makefile)

摘要: mooon编译系统介绍(可复用Makefile).pdf(ChinaUnix下载)CSDN下载:http://download.csdn.net/detail/aquester/5626929mooon编译系统介绍(可复用Makefile)目录1. 简要 12. 文件... 阅读全文

posted @ 2013-06-21 19:38 岚天逸见 阅读(500) 评论(0) 推荐(0)

boost编译BUG

摘要: linux GCC环境,boost在编译时未加-fPIC参数,导致如果有共享库使用boost静态库,会报如下错误:relocation R_X86_64_32 against `a local symbol' can not be used when making a... 阅读全文

posted @ 2013-06-21 19:36 岚天逸见 阅读(631) 评论(0) 推荐(0)

bash字符串匹配

摘要: #!/bin/shfoo(){ local basedir=$1 local all_entries=`ls -c` for entry in $all_entries do if test -d $entry; then ... 阅读全文

posted @ 2013-06-21 19:36 岚天逸见 阅读(1136) 评论(0) 推荐(0)

小心两个共享库共用同一个静态库

摘要: 小心两个共享库共用同一个静态库.pdf下载测试代码:x.zip(和帖子的略不同,x.zip包中的全局变量是个类对象,带有构造和析构函数)推荐阅读:http://blog.chinaunix.net/uid-20682147-id-351108.html(Linux上制... 阅读全文

posted @ 2013-06-21 19:34 岚天逸见 阅读(738) 评论(0) 推荐(0)

2013年6月6日 #

程序员转产品经理的思考

摘要: 最近也在思考,甚至转做产品经理,因为觉得某些方面适合做产品经理:1.勤奋、主动思考的意识,独立的个性这一点对产品经理来说应当是非常重要的,它能保证创新,较难出现抄袭模仿,也时常会产生一些独特的想法。2.严谨的态度,对美的追求、一定的审美观和带点挑剔的性格这一点是产生高... 阅读全文

posted @ 2013-06-06 14:21 岚天逸见 阅读(217) 评论(0) 推荐(0)

2013年5月21日 #

libssh2编译错误(configure error: cannot find OpenSSL or Libgcrypt)解决方法

摘要: 如果按标准的configure执行:./configure --prefix=/data/users/mooon/third-party/libssh2 --with-openssl --with-libssl-prefix=/data/users/mooon/thi... 阅读全文

posted @ 2013-05-21 10:07 岚天逸见 阅读(948) 评论(0) 推荐(0)

2013年5月20日 #

iconv_open、iconv和iconv_close函数使用示例

摘要: bool isUtf8(const char* str){ return ((0xEF == (unsigned char)(str[0])) && (0xBB == (unsigned char)(str[1])) && (... 阅读全文

posted @ 2013-05-20 16:24 岚天逸见 阅读(693) 评论(0) 推荐(0)

2013年5月12日 #

多写引发的思考

摘要: 如果是3个Master,采用2PC保证一致性,单个Master故障,会导致不可写。如果正提交的是一个大数据,会造成较大影响。实际上,这个时候可以允许提交,在故障Master恢复后,再同步数据到它上面,但是这个时候的数据对外是不可见的,因此不会影响数据的安全。 ... 阅读全文

posted @ 2013-05-12 19:50 岚天逸见 阅读(94) 评论(0) 推荐(0)

2013年5月6日 #

flock()函数使用示例

摘要: 注:在进程退后,会自动解锁。#include #include #include // 提供flock()函数,从#include可以看出,它是一个系统调用,而不是一个库函数#include // 编译方法:// 假设文件名为x.cpp,则为g++ -g -o x ... 阅读全文

posted @ 2013-05-06 14:20 岚天逸见 阅读(315) 评论(0) 推荐(0)

上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 77 下一页

导航