摘要: 在Centos 6.6环境使用系统自带的internal-sftp搭建SFTP服务器。 打开命令终端窗口,按以下步骤操作。 0、查看openssh的版本 1 ssh -V ssh -V 使用ssh -V 命令来查看openssh的版本,版本必须大于4.8p1,低于的这个版本需要升级。 1、创建sft 阅读全文
posted @ 2016-08-02 22:50 淘代码 阅读(199) 评论(0) 推荐(0) 编辑
摘要: eclipse内存溢出错误: An out of memory error has occurred.Consult the "Running Eclipse" section of read me file for information on preventing this kind of er 阅读全文
posted @ 2016-08-02 22:49 淘代码 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 一些常见的状态码为: 200 - 服务器成功返回网页 404 - 请求的网页不存在 503 - 服务不可用 详细分解: 1xx(临时响应) 表示临时响应并需要请求者继续执行操作的状态代码。 代码 说明 100 (继续) 请求者应当继续提出请求。服务器返回此代码表示已收到请求的第一部分,正在等待其余部 阅读全文
posted @ 2016-08-02 22:48 淘代码 阅读(699) 评论(0) 推荐(0) 编辑
摘要: ueditor.config.js文件中设置enableAutoSave参数为false就可以关闭本地保存功能。 //启用自动保存 1 ,enableAutoSave: false ,enableAutoSave: false ueditor1.4.3版本是没有效果的,需要修改代码,在ueditor 阅读全文
posted @ 2016-08-02 22:47 淘代码 阅读(1617) 评论(0) 推荐(0) 编辑
摘要: php正则匹配用户名必须包含字母和数字且大于6位 php正则匹配用户名必须包含字母和数字且大于6位 正则表达式 ^(?![^a-zA-Z]+$)(?!\D+$).{6,}$ 测试 $str = '9955aaa222222'; if(preg_match('/^(?![^a-zA-Z]+$)(?!\ 阅读全文
posted @ 2016-08-02 22:23 淘代码 阅读(5440) 评论(0) 推荐(0) 编辑