开始学习模板元编程了
#include
#include
#include
#include
#include "boost/assign/list_of.hpp"
#include "boost/type_traits/is_const.hpp"
#include "boost/type_traits/is_reference.hpp"
#include "boost/type_tr...
分类:
其他好文 时间:
2014-05-07 16:32:27
阅读次数:
358
Chef and The Right Triangles
The Chef is given a list of N triangles. Each triangle is identfied by the coordinates of its three corners in the 2-D cartesian plane. His job is to figure out how m...
分类:
其他好文 时间:
2014-05-07 16:28:35
阅读次数:
314
/*
* Determine if a process group is "orphaned", according to the POSIX
* definition in 2.2.2.52. Orphaned process groups are not to be affected
* by terminal-generated stop signals. Newly orp...
分类:
其他好文 时间:
2014-05-07 16:23:22
阅读次数:
383
git是什么?
简单介绍一下,Git是一个开源的分布式版本控制系统,用以有效、高速的处理从很小到非常大的项目版本管理。Git是目前世界上最先进的分布式版本控制系统,没有传说中的之一。
Git诞生?
Git 是 Linus为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。在过去一段时间里,Linux的开发并没有使用到版本控制,天呐!Linux这么牛逼的系统曾经在开发过程中居...
分类:
其他好文 时间:
2014-05-07 16:20:53
阅读次数:
329
一、Linux网络体系架构
二、网卡驱动设计
三、Dm9000网卡驱动分析
四、Linux输入子系统
五、触摸屏驱动设计...
分类:
其他好文 时间:
2014-05-07 15:47:55
阅读次数:
256
使用notepad++编辑本地文件 tomcat:
/usr/tomcat/logs/catalina.out {
copytruncate
daily
dateext
nocompress
missingok
}
参考下图部署此文件到linux服务器:...
分类:
系统相关 时间:
2014-05-07 15:43:16
阅读次数:
462
方法1:./test &方法2:(./test &)方法3:nohup
和bg方法4:screen -mS test /root/test
退出程序需要手动进入screen创建的test虚拟终端去退出方法5:修改并保存一下代码为脚本,运行 #!/bin/bash NAME=$(basename
"....
分类:
系统相关 时间:
2014-05-07 15:03:04
阅读次数:
421
序言如果我们在 Objective C
中向一个对象发送它无法处理的消息,会出现什么情况呢?根据前文《深入浅出Cocoa之消息》的介绍,我们知道发送消息是通过 objc_send(id, SEL,
...) 来实现的,它会首先在对象的类对象的 cache,method list 以及父类对象的 ca...
分类:
其他好文 时间:
2014-05-07 14:53:24
阅读次数:
562
{dede:channelartlisttypeid=‘栏目ID‘row=‘条数‘}<divclass="list"><li><ahref="{dede:fieldname=‘typeurl‘/}">{dede:fieldname=‘typename‘/}</a></li><ul>{dede:sqlsql=‘Select*fromdede_arctypewherereid=~id~ORDERBYidlimit0,7‘}<li..
分类:
其他好文 时间:
2014-05-07 11:37:32
阅读次数:
422