3 Most Common Import Problems in Python

On May 17, 2017, in Other Online Technology, by James Liu

I am working on Python language programming these days. It’s my first time to work with Python. From my point of view, it’s so easy to learn and it’s very efficient to write app with Python. Compare with PHP or Java, it saves me a lot of time to write extra code. During the time, the most difficult problem I’ve met is the module management. In this post, I will share the most 3 common import problems in my Python project.

Continue reading »


Detect Client IP Address by PHP

On April 28, 2017, in Other Online Technology, by James Liu

When building up a PHP based website, backend application or service, we may need to trace the number of usage by tracking the visitors IP address, even though it could not be the best way to identify an unique user. At the time when I am writing this article, there are several ways to get IP from Google search.
Continue reading »


New Ideas in 2017

On March 28, 2017, in Other Online Technology, by James Liu

It seems to be a little bit late to write ideas for 2017. However, during the Chinese New Year festival, I finally get some time to think about it. All ideas here are short time hit in my mind. Therefore, they could be total wrong 🙂 However, it’s still worth to write down in case you can find some value when you read it or when I read it in the later of this year.
Continue reading »


Work on Mac

On February 26, 2017, in Other Online Technology, by James Liu

I am a 10 years old Windows user, but switch to Mac in this year. Lots of people say that Mac is so user friendly and easy to use. However, at the beginning, I don’t feel that, just like all other Windows users. The reason I switch from Windows to Mac is because of the iOS development. Of course I am also working on HTML, Javascript, PHP and Android. Therefore, I have to move all my daily work on Mac now. In this article, I will write some tips about how to use Mac, for new users who have been working on Windows for years.
Continue reading »


A Simple Guide to Create WordPress Plugin

On January 25, 2017, in Other Online Technology, by James Liu

WordPress is widely used to create personal blogs and company website because of its powerful plugin system. The original WordPress only provides a simple system to help people create blogs. Thanks for its flexible plugin system, now WordPress is used to setup any type of website, including blogs, company website, ecommerce website, and even help desk website. With the powerful plugin system, we can use WordPress to do everything. If you know how to create WordPress plugin, it’s definitely a great skill for your career.

Last year, I spent one week to create my first WordPress plugin. In this year, I spent another two weeks to create a new WordPress plugin. After these two plugins, I think it’s time to write down something. The most difficult part when I am creating WordPress plugin is to find the right way implement the feature I want, though WordPress provides a very complete developer manual. But if I want to go through the full developer document, it may take me several months (someone may be faster than me). To make the development process faster, I will share my experience with you, though I just finish two WordPress plugins. By the way, my way to create WordPress may not be correct, but it just works. If you find any mistake or incorrect approach, please leave your comment below.
Continue reading »

WordPress Themes