上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 73 下一页
摘要: 设置复制模式中的默认键盘布局;可以设置为vi或emacs,我是把这个设置写入了配置文件。set-window-option -g mode-keys vi #可以设置为vi或emacsset-window-option -g utf8 on #开启窗口的UTF-8支持复制模式步骤:我的控制键为:C-b1、 C-b [ 进入复制模式2、 参考上表移动鼠标到要复制的区域,移动鼠标时可用vim的搜索功能"/","?"3、 安空格键开始选择复制区域4、 选择完成后安enter键退出5、 C-b ] 粘贴 阅读全文
posted @ 2012-04-12 22:32 wangkangluo1 阅读(2004) 评论(0) 推荐(0) 编辑
摘要: 图:完 阅读全文
posted @ 2012-04-12 22:27 wangkangluo1 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 代码insert into encoder_config (name,value,chengji,parents) select name,value,chengji,parents from media_config where 16<=ID and ID<38 完 阅读全文
posted @ 2012-04-12 22:21 wangkangluo1 阅读(5844) 评论(1) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/jsckdao/archive/2011/05/05/2038265.html作了N多次php环境的搭建,网上的方法还真是多,但是实际操作起来总有一些大大小小的出入,很多错误经常让我纠结不已.久病成医,渐渐地我自己就总结出了一些经验。自我感觉良好。这种方法并非以前所流行的apache 加 php_module 的方式运行,我是采用nginx 作为web服务器,以fastcgi的方式运行php。linux下编译:nginx我还是习惯选择8.54的版本,它的编译依赖以下几个软件包,解压这些源码包,在configure中设置好这些源码的路径,n 阅读全文
posted @ 2012-04-12 14:57 wangkangluo1 阅读(420) 评论(0) 推荐(0) 编辑
摘要: \d{2} 阅读全文
posted @ 2012-03-29 16:17 wangkangluo1 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1.先检查ctags 版本 ctags --version 确保5.5版本以上2.到源码目录下 ctags -Rvim 下 :! ctags -R 生成tags文件3.vim打开源文件 ctrl+] 转到函数定义的地方 ctrl+t 回退到函数调用的地方 阅读全文
posted @ 2012-03-18 04:47 wangkangluo1 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://vitaminj.blogbus.com/logs/35851648.html1.在~/.vim/c-support/templates/Templates可以设置版权信息,如作者、信箱、版权归属等,新建.c或.cpp文件是可以看到,并且列出了使用模板文件位置,可以自己编辑2.\if 插入一般函数3.\im 插入主函数4.\cfu 插入函数头,即函数说明5.\cfr 插入一个frame comment,可以用来写变量说明6.\p< 插入一个include , 并且把光标放在<>中7.\rc 保存并编译8.\rr 运行9.\nr 可以在~/.vim/c- 阅读全文
posted @ 2012-03-18 04:16 wangkangluo1 阅读(2383) 评论(0) 推荐(0) 编辑
摘要: mobaxterm 阅读全文
posted @ 2012-03-16 03:05 wangkangluo1 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1.web ssh shellinabox (相关关键字 tmux )参考地址:http://en.wikipedia.org/wiki/Web-based_SSHhttps://code.google.com/p/shellinabox/wiki/shellinaboxd_manhttp://rxtx.posterous.com/shellinabox-on-ubuntu-804下载hacking the code shellinabox/service.c (line 150) //"-oVisualHostKey=no -oLogLevel=QUIET %%s@%s" 阅读全文
posted @ 2012-03-16 03:01 wangkangluo1 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 参考地址:http://baike.baidu.com/view/4786260.htm分析过程: 1) 成员数据对齐 #pragma pack(4) //gcc 默认为4 struct test_t { int a; /* int型,长度4 = 4 按4对齐;起始offset=0 0%4=0;存放位置区间[0,3] */ char b; /* char型,长度1 < 4 按1对齐;起始offset=4 4%1=0;存放位置区间[4] */ short c; /*short型, 长度2 < 4 按2对齐;起始offset=6 6%2=0;存放位置区间[6,7] */ char... 阅读全文
posted @ 2012-03-16 00:22 wangkangluo1 阅读(294) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 73 下一页