以下内容出自:> 今天讲命令模式,这个模式从名字上看就很简单,命令嘛,老大发命令,小兵执行就是了,确实是这个意思,但是更深化了,用模式来描述真是是世界的命令情况。正在看这本书的你,我猜测分为两类:已经工作的和没有工作的,先说没有工作的,那你为啥要看这本书,为了以后工作呗,只要你参见工作,你肯定会待....
分类:
其他好文 时间:
2014-07-19 22:04:52
阅读次数:
344
Hello everybody,One day I had problems with GUI svn client and a big headache how to commit my changes. I have found how to do that using Terminal and...
分类:
其他好文 时间:
2014-07-19 21:30:39
阅读次数:
197
How to Housekeep logs without restarting process1) Go to the log folder2) run the command:mv access_log access_log.oldkill -1 `cat httpd.pid`
分类:
其他好文 时间:
2014-07-19 20:10:20
阅读次数:
244
[root@luozhonghua mysql-5.5.21]# cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/data/mysql -DSYSCONFDIR=/etc
-- Check size of pthread_t
-- Check size of pthread_t - done
-- Perf...
分类:
数据库 时间:
2014-07-18 23:04:23
阅读次数:
287
Problem Description
The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He ...
分类:
其他好文 时间:
2014-07-18 22:25:05
阅读次数:
246
做为系统工程师来说,经常会用到python脚本去调用一下系统命令,现把经常使用的集中调用方法总结如下:一,os.system(command)在一个子shell中运行command命令,并返回command命令执行完毕后的退出状态。这个函数执行命令的结果无法保存,只能显示在标准输出。但是,命令执行是..
分类:
编程语言 时间:
2014-07-17 09:02:24
阅读次数:
228
问题:当程序正在安装ms数据访问组件时,弹出错误提示框:command line option syntax error,type command/? for help,点击确定继续;到了程序正在安装HTML帮助时,弹出标题为html help 1.32 update错误提示框:command li...
分类:
数据库 时间:
2014-07-17 00:09:02
阅读次数:
354
一.Struts2用的版本是struts2.3.1.1一个简单的Struts项目所需的jar包有如下8个1. struts2-core-2.3.1.1.jar: Struts2的核心类库。2. xwork-core-2.3.1.1.jar: XWork核心类,XWork是一个标准的command模式...
分类:
编程语言 时间:
2014-07-16 16:51:38
阅读次数:
293
[root@vmoffice-7MySQL-python-1.2.3]#pythonsetup.pyinstallfunction)...._mysql.c:133:error:‘ER_SYNTAX_ERROR’undeclared(firstuseinthisfunction)_mysql.c:380:error:‘_mysql_ConnectionObject’hasnomembernamed‘connection’_mysql.c:382:warning:implicitdeclaratio..
分类:
数据库 时间:
2014-07-16 16:40:35
阅读次数:
377
在分析安卓源码过程中看到几处使用变长结构体的例子,比如下面的结构体:
struct command
{
/* list of commands in an action */
struct listnode clist;
int (*func)(int nargs, char **args);
int nargs;
char *args[1];
...
分类:
其他好文 时间:
2014-07-16 16:16:29
阅读次数:
381