苦瓜胡萝卜炒鸡蛋做法

  • 菜谱
  • 尽量切小丁
  • *小火*煎蛋
  • 我先炒了胡萝卜

http://blog.binchen.org/wp-content/uploads/2013/08/wpid-bitter-melon-carrot-fried-egg.jpg

Take bavarian tasting platter at Bavarian Bier Cafe Parramatta

http://blog.binchen.org/wp-content/uploads/2013/08/wpid-bavarian-tasting-platter-01.jpghttp://blog.binchen.org/wp-content/uploads/2013/08/wpid-bavarian-tasting-platter-02.jpg

豆瓣酱盖交饭做法

  • 这是菜谱
  • 一开始油可能要多点,我的猪肉太精了,没有逼出油来
  • 豆瓣酱慢慢炒

http://blog.binchen.org/wp-content/uploads/2013/08/wpid-doubanjiang-rice.jpg

my salad

As my friend said,this avocado sauce is better: http://blog.binchen.org/wp-content/uploads/2013/08/wpid-avocado-salad.jpg

南瓜粥作法

  • 三杯米,南瓜一个
  • 南瓜切小块,越小越好,因为不打算煮太长时间粥,而南瓜要完全溶解
  • 南瓜切皮的诀窍在于南瓜开水泡两分钟.参考阿基师教你切南瓜皮
  • 米要冷水浸泡20分钟
  • 放入南瓜和米后,煮开,然后到入麻油(防止粘锅底),小火烧一小时,不断搅拌粥
  • 取决于口味可以加糖

http://blog.binchen.org/wp-content/uploads/2013/08/wpid-pumpkin-porridge.jpg

牛肉面作法

http://blog.binchen.org/wp-content/uploads/2013/08/wpid-beef-noodle-ingredients.jpg

  • 牛肉开水烫过
  • 加入面,牛肉粉拌入
  • 打入一个生鸡蛋

http://blog.binchen.org/wp-content/uploads/2013/08/wpid-beef-noodle-finished.jpg

How to manage emacs packages

I have 168 packages installed through Emacs package manager. And I shared my emacs.d at github.

So these days I have been spending much time on solve the issues for people who use my .emacs.d.

The root cause of most issues is the packages downloaded from melpa are not stable enough.

That's understandable because packages hosted at melpa are built automatically from developers' git repositories.

Now here is my solution:

  1. I use more stable packages from other repositories if possible.
  2. I use whitelist to explicitly list the packages I want to install from melpa.

White list because although packages on non-melpa are more stable, there are still some exceptions.

For example, the package "erlang" exists both in melpa and marmalade. But only the version at melpa is usable.

Now I need show you the code. See my init-elpa.el at github for configuration. Especially the code related to variable "melpa-include-package".

Use `git send-email' at ubuntu

When I try to use `git send-email' at ubuntu 13.04, I get error message some perl modules are missing.

So here is one line command to install all missing perl modules:


sudo cpan Error Net:SMTP:SSL MIME::Base64 Authen::SASL


One liner bash to create/update playlist for mpd

I put all my audio files in ~/Music.

The below script create a playlist in m3u format and ask mpd to load it:

cd ~/Music;find . -name '*.mp3' -o -name '*.flac'|sed -e 's%^./%%g' > all.m3u;mpd ~/.mpd/config;mpc clear;mpc load all.m3u;mpc update

Here is content of my ~/.mpd/config which is basically only a copy from official sample configuration:

# See the mpd.conf man page for a more detailed description of each parameter.
music_directory     "~/Music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"

How to install Emacs source code under Ubuntu

Only one command:

sudo apt-get install emacs24-el

How I locate that package emacs24-el:

sudo apt-get install apt-file;sudo apt-file update;
apt-file search help.el.gz

BTW, I assign hot key C-h C-f to command find-function which "Find the definition of the FUNCTION near point".