- 浏览: 115944 次
- 性别:
- 来自: 武汉
最新评论
-
TheMatrix:
tab切换时,每次都重新加载onCreateView方法,这个 ...
android FragmentTabHost -
458832194:
...
android FragmentTabHost -
simplehappy:
main_relative.xml和main_linear.x ...
android FragmentTabHost -
tkpc:
感谢Google这么快就搜索到我想要的,楼主的做法是可行的,算 ...
android FragmentTabHost
文章列表
查看发行版本
uname -a
cat /proc/version
cat /etc/issue
lsb_release -a
> /dev/null 2>&1
rm -f删除报错,用xargs
find -name "*.log" | xargs rm -f
移动文件
find . -name "*" | xargs -i mv {} dest
ulimit -SHn 51200
在一个脚本中source filename
cygmpfr-1.dll
- 博客分类:
- linux
error while loading shared libraries: cygmpfr-1.dll: cannot open shared object file: No such file or directory
安装包libmpfr1
比较
http1.0短连接/http1.1支持长连接
http1.1支持host头字段
HTTP 1.1
还提供了与身份认证、状态管理和
Cache
缓存等机制相关的请求头和响应头
Key Differences between HTTP/1.0 and HTTP/1.1
http1.1: Transfer-Encoding:chunked
http://camaya.net/gloox/
下载http://camaya.net/download/gloox-1.0.tar.bz2
或者svn co svn://svn.camaya.net/gloox/branches/1.0 gloox-1.0 下载
注:下载的gloox-1.0.tar.bz2在VS2008 Express下编译缺少一个文件,打包问题还是下载问题?用svn check出来的代码编译OK
编译后得到gloox 1.0.dll
在src\examples下有很多例子, 需要自定义以下变量才能编译过
const std::stri ...
RFC3920.cn
http://xmpp.org/rfcs/rfc3920.html
http://xmpp.org/extensions/xep-0070.html
NOTE:步骤 1: 客户端初始化流给服务器:
00000003 0.30461928 [500] SENT (21 bytes): <?xml version="1.0"?>
00000004 0.30817932 [500] SENT (131 bytes): <stream:stream to="winxp-www" xml:lang= ...
http://www.5dmail.net/html/2004-1-30/200413084348.htm
把3个8位字节(3*8=24)转化为4个6位的字节(4*6=24),之后在6位的前面补两个0.
example:11010101
11000101
00110011
00110101
0001
1100
000101
00
00110011
http://base64.sourceforge.net
sun.misc.BASE64Decoder();
sun.misc.B ...
#include <stdio.h>
class C{
public:
explicit
C(int i){
printf("\nC");
}
};
void f(C c)
{
printf("\nf");
}
int main()
{
//不使用关键字explicit,编译器将整数隐式转换为C类型
//f(1);
//使用关键字explicit后构造 ...
#include "stdafx.h"
//http://sigslot.sourceforge.net/
//#include "..\sigslot\sigslot.h"
#include "libjingle\libjingle-0.4.0\talk\base\sigslot.h"
//使用从sourceforge下载的sigslot.h编译不过,使用libjingle中修改过的sigslot.h可以
class Receiver : public sigslot::has_slots<>{
p ...
https://github.com/google/styleguide
https://github.com/zh-google-styleguide/zh-google-styleguide
http://code.google.com/p/google-styleguide/
http://code.google.com/p/zh-google-styleguide/
google javascript style guidehttp://chajn.org/jsguide/javascriptguide.html
cpplint: a tool to assist with sty ...