Latest posts

How to Serve Wordpress Site from Subdirectory

Wordpress by default is installed in the root directory var/www/abc.com/public_html. This causes a lot of inconvenience as often we need to install other files into separate subdirectories under root directory. A good installation practice should keep every project in its own subdirectory.

Set Up VPS on Linode - Part 2

Continuing from Set Up VPS on Linode - Part 1, here's Part 2 on DNS (nameserver and IP address), Apache (folder structure, virtual hosts), and enabling HTTPS with SSL certificate from Let's Encrypt.

Set Up VPS on Linode - Part 1

Recently I had to set up virtual-private-server (VPS) for both my personal blog the Good, the Bad, and the Curious and Linkqlo's website. Here is my workflow to set up Ubuntu Linux, Apache server and the server environment on Linode, which is one of the more popular VPS service providers along with Digital Ocean. Linode's Getting Started Guide is a helpful reference for the basics.

排骨煨汤 (Pork Ribs Soup)

湖北人爱喝汤,小时候在家里几乎无汤不成席。武汉北面东西湖的莲藕特别粉嫩,很适合煨汤,跟排骨是绝配。排骨藕汤是最销魂的一道湖北菜,是湖北妈妈召唤海外儿女的超级大招。对湖北人来说,家的味道就是排骨煨汤的味道。可惜在美国从大华超市,Trader Joe's, Whole Foods, 到Mitsuwa都找不到这样的藕。爸爸灵机一动,计上心来,用白萝卜替代莲藕,效果惊艳。2016年湾区的冬天寒风凛冽,阴雨连绵,我们就窝在家里喝了整整一个冬天的排骨煨汤。

湖北汽水肉(Steamed Minced Meat)

汽水肉是一道湖北传统名菜,美味可口,容易消化,特别适合儿童和老人。虽然在湖北家家都做汽水肉,但我在其他地方,不管是北京上海,还是香港新加坡以及北美的各大唐人街,从来没在任何一家餐馆见过这道菜,很奇怪。

上海大馄饨 (Shanghainese Big Wonton Soup)

馄饨在各个地方的叫法不同。四川称为抄手,广东称为云吞,江浙地区称为馄饨。上海馄饨又分为大馄饨和小馄饨。小馄饨吃了不怎么顶事儿,10~15个大馄饨则可以成为很好的午餐了,而且15-20分钟就可以做好。

Our Top 10 Essential Items for Newborn

Since Brandon was born in March, we've been learning the nuts and bolts of parenthood. There are so many decisions to make! Many friends and family members have given us great advice and very useful gifts. Here's a list of the 10 most useful and essential items we would recommend to all our friends who are expecting babies. We're very grateful to these tools. They make our life a lot easier and are indispensable to Brandon's daily routine now.

从海外成为网易云音乐付费用户。。。的代价

2016年在海外听网上音乐,最好的就是网易云音乐,其他的都不值一提,譬如QQ音乐,曲库太差。去年我在网易云音乐上编辑的《一个最低限度的华语歌单》在QQ上有起码2/3的歌都找不到。网易云音乐前几年都是免费的,从曲库广度,质量,内容发现,UX/UI各方面轻松秒杀所有网络音乐平台。2015年底跟腾讯妥协后,为了可以让腾讯允许在朋友圈上分享云音乐,开始走版权化路线。我的很多歌单上的歌一夜之间都因为网易的版权问题无法播放了。

How To Share Files and Photos Without Any Cloud Service

使用情景:用户A把自己电脑上的文件夹分享给用户B

Change Syntax Highlights with Pygments CSS for Pelican Site

My workflow to change syntax highlight colors using Python-based pygments for my Pelican blog