Just some java codes and snippets