When using Pentadactyl in XP, I found the hints are too small to distinct. It doesn’t happen when I run Ubuntu. Anyway, I googled and figured it out. Here I think I should take a note, in case my memories don’t serve me some day. Actually Pentadactyl do leaves a lot of options, but sometimes I just don’t know how to change them.
First of all, if you don’t have any idea what Pentadactyl is, then this post maybe not worth your time.
Secondly, I should tell you about my system environments: Ubuntu 11.04; Firefox 6.0. If yours are differ from mine, I suppose it will still be ok, in most of the cases, they share the same steps.
Now, let’s start.
Why use Firefox? It’s the only browser what can have Pentadactyl as the add-on.
Why use Pentadactyl? It’s vim-like add-on, designed for some keyboard addicted users to make life easier and more efficiently. If you ever heard about vim, you should know how powerful it is.
Why bother to use encrypted google search engine? It’s really something personal, I like it, because I like it. If you insist to ask, I think the main reason is I don’t want my search queries to be intercepted. Besides, it makes me cool and different.
In Pentadactyl, when you want search something, just type “o”(open the results in current tab) or “t”(open the results in new tab) followed the search words. By default, Pentadactyl use google as the search engine, Not google ssl. So how to change it? Add it as a bookmark will be the first step. Since we use Pentadactyl, let’s do it in some cool way:
Press “Enter” to execute the command. And now you add it to your bookmark. Then press “:” again to type another command.
Command no.1: “-keyword” is an option for you to name a search engine which will be used in the second command. The url I provided maybe only functional in my system environment, I’m not sure. But if it doesn’t work, you could find it by yourself. AND it’s more easier.
接下来又发生胸闷的事，测试时，有留言被回复确实是会给被回复者发信，但邮件打头是(Unknown sender) ，这当然也是个不能接受的结果。查了一下碰到的人不多，本来想通过代码解决，mail函数也找不到，放弃了。根据这篇文章，下载了wp mail from解决。测试一下也成功了，至此终于马马虎虎地搞定了留言回复的邮件通知功能，虽然写下来好像没什么实质内容，但其实经历了无数试错，太痛苦了。。。而且一个问题的解决伴随的是无数新问题的产生，我发现我代码一长就看不懂，个人域名邮箱也完全不会配，WordPress果然是个催人不断折腾的好工具啊，下次有心得了再来写。
Just take a note, maybe I will use it someday. My memeries do not always serve me, tha’s so sad, -_-!!
As we all know WordPress saves your drafts automatically, that leaves a lot of revisions as backups on the server. It’s good, who wouldn’t piss off if he typed for a long time and encountered some accidents like computer shut down for no reason. But on the other hand, when my articles posted, in most of the cases, I don’t need these revisions any more. Leaves them on the server as redundancy is useless and I guess they are adverse to the server’s performance. O.K., then things get really simple: KILL THEM ALL!
Try to access your WordPress database through some tools like phpMyAdmin(that’s the only tool I familiar with…), follow the steps below:
type the following codes
DELETE FROM wp_posts WHERE post_type = "revision";