vi可分为三种操作状态,分别是命令模式(Command mode)、插入模式(Insert mode)和末行模式(Last line mode)
Insert的切换→Command mode,按Esc键
离开vi及存文件
在Command mode下,可按冒号“:”键入入Last line mode,例如:
:w filename (输入“w filename”,将文章存入指定...
分类:
其他好文 时间:
2014-09-27 17:45:00
阅读次数:
241
熟悉开发环境,快捷键往往是神器,需要逐渐熟悉并发掘适合自己的快捷键。Command + Shift + E :扩展编辑器Command + [ :左移代码块Command + ] :右移代码块Tab :接受代码提示Esc :显示代码提示菜单Ctrl + . (句点):循环浏览代码提示Shift + ...
分类:
其他好文 时间:
2014-09-27 16:03:50
阅读次数:
260
代码 //执行SQL语句 public static void ExecSqlCommand() { DbHelper db = new DbHelper(); DbCommand command = db.GetSqlStringCommond("se...
分类:
数据库 时间:
2014-09-27 12:10:29
阅读次数:
211
在mac 下安装好xampp后,需要在终端命令行操作时,比如输入:mysql -u root -p,未正确配置前不会出现想要的输入密码提示,而是会提示:command not found原来当你输入命令的时间,系统会在/usr/bin这个位置里寻找你输入的命令,如果你没有把命令引入到这个位置,无论....
分类:
数据库 时间:
2014-09-27 10:02:39
阅读次数:
210
在遇到以下问题时:
imaqhwinfo
警告: No Image Acquisition adaptors found. Image acquisition adaptors may be available as downloadable support packages. Open Support
Package Installer to install additio...
分类:
其他好文 时间:
2014-09-26 20:17:18
阅读次数:
172
老赵的博客:http://blog.zhaojie.me/2008/02/using-translate-method-and-modify-command-text-before-query-in-linq-to-sql.html http://www.csharpwin.com/do...
分类:
数据库 时间:
2014-09-26 19:53:28
阅读次数:
326
At first, i prepared to go through 《the introduction to algorithm》 ,however , i found some part of the book is difficult to understand; what’s more , ...
分类:
其他好文 时间:
2014-09-26 18:17:38
阅读次数:
249
问题: 在centos5.8上安装PHP软件包时,提示“configure:error:no acceptable cc found in $path”。 原因: 这是缺少GCC编译器造成的,安装即可。 解决办法: 找到gcc的rpm包,安装即可。或者使用yum命令安装: ...
分类:
Web程序 时间:
2014-09-26 12:58:29
阅读次数:
219
1、History
使用History可以查看以前执行的命令
GGSCI (ogg1) 5> history
GGSCI Command History
1: infoa
2: inf
3: info all
4: show all
5: history
2、!
使用!可以再次执行上次执行的命令
GGSCI...
分类:
其他好文 时间:
2014-09-26 12:53:38
阅读次数:
185
由于MATLAB2014a安装的是免费版,在用videoinput时便出现问题如下:
imaqhwinfo
警告: No Image Acquisition adaptors found. Image acquisition adaptors may be available as downloadable support packages. Open Support
Package Insta...
分类:
Web程序 时间:
2014-09-26 12:39:28
阅读次数:
285