增加参考代码

Signed-off-by: richie@walkbin <richie.wang@outlook.com>