Sets in Java are a great way of automatically preventing duplicates. By offloading the overhead to a standard library, you save time by not having to remove duplicates on your own or calling a
Read more »
In South Sichuan lies one of the largest concentrations of bamboo in the world. The Shunan Bamboo Sea (蜀南竹海) covers 120 square kilometers of land and contains more than 100 tourist destinations within.
Yesterday, Day 10, was the traditional Mid-Autumn Festival. Traditionally, this day is spent with family, so we didn’t go anywhere.
Today, we went to the Jinli Historic Town, a site dating back to the Three Kingdoms Period (220-280). Back then, it was one of the busiest streets and an important center for commerce. The architecture of the site today closely represents that of the original town, but contains a mix of traditional and modern building occupants.
A couple months ago, I got the iThemes Security WordPress plugin and set the auto-away mode from 12:00am to 6:00am. After all, I’m asleep at those times and it would make no sense to keep my admin login and backend open at these times. Or so I thought. There were nights where I would stay up late, and just recently on my trip to China, I was locked out in the middle of the local time of day!
Obviously in this situation, it’s not possible to unlock yourself by going to your WordPress admin, because it’s locked down. You’ll have to dig into your site’s files, via an FTP client or SSH. When you get to the plugin’s files, one line of code will disable the auto-away lockout until you can change the settings.
Read more »
In Seattle, we have the 605-feet tall Space Needle, world famous for being the centerpiece of the 1962 World’s Fair. Chengdu’s answer to the Space Needle is the 1,112-foot-tall West Pearl Tower. Home to Sichuan Radio and Television, the tower has been in existence for 8 years — younger than the Space Needle — but only opened its observation deck to the public last year.