先创建一个swap文件,一般来说 内存低于2G的情况下,swap大小建议为内存的2倍。内存大于2G的情况下,s … Continue reading Linux设置SWAP文件
SVG1.1中蒙版效果的实现
首先介绍一下蒙版效果。如下图所示 这种在某个图形,如原型中,以某种图形进行填充的效果。这个填充效果就被称之为蒙 … Continue reading SVG1.1中蒙版效果的实现
Eclipse Mars: 停止 Updating Error Reporting Database
进入 Window->Preferences-> Startup and Shutdown -&g … Continue reading Eclipse Mars: 停止 Updating Error Reporting Database
OSGI helloWorld项目启动失败解决
启动报错 Exception in org.eclipse.mylyn.internal.monitor.ui … Continue reading OSGI helloWorld项目启动失败解决
【转】关于java中Pattern.compile函数的相关解释
Pattern.compile函数:Pattern Pattern.compile(String regex, … Continue reading 【转】关于java中Pattern.compile函数的相关解释
sed 替换文件中字符
linux shell 查询access.log 访问量
#统计key为 wanzitest20170118105738=[a-zA-Z0-9] 并忽略大小写统计iPh … Continue reading linux shell 查询access.log 访问量
svn查看历史版本时 Item is not readable 的解决方案
我自己建了一个SVN 给其他人的权限只分配到了对应工程。并没有/的权限。 用户有反应说无法查看历史。这种情况 … Continue reading svn查看历史版本时 Item is not readable 的解决方案
Centos7定时监测mysql进程终止后自动启动mysql
编写脚本 /root/mybatch/listen.sh chmod 777 /root/myb … Continue reading Centos7定时监测mysql进程终止后自动启动mysql
centos7安装docker
1.检查前提条件使用命令 来确认是否安装了3.8或更高的内核 2.检查Device Mapper … Continue reading centos7安装docker