摘要: 解决方法 阅读全文
posted @ 2018-12-04 19:00 Blon 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 准备: 主服务器 192.168.0.1 备份服务器 192.168.0.2 备份服务器 注意需要开放873端口 而且小心selinux 开始: sudo vim /etc/rsyncd.passwd rsync_user:123456 注意格式,每行一个用户名:密码 sudo chmod 600 阅读全文
posted @ 2017-10-12 23:43 Blon 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 1.官网下载所对应的php 版本http://php.net/get/php-5.3.29.tar.gz/from/a/mirror 2.解压 找到需要的扩展目录 例如我要的是shmopcd ~/Downloads/php-5.3.29/ext/shmop 3.执行你所用php版本的phpize 而 阅读全文
posted @ 2017-09-28 12:34 Blon 阅读(1140) 评论(1) 推荐(0) 编辑
摘要: 1. 安装osxfusehttps://osxfuse.github.io/ 2. 安装brewhttps://brew.sh/index_zh-cn.html 3. 安装ntfs-3gbrew install ntfs-3g 4. 替换本地的mount_ntfs 文件sudo mv /sbin/m 阅读全文
posted @ 2017-09-24 23:08 Blon 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 如果需要 禁用IP 访问并且 需要 HTTP 跳转到 HTTPS 阅读全文
posted @ 2017-08-24 14:41 Blon 阅读(2266) 评论(0) 推荐(0) 编辑
摘要: 有的情况下 我们会用到 类似命令行 sftp -o IdentityFile=.ssh/identity username@host方式 登陆, 想用php 操作, 但是 php 现在看是不支持的, 因为 它只支持SSH2这种方式是 SSH1 太老了 所以 用下面这个扩展https://github 阅读全文
posted @ 2016-03-02 16:28 Blon 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 我们一般会在loading 效果的时候会用上这两个全局事件ajaxStart 和 ajaxSend但是要注意的是 在同时有多个ajax 执行的时候ajaxStart 只会执行一次所以一般情况下 请用ajaxSend不过ajaxSend也有个比较坑的是----如果直接打开页面的时候有两个ajax需要执... 阅读全文
posted @ 2014-10-28 22:15 Blon 阅读(655) 评论(0) 推荐(0) 编辑
摘要: document.documentElement.offsetHeight 阅读全文
posted @ 2014-08-27 10:54 Blon 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 执行安装sudo go get github.com/nsf/gocode提示:cannot download, $GOPATH not set. For more details see: go help gopath解决方案:sudoenvGOPATH=/Users/blon/go go get... 阅读全文
posted @ 2014-07-25 23:28 Blon 阅读(5272) 评论(0) 推荐(0) 编辑
摘要: http://metroui.org.ua/挺不错 bootstrap 系列的。 阅读全文
posted @ 2014-06-27 20:03 Blon 阅读(143) 评论(0) 推荐(0) 编辑