Skip to content

Instantly share code, notes, and snippets.

View liweigong's full-sized avatar
💭
better run than curse the road

唐朝发明家李卫公 liweigong

💭
better run than curse the road
View GitHub Profile
@liweigong
liweigong / 0_reuse_code.js
Created October 12, 2016 09:37
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@liweigong
liweigong / gist:98b002d45fba612672ce5f61fd71e4e8
Created April 13, 2017 08:42
maven 打包编译时候的警告处理
maven打包编译时后台一直输出警告信息
[WARNING] File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent!
找了半天,原来只要在pom.xml文件中增加一个配置项即可
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
------------------------------------------