此文长期更新,具体根据我博客的样式判定.架构: BlackLowKey页面CSS:div.prob{ box-shadow:0 0 4px #ccf; padding: 2px; text-align:left; border-radius:6px;}div.prob h2{ font-s...
分类:
其他好文 时间:
2014-08-24 20:45:12
阅读次数:
231
问题:
在刚装好的 Mint/Ubuntu 可能会出现 man pthread_mutex 相关的函数没结果,如下图...
分类:
其他好文 时间:
2014-08-24 12:57:55
阅读次数:
251
需求描述:1)上百台linux服务器的节点上,如果没有一个叫marshall的用户,则添加这个用户,然后替换/etc/shadow的第二列字段;如果用户存在,则直接替换/etc/shadow的第二列字段字符。2)检查节点服务器上是否存在sudo命令,如果存在sudo命令,就说存在,反之,安装sudo命令。..
分类:
其他好文 时间:
2014-08-22 14:37:19
阅读次数:
267
??
Organizing Attributes and Operations
组织属性和操作
When drawing a class, you don’t
have to show every attribute and every operation at once. In fact, in most cases, you can’t
(there are too man...
分类:
其他好文 时间:
2014-08-21 22:50:55
阅读次数:
423
实验系统是centos6.5,在被连接的机器上需要安装vncserver。 1.第一种方法:使用geometry参数进行调整 使用man命令获得关于geometry参数的描述 [root@secdb ~]# man vncserver …… ?????? -geometry widt...
分类:
其他好文 时间:
2014-08-21 19:48:05
阅读次数:
156
囧,一开始看错题意,后来才发现人是垂直下落的,被附带链接里的Man Down游戏误导了。那就变成了一个简单的DAG模型动态规划,随意搞就ok了#include #include #include #include #include #include #include #include #includ...
分类:
其他好文 时间:
2014-08-21 16:53:14
阅读次数:
247
Targets选项下有Otherlinker flags的设置,用来填写XCode的链接器参数,如:-ObjC-all_load
-force_load等
首先,要说明一下Other Linker Flags到底是用来干嘛的。说白了,就是ld命令除了默认参数外的其他参数。ld命令实现的是链接器的工作,详细说明可以在终端man
ld查看。
如果有人不清楚链接器是什么东西的话,我可...
分类:
其他好文 时间:
2014-08-21 15:06:04
阅读次数:
203
下载 http://www.erlang.org/download/otp_doc_man_17.1.tar.gz找到erlang 安装目录解压otp_doc_man_17.1.tar.gzsudo cp -r man /usr/local/lib/erlangerl -man lists 查看结果
分类:
其他好文 时间:
2014-08-21 13:15:34
阅读次数:
224
Linux下最通用的领域及其名称及说明如下:领域 名称 说明1 用户命令, 可由任何人启动的。2 系统调用, 即由内核提供的函数。3 例程, 即库函数。4 设备, 即/dev目录下的特殊文件。5 文件格式描述, 例如/etc/passwd。6 游戏, 不用解释啦!7 杂项, 例如宏命令包、惯例等。8...
分类:
其他好文 时间:
2014-08-21 12:54:44
阅读次数:
156
C++的模版有时候很可能无法处理某些类型。
例如:
#include
using namespace std;
class man{
private:
string name;
int data;
public:
man(string s,int i):name(s),data(i){
}
void show()const{
cout<<"this name is "<<nam...
分类:
编程语言 时间:
2014-08-21 00:16:43
阅读次数:
261