Hello World via Undertow

Undertow is a lightweight and flexible performant web server written in Java. If you want to deploy your web application in a short time and keep high performance, Undertow would be an excellent choice.

Read More

Setup MySQL and Tomcat on AWS Instance

To develop J2EE applications on the remote cloud server, after installing Java on the instance, we need to setup MySQL and Tomcat on it, then load data into MySQL database and sometimes we also need to change the port from 8080 to 80 for Tomcat.

Read More

Prettify JSON on Sublime

In 15619 projects, we always need to deal with data from JSON file. However, most current editors can only present the JSON file without any decoration, which means it becomes very hard to read the JSON file. Fortunately, there is an awesome plugin on Sublime to solve this issue, which is called SublimePrettyJson.

Read More

Install Java on AWS instance and use Java

When we login to an AWS instance, sometimes we want to make sure there are JDK (Java Development Kit) and JRE (Java Runtime Environment) available on it. If there is no available JDK nor JRE, or the version of Java is not compatible, then we need to install them or change the version of them.

Read More

Solution - LeetCode 336. Palindrome Pairs

The key point of this problem is to find whether each word in the given array has a substring which is a palindrome. If so, check other words one by one to see if the concatenation can be a palindrome; or find out a revserse word of the current one.

Read More

SSH to the Remote AWS Instance and Security Copy Files

After launching an AWS instance, we always need to log onto it and do some basic operations, including security copy files or folders, execute java programs and add volumes, etc. Basically, we need to ssh to it first.

Read More

自序

转眼进入找工作的季节了,总觉得与其一味地刷题或看面经,不如把目前所学到的所有东西系统地整理一遍,包括刷题的思路、Cloud Computing 做过的各种项目、走过的各种坑以及怎么从坑里爬出来的。用写作来强化思维,这就是建立这个blog的目的。

Read More

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Read More