上一页 1 2 3 4 5 6 ··· 63 下一页
摘要: 默认情况下,Vue.js 的单文件组件(*.vue)在 sublime 编辑器中是不被识别的。若要想高亮显示,需要安装插件 Vue Syntax Hightlight。安装步骤如下: 第一,在 sublime 中打开 PackageControl 如下图,快捷键 Ctrl+Shift+P。 第二,打 阅读全文
posted @ 2017-04-25 09:18 麦田守望者~ 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 最近登录某台服务器的mysql时候总报错: Access[root@log01 ~]# mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using pass 阅读全文
posted @ 2017-03-16 12:14 麦田守望者~ 阅读(58400) 评论(1) 推荐(1) 编辑
摘要: body { /* 加载背景图 */ background-image: url(images/background-photo.jpg); /* 背景图垂直、水平均居中 */ background-position: center center; /* 背景图不平铺 */ background-repeat: no-repeat; /* 当内容高度大于图片高度时,背景图像的位置相对于vi... 阅读全文
posted @ 2017-03-14 12:49 麦田守望者~ 阅读(816) 评论(0) 推荐(0) 编辑
摘要: <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>query data</title><style type="text/css"> <!--.normal { font-fam 阅读全文
posted @ 2017-02-07 12:58 麦田守望者~ 阅读(39845) 评论(0) 推荐(0) 编辑
摘要: 如果提示: $(...).ajaxSubmit is not a function 页面js出现TypeError: $(...).ajaxSubmit is not a function 错误。 解决办法是:将jQuery-form.js文件引入页面即可。 jquery-form.js 下载地址: 阅读全文
posted @ 2017-02-07 09:57 麦田守望者~ 阅读(5023) 评论(0) 推荐(0) 编辑
摘要: document.onkeydown = function (e) { var theEvent = window.event || e; var code = theEvent.keyCode || theEvent.which; if (code == 13) { $("#add_submit" 阅读全文
posted @ 2017-01-24 09:34 麦田守望者~ 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 测试demo ------------------------------------------------------------------------------------ 1, 'pid' => 0, 'name' => '一级11' ), array('id' => 11, 'pid' => 0, 'name' => '一级12' ), array... 阅读全文
posted @ 2017-01-17 17:31 麦田守望者~ 阅读(1352) 评论(0) 推荐(0) 编辑
摘要: /** * @Method base64图片上传 * @author 黄国金 * return array * date 2016-1-10 */function saveBase64Image($base64_image_content){ if (preg_match('/^(data:\s*i 阅读全文
posted @ 2017-01-10 16:03 麦田守望者~ 阅读(2163) 评论(0) 推荐(0) 编辑
摘要: redis的操作很多的,以前看到一个比较全的博客,但是现在找不到了。查个东西搜半天,下面整理一下php处理redis的例子,个人觉得常用一些例子。下面的例子都是基于php-redis这个扩展的。1,connect描述:实例连接到一个Redis.参数:host: string,port: int返回值 阅读全文
posted @ 2016-12-22 11:32 麦田守望者~ 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 一、常用的几款ftp服务器软件介绍 1.1 Server-U Serv-U是一种被广泛运用的FTP服务器端软件,支持3x/9x/ME/NT/2K/2000/xp等全Windows系列。可以设定多个FTP服务器、限定登录用户的权限、登录主目录及空间大小等,功能非常完备。 它具有非常完备的安全特性,支持 阅读全文
posted @ 2016-12-16 13:05 麦田守望者~ 阅读(674) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 63 下一页