Where We’ve Been


Read More

image_pdf

Computing the Optimal Road Trip Across All 47 National Parks in US Mainland

I found an interesting Python project, which is from Randy Olson’s blog.

I wish one day we can visit all the 59 national parks of United States, so I started to look into this project and wanted to come up with an optimal route for a road trip across all 47 national parks in the US mainland.

Result first:
Road-Trip-All-NP-Result

Read More

image_pdf

Memorial Day Long Weekend Road Trip to Maine

This was actually our first formal road trip. We visited Portland, ME and Acadia National Park.

Acadia-Jordan-Pond
Jordan Pond – Acadia National Park

Read More

image_pdf

Fixing the PHP Blank Page Issue After Upgrading to Nginx 1.10

I hate upgrading, every time, something will break.

This time, it seems you need to add the following line to /etc/nginx/fastcgi_params

fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_name;

Read More

image_pdf

How to Migrate from Apache to Nginx

I migrated my LAMP site to LNMP.

“Although the Apache web server is currently the most popular web server in the world, Nginx is gaining ground at a rapid rate. This is unsurprising, considering that Nginx performs excellent while using few resources. For many websites, a migration to Nginx would improve performance.”

Here is a good tutorial: Click me

Read More

image_pdf

How to setup VPN server on Ubuntu VPS

Setup VPN on a Ubuntu VPS (I’m using Linode)

Read More

image_pdf

Lego Batman Tumbler!

A birthday gift from my wife!


Read More

image_pdf

Puerto Rico – Sun, Sea and Sand

Thanksgiving trip to the sunny Puerto Rico!


Read More

image_pdf

盐湖城-大提顿-黄石 游记

整个盐湖城-大提顿-黄石旅行约一星期,时间足够很充裕,行程安排自认为非常合理,可供参考。

Morning Glory Pool
Morning Glory Pool

Read More

image_pdf

Where are Django source files?

Run the following command:

python -c "
import sys
sys.path = sys.path[1:]
import django
print(django.__path__)"

Read More

image_pdf