WordPress Plugin Localization with NPM and Grunt

On November 13, 2016, in Other Online Technology, by James Liu

Localization is very important if you want your applications to be used world wide. These days I was trying to create a WordPress plugin and my last job is localizing it in Chinese version. WordPress uses the gettext libraries and tools for i18n (internationalization). Though PHP provides a great built-in functions for localization, WordPress defines its own function __() to handle the job. In WordPress developer website, they only provide the direction but not the details about how to localize the plugin. I spend two days to successfully localize my WordPress. I find the materials is not enough on WordPress website and it’s better to gather all information in one page. Therefore, I decide to write this WordPress plugin localization guide. This tutorial will demonstrate how to localize a WordPress Plugin step by step.
Continue reading »

 

Git Tutorial for Beginners

On November 9, 2016, in Other Online Technology, by James Liu

Today, everybody is using Git to manage project version control job. Here I don’t want to mention how hot the Git is. But I want to say that if you don’t know how to use Git, you will be out of the IT industry. As an old IT developer, I has been working on SVN for several years. To be honest, it is tough to move from SVN to Git, though Git is a little bit similar with SVN. However, we must follow the trend. The best way to learn how to use Git is starting a new project and using Git to manage the version control in command line. In this post, I will record how I start my first project with Git. I think it will be very helpful for another people who is new to Git. As a beginner, I may make some mistakes here. So please leave a reply if you find any mistakes.

Continue reading »

 

5 Tips to Clean Hacked Joomla Website

On October 23, 2016, in Other Online Technology, by James Liu

This is my first time to realize how important to keep a website secure. Actually, it is my second time as my another WordPress website got hacked several months ago, and I posted an article “5 Steps to Clean Hacked WordPress Website” to share how I clean my WordPress website from hacking. But this time, the job is much tougher. Joomla is more complicated than WordPress (of course more powerful). Therefore, clean a hacked Joomla website become a very annoying job.
Continue reading »

 

Linux Cloud Server Configuration Handbook

On October 23, 2016, in Other Online Technology, by James Liu

Cloud computing is famous since early 2000. Now it becomes to be necessary for any companies who want to host a website, run an online service, or start e-commerce business. To cut the cost, Linux will be the first choice, just because it is powerful but free. However, for people like me who don’t have any experience with Linux server, it could be a little bit hard to handle. I think it will be helpful to share my 3 days experience on Linux cloud server.
Continue reading »

 

The Best Outdoor Portable Charger: Solar Powered Battery Charger

On June 8, 2016, in Other Online Technology, by James Liu
The-Goal-Zero-Yeti-Solar-Generator-with-Solar-Panel

It is a long time ago that cell phones could last for weeks before they needed to be charged up. With the advances in technology for cell phones—smart phones are essentially small computers—it’s only logical that the battery needs to be charged more often.

If you’re like me, you’ve definitely had more than one “scary” moment when you realized that you needed to charge your phone but didn’t have an outlet you could plug your traditional charger into. For a while, my solution was to use a car charger, but that’s not always feasible. I didn’t like having to leave events to sit in my car and wait for my phone to charge.

Eventually, I overheard one of my friends talking about an outdoor portable charger. I did some research on my own and came across the concept of portable solar powered battery charges. So not only were the chargers portable, they ran on solar energy—a win win. I made it my little mission of sorts to find the very best outdoor portable solar powered charges for smart phones, and I hope this information will be useful to anyone with the same dilemma I used to have.
Continue reading »

 
Free WordPress Theme