摘要: 转自:http://www.cnblogs.com/charles001/articles/555363.htmljavaScript中利用ActiveXObject来创建FileSystemObject操作文件一、功能实现核心:FileSystemObject 对象 要在javascript中实现文件操作功能,主要就是依靠FileSystemobject对象。二、FileSystemObject编程使用FileSystemObject 对象进行编程很简单,一般要经过如下的步骤: 创建FileSystemObject对象、应用相关方法、访问对象相关属性 。(一)创建FileSystemObje 阅读全文
posted @ 2011-11-13 23:20 吃吃户 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 转自:http://bbs.seu.edu.cn/bbstcon.php?board=Linux&gid=42370生活在Bashshell中,熟记以下快捷键,将极大的提高你的命令行操作效率。 编辑命令 Ctrl+a:移到命令行首 Ctrl+e:移到命令行尾 Ctrl+f:按字符前移(右向) Ctrl+b:按字符后移(左向) Alt+f:按单词前移(右向) Alt+b:按单词后移(左向) Ctrl+xx:在命令行首和光标之间移动 Ctrl+u:从光标处删除至命令行首 Ctrl+k:从光标处删除至命令行尾 Ctrl+w:从光标处删除至字首 Alt+d:从光标处删除至字尾 Ctrl+d:删 阅读全文
posted @ 2011-11-13 19:25 吃吃户 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 递归查找当前目录下是否有以.x结尾的文集那find ./ -regex '.*\.x'注意要用单引号和转义字符 阅读全文
posted @ 2011-11-13 17:10 吃吃户 阅读(1018) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/hnney/article/details/58929771.screen 在 $HOME/下创建.screenrc文件 在最后一行显示窗口状态加上如下几句话 startup_message off hardstatus alwayslastline hardstatus stringhardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c 阅读全文
posted @ 2011-11-13 16:27 吃吃户 阅读(237) 评论(0) 推荐(0) 编辑
摘要: test.x1 program TESTPROG {2 version TESTVERS {3 int Test(string) = 1;4 } = 1;5 } = 0x30000000;test_local.c 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #include "test.h" 5 6 #define HOST "localhost" 7 8 int test(char *); 9 10 CLIENT * handle;11 12 int main(int argc, 阅读全文
posted @ 2011-11-13 15:56 吃吃户 阅读(929) 评论(0) 推荐(0) 编辑