By Charles on 十一 10th, 2009 | 37 Views
初次安装vim编辑器时,我们必须要配置~/·vimrc文件才能让vim变得更加好用。最少最少,你要配置下面一些内容:
" 不再与老旧的Vi兼容
set nocompatible
" 开启filetype支持
filetype on
filetype plugin on
filetype indent on
" 语法高亮
syntax on
" 这个选项为什么不是默认的?
set hidden
" 执行宏的时候不要更新显示set lazyredraw
" 至少让你知道当前是在什么状态下
set showmode
" 启用增强的命令行自动补全。必须再编译时开启 +wildmenu 选项
set wildmenu
" 更容易的编辑此文件,即vimrc文件。用ev命令表示edit vimrc。
nmap <silent> ,ev :e $MYVIMRC<cr>
" 并且令配置立刻生效,用sv命令表示source .vimrc
nmap <silent> ,sv :so $MYVIMRC<cr>
==========
上面一些选项还有很多我不懂的,以后研究明白了再添加解释。此文就作为我学习使用vim编辑器的起点吧~~
Posted in 工作相关 | Tagged vim
By Charles on 九 4th, 2009 | 134 Views
The Web Standards Project Acid Tests
http://www.acidtests.org/
“An acid test is a test used to confirm that a material such as jewellery is gold.” --- Wikipedia
Keep reading »
Posted in 工作相关 | Tagged test, Web Browsers, web design
By Charles on 八 15th, 2009 | 215 Views
Previously, WPdesigner.com is a blog where the owner of it distributes WordPress themes and helps others with code and design tweaks. In last year, potato, the original owner of the site sold out his site. Now let's have a look, what's new in this site.
On the home page of this site, what you can see is a list of “Best 10 Web Hosting Sites”. These items in this list are picked out according to the credibility and the reputation of these hosting companies, and they are order by Price, Server Up-Time, Reliability, Easy-of-Use, Control Panel and Customer Support. In the end of every item in this list, you can find a link of the review of the specified hosting site. Each review article gives detail of that web hosting site, include its description, plan, ratings and so on.
Although the articles on this site now are not related with WordPress themes or techniques directly, web host information is still very important for our bloggers. If you are a new blogger, and want create your own blog site, I think the web host service provided by the companies on the list are all good choices, especially when you want to create a self hosted WordPress blog.
Posted in Business | Tagged blog, Business
By Charles on 七 21st, 2009 | 973 Views
本文将介绍一个最为简略的搭建SVN服务器的方法。
Keep reading »
Posted in 工作相关 | Tagged server, subversion, usage
By Charles on 七 14th, 2009 | 602 Views
在网上搜出了很多给Hibernate配置连接池的文章,不过基本上都是同一篇文章,介绍了3种连接池的配置方法,我先试验了c3p0,感觉不出有什么快的,只是觉得在并发测试中,减少了出错的概率。那篇帖子最底下,说道社区普遍认为c3p0不够优秀,大家更倾向使用proxool,于是乎,我决定也试试,当然,我自己完全是没任何经验的,纯粹是为了试试。
去proxool下载了最新版本,0.9.1(我用的Hibernate是3.2.5版本,实际上0.9.1配置好后,跑步起来,最后还是用了0.8.3,后面会说的),按照网上普遍能搜到的帖子里的那个方法配置。
Keep reading »
Posted in 工作相关 | Tagged java, programming
By Charles on 七 5th, 2009 | 3275 Views
使用E63,又有一段日子了,这款手机依旧在不断地带给我惊喜,不能说这是最好的手机,但是,这绝对是性价比最高的手机之一了。 在点评狂网站上,E63的评分(9.3),稳稳地领先于其孪生兄弟E71(8.6)。
我前几天,写过一篇关于E63的文章,主要初上手E63时的一些感受,包括对手机外观和功能的简单评价。在这一篇中,我将介绍我最近几天来安装各类E63软件的一点经验。
Keep reading »
Posted in Business, 日 记, 趣 闻 | Tagged Nokia, opinion, usage, user experience
Most Commented Posts