一

{"type":"编程笔记"}


  • Home

  • Archives
  • Search

vim中匹配换行符的正则表达式

Posted on 2010-10-01   |   In vim

\s*匹配0或多个空白(比如空格、tab等,不匹配换行)

vim里面,如果要连换行一起匹配,则加个下划线,比如\_s匹配包括换行在内的空白,而\_.匹配包括换行在内的任意字符(注意,后面有个小数点)。

Read more »

ubuntu-10.04下nvidia显卡不定时闪屏的解决

Posted on 2010-10-01   |   In linux

解决方法

在配置文件中添加一行:

Read more »

maven:install在命令行构建成功而m2eclipse中构建失败

Posted on 2010-08-30   |   In java

在命令行中用

Read more »

install sun java on ubuntu 10.04

Posted on 2010-08-08   |   In java

Sun Java moved to the Partner repository

For ubuntu-10.04-lts, the sun-java6 packages have been dropped from the multiverse section of the ubuntu archive. it is recommended that you use openjdk-6 instead.

If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can install sun-java6 packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:

Read more »

find mysqld configure file position

Posted on 2010-07-31   |   In mysql

检查mysqld读取配置文件的位置,可以用下面这个命令:

Read more »
1…464748…99
yuweijun

yuweijun

492 posts
12 categories
RSS
GitHub Twitter
© 2021 yuweijun
Powered by Hexo
Theme - NexT.Mist.KISS