using the Gravatar in WordPress.

Gravatar is Globally Recognized Avatar, It can be identified by your email address or ID in http://www.gravatar.com/.

The Great WordPress supported gravatar system above version 2.5, we can show the avator icon by the function get_avatar(); I patch my theme (comment.php) this afternoon, and let it supported the gravatar icon. if you wants your WordPress to support the gravatar, please follow the steps:
Continue reading “using the Gravatar in WordPress.”

handmade cpu copper cooler for Dell XPS M1330

My friend Dandy Sun has a Dell XPS M1330, it was a “hot machine”. so he made a cpu copper cooler in his own factory yesterday.

now, his notebook got a “cool” cpu.

I’d like to ask him to made one for me, but unfortunately, he is in mainland China now.
if you are interested in this staff, please visits his blog: Dell XPS M1330 散熱器改裝記錄.

That which we call a rose by any other name would smell as sweet.

JULIET:

It’s only your name that is my enemy;
You are yourself, not even a Montague.
What’s “Montague?” It is not a hand, or a foot, or an arm, or a face, or any other part belonging to a man.
O, be some other name!

What’s in a name? That which we call a rose would smell as sweet if it had any other name.

So Romeo, if he wasn’t called “Romeo,” would retain that dear perfection which he has without that title.

Romeo, throw your name away;
And for that name, which isn’t part of you, take all of me.

Shakespeare’s Romeo and Juliet (II, ii, 1-2), 1594

WordPress 加速!

WordPress Optimization 有很多方法,根據 Codex 裡面的 WordPress Optimization/Cheat Sheet 有幾個方向:

Server Optimization

  • DNS onto a separate server
  • Web Server optimization –
  • PHP acceleration / optimization –
  • MySQL tweaking (query cache, etc) –

WordPress Performance

  • Remove unused plugins –
  • Optimize plugins
  • Optimize themes, hardcode static vars, etc –

Offloading

  • Offload static files to separate server
  • Optimized web servers like publicfile, lighttpd, etc
  • Offload feed traffic

Caching

  • WP-Cache / Lightpress –
  • Browser caching
  • Web server caching

Adding Database Servers

Continue reading “WordPress 加速!”

MySQL 資料庫儲存引擎的選用

最近在工作上遇到一個資料庫的問題,主要是 MySQL 儲存引擎的選用。但我對各種儲存引擎其實不甚瞭解,在應用上往往也是用預設值,現在面臨了嚴重的問題,只好查資料來幫我釐清觀念。

這篇文章主要討論 Memory, MyISAM, InnoDB 三種儲存引擎,因為我只選用這三種。首先,先看個我做了很久的表格吧!
Continue reading “MySQL 資料庫儲存引擎的選用”