随笔分类 -  LINUX

cscope windows 下生成数据库文件
摘要:参考:http://easwy.com/blog/archives/advanced-vim-skills-cscope/及文后评论批处理:del cscope.filesfor /r . %%a in (*.c,*.cpp,*.h,*.hpp) do echo %%a >> cscope.files 阅读全文

posted @ 2012-06-15 17:24 LateStop 阅读(263) 评论(0) 推荐(0)

[Linux/ Fedora17 64位 ]Chrome 安装flash
摘要:1. 打开优酷,会提示你安装flashplayer,点击给出的链接,就到了Adobe的官网。2. 上面提示,chrome已经内置了flash云云,假的,还得自己安装。3. 选择操作系统版本与包格式,下载4. 我下载的是.rpm包,完成后双击就自动安装。========================================================================从这儿开始,需要运行一条命令(只一条哦~):安装完成后,flash需要的动态链接库(就是.so文件)会在/lib64/flash-plugin/libflashplayer.so而chrome默认查找的路 阅读全文

posted @ 2012-06-10 00:24 LateStop 阅读(2712) 评论(0) 推荐(0)

【VIM自动补全】NeoComplCache
摘要:NeoComplCache这个自动插件简直屌爆了。用vim.org的官方选项来评价,就是:Life Changing。安装也很简单:1. 下载插件,将里面的文件拷贝到~/vim/vimfile里对应的文件夹下。2. 在.vimrc文件里加入自动启动的命令: let g:neocomplcache_enable_at_startup = 1 或者运行::NeoComplCacheEnable 命令。以上两步官方说明十分齐全。配置:"使用带force的选项,使一个键只帮一个作用。比较清爽" open the snippetimap <silent><C-l&g 阅读全文

posted @ 2011-12-06 12:48 LateStop 阅读(4194) 评论(0) 推荐(0)

Fedora15从命令行启动,gvim反应非常慢的问题
摘要:在~/bash.rc中添加:alias gvim='gvim -f' 添加完后需要Logout一次,变量才能生效。man了一下-f选项,解释如下: -f Foreground. For the GUI version, Vim will not fork and detach from the shell it was started in. On the Amiga, Vim is not restarted to open a new window. This option ... 阅读全文

posted @ 2011-10-16 09:07 LateStop 阅读(949) 评论(0) 推荐(0)

Locale 详解
摘要:<!-- @page { margin: 0.79in } PRE.cjk { font-family: "DejaVu Sans", monospace } P { margin-bottom: 0.08in } H1 { margin-bottom: 0.08in } H1.western { font-family: "Arial", sans-serif; font-size: 16pt } H1.cjk { font-family: "DejaVu Sans"; font-size: 16pt } H1.ctl { f 阅读全文

posted @ 2010-12-29 13:08 LateStop 阅读(551) 评论(0) 推荐(0)

awk {print $2}的讲解
摘要:楼主的提问:/oracle/ID1/saparch"|awk '{print $2}'what does print $2 means?The print $2 part does this.===================================================回答:Say we have a text file containing the following.bob 23 45 hellojim 12 88 byeIf we cat the file and do the awk print $2 thing, we get the 阅读全文

posted @ 2010-12-19 17:47 LateStop 阅读(7119) 评论(0) 推荐(0)

导航