- 博客(7)
- 收藏
- 关注
转载 ZZ指令重排序
ZZ http://ifeve.com/java-memory-model-2/ZZ http://blog.csdn.net/wxwzy738/article/details/43238089ZZ http://www.th7.cn/Program/java/201312/166504.shtml一、不得不提的volatilevolatile是个很老的关键字,
2016-02-03 16:06:35 246
转载 ZZ How to Flush Memory Cache on Linux Server
http://tecadmin.net/flush-memory-cache-on-linux-server/#Many times systems faced low memory issues of Linux systems running a while. The reason is that Linux uses so much memory for disk cache
2016-01-27 18:15:09 336
原创 maven 更改compile版本至java 1.7,添加第三方jar包
pom.xml中添加 org.apache.maven.plugins maven-compiler-plugin 2.3.2
2015-10-30 11:04:06 902
转载 linux给用户添加sudo权限
http://blog.chinaunix.net/uid-25305993-id-126661.htmllinux给用户添加sudo权限: 有时候,linux下面运行sudo命令,会提示类似: xxxis not in the sudoers file. This incident will be reported. 这里,xxx是用户名称,然后导致无法执行sudo命令
2015-10-10 11:02:10 213
转载 shell笔记
shell sed 和正则表达式 http://blog.sina.com.cn/s/blog_6e5741fd0100ziwd.html http://blog.sina.com.cn/s/blog_807992170100sy95.htmlshell中if条件字符串、数字比对,[[ ]]和[ ]区别http://www.cnblogs.com/include/arch
2015-09-23 18:29:53 195
转载 File permissions: why can't I list a directory?
I am able to list directories in a root shell,root@ThinkPad:~# ll /media/total 36drwxr--r-- 6 root root 4096 2011-05-12 16:41 ./drwxr-xr-x 22 root root 4096 2011-05-12 13:14 ../drwxr-xr-x 5
2015-09-18 16:31:57 235
转载 Log4j2 使用示例
项目开发记录log需要用到Log4j2,稍作笔记在此首先需要添加两个包log4j-api-2.3.jar和log4j-core-2.3.jar, 然后如图所示到Hello类就可以编译通过。然后需要一个配置文件log4j2.xml, 该文件需要放在LoggerTest的 java classpath下,其内容如下:
2015-09-16 14:20:24 485
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人