1.创建当前的点得taggit tag -m "Say something" v1.02.创建某个commit的标签git tag -a v_2014 48969356e18cd1c664624be0286a335e29a29acb -m "the end of 2014"3.提交到服务器git... Read More
centos 自带apache(httpd)不用安装1.查看linux 版本号方法1:cat /etc/redhat-release/etc/redhat-release配置文件用一行内容来声明 Red Hat 的名称和版本号。 由 rc.local 使用.方法2:查看rpm包版本rpm -q ce... Read More
1.前台表单通过js过滤掉特殊字符function stripscript(s) { var pattern = new RegExp("[`~!@#$^&*()=|{}':;',\\[\\]./?~!@#¥……&*()——|{}【】‘;:”“'。,、?\"]"); var rs = "... Read More