Category Archives: software

Emacs nxhtml mode provides CSS and javascript highlight in html

目前在emacs里面编辑html,无论是html mode还是nxml mode,都没有提供嵌入的CSS和javascript的高亮支持。nxhtml mode提供了很好的高亮支持,同时它是基于nxml mode的,所以是用emacs的web开发者必备。

Posted in emacs | Tagged | View Comments

ScribeFire for Chrome is cool!

之前也用过firefox版的,发布的速度很快,不过总觉得界面怪怪的,不够清爽。现在chrome版的出来,界面非常清爽,有点像iphone里程序的界面了。 不过目前好像不能直接上传图片,只能链接图片。

Posted in software | Tagged | View Comments

Lingoes 2.7: a good choice for english study

Lingoes 2.7’s mini window mode is really convenient. Open mini window and stick it on the top, enable its “Translate selected text”, when selecting a word, the translation will be shown on the mini window automatically. Very handy!

Posted in english, software | Tagged , , | View Comments

How to solve “word 2007 crash”

My word 2007 crash again and again. I find the following tips and it works. Start regedit and find the path: HKEY_CURRENT_USER/Software/Microsoft/Office/12.0/Word, change the folder “data” to “olddata” and “options” to “oldoptions”.

Posted in software | Tagged , | View Comments

PMD plugin for eclipse works incorrectly

I use PMD plugin 3.2.6. Even I remove all rules and recheck my codes again, it still shows the result of the last check. It works after I restart eclipse.

Posted in java, software | Tagged , | View Comments

Switch to snipMate for VIM snippets

I used to use snippets_emu for VIM snippets. But I find snipMate is better, because its snippets are easier to define and more readable. A snippet defination in snimMate is like:

Posted in vim | Tagged | View Comments

Commands on VIM marks

:marks – Display all the bookmarks ma – Creates a bookmark called a `a – Jump to the exact location of the bookmark a ‘a – Jump to the beginning of the line of the bookmark a `. – Jump … Continue reading

Posted in productivity, vim | Tagged | View Comments

Anki sync on my touch works again

I adjust the time on touch and it works again.

Posted in english, software | Tagged , , | View Comments

The easiest way to add an article into evernote from google reader is to “Email” it

We can use a customized link to send an article from google reader to evernote, but it’s very slow. However, email it to the unique email address of you evernote, is easier and faster. Instapaper also come out with a … Continue reading

Posted in evernote, productivity, software, webutils | Tagged , , | View Comments

禁用Windows下的gvim默认的Ctrl+v的行为

在Windows下,gvim的Ctrl+v默认是粘贴,而不是可视块模式。要修改回来,最快的方法就是修改vim的安装目录下的mswin.vim,注释掉里面映射Ctrl+v的两行就可以了。

Posted in software, vim | Tagged | View Comments