2009年1月14日星期三

在无能为力时 顺其自然

总说tmd顺其自然. 顺其就自然了吗? 是啊 说白了,就是符合大自然的规律,爱咋咋地
水龙头上接好管子,顺其自然.水就顺着管子 留到你想去的地方了... 如若管子没接上,顺其自然,那就tmd 哗哗哗 泄下来, 这也要叫顺其自然....
二者同为顺其自然, 却莫大差别.
不论如何,顺其自然总透着那么骨 无奈的味道

2009年1月13日星期二

php 自我编写规范

1. 用拿的准的方式 最快开发 敏捷. 写完一个function 优化, 写完一个class优化

2009年1月12日星期一

php 性能测试

http://bbs.phpchina.com/viewthread.php?tid=100306&extra=&page=1&sid=XJQSZd

2009年1月8日星期四

dired

待整理
http://learn.tsinghua.edu.cn:8080/2005211356/emacs/Dired.html
http://blog.chinaunix.net/u1/54415/showart_1716689.html
http://www.emacs.cn/Doc/Dired
info

2009年1月4日星期日

ido 替代iswitchb

你可能用过 iswitchb。但是当有很多buffer时,iswitchb 还是很慢。你可 以使用ido。这是我见过的最方便的切换buffer,寻找文件的扩展了。在你的 .emacs 文件里加入

(require 'ido)
(ido-mode t)


2009年1月3日星期六

browse-kill-ring(转帖)

http://docs.huihoo.com/homepage/shredderyin/emacs_elisp.html 王垠的东东,很多年前看过,但没想到今日仍给我很大帮助

require 'browse-kill-ring)
(global-set-key [(control c)(k)] 'browse-kill-ring)
(browse-kill-ring-default-keybindings)

方便的在 kill-ring 里寻找需要的东西。

你是不是经常按 C-y 放进一个 kill-ring 里的单元。然后 M-y,M-y,…… 来寻找你需要的很久以前剪切下来的东西?很费事吧?用了 browse-kill-ring 就好了。你只需要把它绑定到一个热键,比如 C-c k: 就能出现这样一个buffer。[查看图形]

kill-ring 里的内容都可以方便的浏览,粘贴。具体操作请在这 个 buffer 里 C-h m 或者 ?.

动态规划学习

http://www.comp.nus.edu.sg/~xujia/mirror/algorithm.myrice.com/algorithm/technique/dynamic_programming/chapter6.htm