lc_soul 的文章
-
-
-
[转载]多服务器监控、多VPS监控 —— ServerStatus 一键管理脚本
系统要求 CentOS 7 / Debian 7+ / Ubuntu 14.04 + 推荐 Debian 7 x64,这个是我一直使用的系统,我的脚本在这个系统上面出错率最低。 注意,既然是个 多服务器…… -
CentOS 7关闭默认防火墙
systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 firewall-cmd --state #查看默认防火墙状态(…… -
常用的正则表达式
//正整数 /^[0-9]*[1-9][0-9]*$/; //负整数 /^-[0-9]*[1-9][0-9]*$/; //正浮点数 /^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9]…… -
常用JS功能
11、后退 前进 12、返回 13、查看源码 14、禁止查看源码 15、刷新按钮 1、 function ReloadButton(){location.href="i001.htm";} 2、 16、状态栏…… -
JavaScript取整
丢弃小数部分,保留整数部分 parseInt(5/2) 向上取整,有小数就整数部分加1 Math.ceil(5/2) 四舍五入 Math.round(5/2) 向下取整 Math.floor(5/2) Math 对象…… -
置顶 前端常用JS代码
1、设置Cookie setCookie(参数名, 参数, expiredays) function setCookie(c_name, value, expiredays) { var exdate = new Date(); var times = exda…… -
VPS精简代码
yum remove Deployment_Guide-en-US finger cups-libs cups ypbind yum remove bluez-libs desktop-file-utils ppp rp-pppoe wireless-tools irda-utils yum …… -
WordPress更改新域名
方法一:修改wp-config.php 在wp-config.php中,添加以下两行内容:define('WP_HOME','http://www.newdomain.com');define('WP_SITEURL','http://www.newdoma……