Wednesday, April 29, 2009

成都-重庆

将要回重庆了,比较平静,只是在想着自己的创业之路该如何走

Wednesday, April 15, 2009

Emacs skeleton-pair Funcionality

> I have enabled skeleton-pair funcionality with what I have found in here:
> http://littlechina.org/~cmarcelo/paren-experiment.el
> It works in most modes, but in C++ mode it only works for [ and not for (,{
> or ".

Try:


(define-key c-mode-base-map (kbd "(") #'skeleton-pair-insert-maybe)
;; same for the other keys here...

or

(add-hook 'c-mode-common-hook
  #'(lambda ()
  (local-set-key (kbd "(") #'skeleton-pair-insert-maybe)
  ;; same for the other keys here...
  ))

If you don't like the way skeleton decides whether to insert a pair or
not but to insert a pair always use `insert-pair' instead of
`skeleton-pair-insert-maybe'.

Some thing others.

Monday, April 13, 2009

Aptana and XULRunner

If you want use aptana on Debian lenny, another words if you want run aptana on XULRunner 1.9 version, you will get error, so you must run aptana with XULRunner 1.8 version (year 2006 version).

Sunday, April 12, 2009

When Some Module make Error

When you disable some module, If it make some error you need enable  it again, but you found that the module build page error also, you can edit 'system' table in your MySQL database at this time. good luck.

Tuesday, April 7, 2009

Drupal , Hello Again

Drupal , best CMS framework in the world, hello again. Working with drupal again, dreaming again.

Monday, April 6, 2009

Three Days Holiday

Not good, not bad. Time is going on.

Wednesday, April 1, 2009

听范逸臣

1ting上下载了范逸臣的专辑,说实话,以前听过,不过现在听起来还是不错。