上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 73 下一页
摘要: php rewrite启用rewrite# LoadModule rewrite_module modules/mod_rewrite.so去除前面的 #LoadModule rewrite_module modules/mod_rewrite.so启用.htaccessAllowOverride None 修改为: AllowOverride All<Directory />Options FollowSymLinksAllowOverride None</Directory>改为<Directory />Options FollowSymLinksAll 阅读全文
posted @ 2012-02-05 14:17 wangkangluo1 阅读(250) 评论(0) 推荐(0) 编辑
摘要: cmallocchar* desStr = (char*)malloc(10);memset(desStr, '1', 9); desStr[9] ='\0';free(desStr);desStr = NULL; 阅读全文
posted @ 2012-02-05 14:16 wangkangluo1 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 不重启更新emacs设置在 ~/.emacs 中,C-x C-e执行光标前面的一条语句. 还可M-x load-file ~/.emacsM-x eval-buffer 阅读全文
posted @ 2012-02-04 04:38 wangkangluo1 阅读(508) 评论(0) 推荐(0) 编辑
摘要: emacs 打开该文件之后直接M-x byte-compile-file,选中该文件 阅读全文
posted @ 2012-02-04 04:37 wangkangluo1 阅读(2666) 评论(0) 推荐(0) 编辑
摘要: 解决:1. ls | grep -v ttt | xargs rm {}2. ls | grep -v ttt | xargs rm3. mv ttt /tmp/ && rm -rf * && mv /tmp/ttt ./4. find . -name e -prune -o -print | xargs rm -rf5. find . -name e -prune -o -name dir -prune -o -print | xargs rm -rf {}6. 删除目录下的除去ttt和目录外所有文件d=/tjy/for i in `ls $d`; do if 阅读全文
posted @ 2012-02-04 04:34 wangkangluo1 阅读(3813) 评论(0) 推荐(0) 编辑
摘要: Update: If you only want to add deleted files, try:git ls-files --deleted | xargs git rm git commit 阅读全文
posted @ 2012-02-04 04:32 wangkangluo1 阅读(1919) 评论(0) 推荐(1) 编辑
摘要: http://www.cnblogs.com/chenhs/archive/2008/08/18/1270689.html参考地址;一、在linux下删除这些目录是很简单的,命令如下 find . -type d -name ".svn"|xargs rm -rf或者find.-typed-iname".svn"-execrm-rf{}";添加所有文件和子文件夹find . | xargs svn add * --force全部搞定。(http://tech.techweb.com.cn/redirect.php?fid=26&tid= 阅读全文
posted @ 2012-02-04 04:31 wangkangluo1 阅读(4193) 评论(0) 推荐(0) 编辑
摘要: //============================================================================// Name : test.cpp// Author : // Version :// Copyright : Your copyright notice// Description : Hello World in C++, Ansi-style//============================================================================#include <iostre 阅读全文
posted @ 2012-02-04 04:27 wangkangluo1 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 分类:图 阅读全文
posted @ 2012-02-04 04:25 wangkangluo1 阅读(287) 评论(0) 推荐(0) 编辑
摘要: tail -f /usr/local/apache2/logs/access_log |grep 500 阅读全文
posted @ 2012-02-04 04:20 wangkangluo1 阅读(522) 评论(0) 推荐(0) 编辑
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 73 下一页