Skip to content

Instantly share code, notes, and snippets.

💭
better run than curse the road

唐朝发明家李卫公 liweigong

💭
better run than curse the road
Block or report user

Report or block liweigong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@liweigong
liweigong / gist:98b002d45fba612672ce5f61fd71e4e8
Created Apr 13, 2017
maven 打包编译时候的警告处理
View gist:98b002d45fba612672ce5f61fd71e4e8
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>
------------------------------------------
@liweigong
liweigong / 0_reuse_code.js
Created Oct 12, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.