In October, I have been keeping watching on my website logs for the whole month. As this is my second time my website is hacked, I take more time to clean the website and try to make sure the site will not be hacked again.
Read more

All miscellaneous articles
In October, I have been keeping watching on my website logs for the whole month. As this is my second time my website is hacked, I take more time to clean the website and try to make sure the site will not be hacked again.
Read more
I don’t have time to write tutorials for a long time. Sometimes it’s too busy for me, but most of the time, I was just too lazy to write. Today, I will share a simple bash script which helps to copy the folder with thousands of files from remote Linux to my Windows laptop. First, it’s usually running a batch file (.bat file) on Windows, but I am not familiar with batch file. For executing Linux bash script on Windows, there are lots of way. I am using the “Git Bash” which is installed when I install the Git client in Windows.
Read more
There is no end to learning. This time, I just have a small step on J2EE, although it’s actually not a very new technology. J2EE starts from 1999, was known as Java 2 Platform, Enterprise Edition. Now it was the most popular platform to develop enterprise applications, especially to develop big platforms. I am a full stake developer who knows html5, javascript, php, mysql, Java and Python. Somebody may think that Java is J2EE. That comment is totally wrong. As my understand, Java is just a programme language, which is used to develop Android apps or Java applications, or J2EE applications. J2EE is a platform. On the platform, we can take the advantage of several frameworks to develop a stable, solid, robust and professional applications, with fewer efforts. When I am writing this article, most J2EE developers are using Spring Boot and Mybatis with Mysql to develop website applications. If the application is more sophisticated, it will also involve other technology such as Redis, Memcached, or Kafka seperately or together. In this post, I will just try to setup an J2EE application with String Boot and Mybatis. For database, I will use MySQL.
Read more
If you are my long-term reader, you may be familiar with my writing style. I’d like to publish some technical tips or guide, which I really applied in real project. Last week, I studied the “Search Engine Optimization (SEO) Starter Guide” here. For some tips in the Guide, I think they are applicable for my website. For example, add “alt” for every images. I have never done that for my site. Consider about the well structured URL, my website also has a big room to improve. Therefore, I decide to do something by following the Google’s guide. Hope I can get some good result after that. Now, here we go!
Read more
For security reason, browser doesn’t allow website to load javascript from other domains by default. It is known as javascript cross domain problem. I remembered that I wrote another post to talk about this when I was working on a iOS project, Ajax HTTPs Reuqest in iOS UIWebview. In that article, I have given 4 solutions for that. Today, I will talk about another issue basing on one of the solution, the Access-Control-Allow-Origin. Before we talk in deep, first let me describe my problem first.
Read more