私人领地
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: php_memcache.dll下载地址:http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/ 查看php线程:phpinfo Thread Safety: enable(ts)或 disable(nts) 阅读全文
posted @ 2018-08-01 10:24 狂奔的蜗牛Snails 阅读(204) 评论(0) 推荐(0)
摘要: 依赖库 云安装 源代码安装 如果./configure 编译不通过 作为后台服务运行 链接 监听状态 修改监听端口为0.0.0.0 阅读全文
posted @ 2018-07-31 18:48 狂奔的蜗牛Snails 阅读(206) 评论(0) 推荐(0)
摘要: 一.检查 1、[root@localhost ~]# telnet bash: telnet: command not found 2、 查询了是否安装Telnet包,结果如下: [root@localhost ~]# rpm -qa telnet* telnet-server-0.17-47.el 阅读全文
posted @ 2018-07-31 17:10 狂奔的蜗牛Snails 阅读(23788) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-07-20 16:19 狂奔的蜗牛Snails 阅读(2) 评论(0) 推荐(0)
摘要: RedisDesktopManager 链接 文件位置 /usr/loca/redis/etc/redis.conf 一、注释redis.conf文件中的:bind 127.0.0.1(在一段文字之前打#号为注释) 二、设置密码。 为了安全一定要设,而且这里如果不绑定ip也不设密码的话,redis是 阅读全文
posted @ 2018-07-13 16:37 狂奔的蜗牛Snails 阅读(1130) 评论(0) 推荐(0)
摘要: redis下载:https://redis.io/download redis可视化工具: redis-desktop-manager :https://redisdesktop.com/download Redis Client 先安装依赖包 redis安装: 安装完成: 启动redis 将red 阅读全文
posted @ 2018-07-13 10:37 狂奔的蜗牛Snails 阅读(153) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-07-11 17:43 狂奔的蜗牛Snails 阅读(3) 评论(0) 推荐(0)
摘要: public、protected、private、abstract 、static public:权限是最大的,可以内部调用,实例调用等。 protected: 受保护类型,用于本类和继承类调用。 private: 私有类型,只有在本类中使用。 abstract:定义的类不能被实例化,只能被子类继承 阅读全文
posted @ 2018-06-08 17:15 狂奔的蜗牛Snails 阅读(110) 评论(0) 推荐(0)
摘要: 前提:必须先安装好php mysql版本:8 把解压出来的文件放到 网站根目录下wwwroot/phpmyadmin,把域名(phpmyadmin.xx.com)解析到目录下 进入phpmyadmin目录 改一:找到$cfg['blowfish_secret']配置项,后面默认为空,这里我们可以随便 阅读全文
posted @ 2018-05-29 22:50 狂奔的蜗牛Snails 阅读(2205) 评论(0) 推荐(0)
摘要: 报错:Host is not allowed to connect to this MySQL server解决方法 先说说这个错误,其实就是我们的MySQL不允许远程登录,所以远程登录失败了,解决方法如下: 在装有MySQL的机器上登录MySQL mysql -u root -p密码 执行use 阅读全文
posted @ 2018-05-29 22:37 狂奔的蜗牛Snails 阅读(3208) 评论(0) 推荐(0)
摘要: /etc/init.d/iptables status 查看防火墙信息 chkconfig --level 35 iptables off 永久关闭防火墙 /etc/init.d/iptables stop 临时关闭防火墙 /etc/rc.d/init.d/iptables save 或者 serv 阅读全文
posted @ 2018-05-28 22:31 狂奔的蜗牛Snails 阅读(234) 评论(0) 推荐(0)
摘要: swiper默认最小高度150 要求:swiper高度自适应 wxml wxss wxjs 阅读全文
posted @ 2018-05-28 16:55 狂奔的蜗牛Snails 阅读(7739) 评论(0) 推荐(0)
摘要: 必须建立两个模型分类模型(attr)、文章模型(article) attr模型 article模型 hasOne(一对一关联) 关联查询 查询出来的是article内容(只有一条数据)。比如:一个用户,只有一份身份信息 关联保存 hasMany(一对多关联) 控制器调用 输出结果:只有article 阅读全文
posted @ 2018-05-24 15:14 狂奔的蜗牛Snails 阅读(2598) 评论(0) 推荐(0)
摘要: 111 阅读全文
posted @ 2018-05-23 18:16 狂奔的蜗牛Snails 阅读(2034) 评论(0) 推荐(0)
摘要: mysql下载地址:https://dev.mysql.com/downloads/mysql/ 手动安装(手动安装比较麻烦,建议云安装) 1.下载,解压 将解压出来的文件,移动到usr/local/mysql 2. 添加系统mysql组和mysql用户: 3.安装数据库 云安装:https://d 阅读全文
posted @ 2018-05-21 22:47 狂奔的蜗牛Snails 阅读(502) 评论(0) 推荐(0)
摘要: wxjs wxss wxml 效果:滚动到一定距离后显示Top样式 阅读全文
posted @ 2018-05-21 14:32 狂奔的蜗牛Snails 阅读(11478) 评论(0) 推荐(0)
摘要: 安装 云安装 手动安装: php版本 http://www.php.net/downloads.php 安装php依赖库 yum install libxml2 yum install libxml2* -y yum install libpng yum install libpng-devel y 阅读全文
posted @ 2018-05-19 23:27 狂奔的蜗牛Snails 阅读(706) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-05-17 22:55 狂奔的蜗牛Snails 阅读(30) 评论(0) 推荐(0)
摘要: 1.建立wwwroot(/home/wwwrooot) 另建立一个wwwroot/test/index.html(网站目录) 2.建立vhost文件(/usr/local/nginx/conf/vhost) 3.配置nginx.conf,加入:include vhost/*.conf; 另配置vho 阅读全文
posted @ 2018-05-17 22:55 狂奔的蜗牛Snails 阅读(19356) 评论(0) 推荐(0)
摘要: nginx开机启动 1.首先,在linux系统的/etc/init.d/目录下创建nginx文件 2.加入脚本 1 #!/bin/bash 2 # nginx Startup script for the Nginx HTTP Server 3 # it is v.0.0.2 version. 4 阅读全文
posted @ 2018-05-17 22:53 狂奔的蜗牛Snails 阅读(3367) 评论(0) 推荐(0)
摘要: 文章 Linux防火墙iptables配置详解 https://www.linuxidc.com/Linux/2017-01/140074.htm 故障 1.nginx: [error] invalid PID number "" in "/usr/local/webserver/nginx/log 阅读全文
posted @ 2018-05-16 23:03 狂奔的蜗牛Snails 阅读(182) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-05-10 19:38 狂奔的蜗牛Snails 阅读(1) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-05-10 15:58 狂奔的蜗牛Snails 阅读(0) 评论(0) 推荐(0)
摘要: iconv方法是为了防止中文乱码,保证可以创建识别中文目录,不用iconv方法格式的话,将无法创建中文目录 mkdir方法的第一个参数是要创建的目录路径,第二个参数是指创建目录的权限,在windows系统下该参数会被忽略,第三个参数是指是否创建多级目录,默认为false 阅读全文
posted @ 2018-05-08 16:45 狂奔的蜗牛Snails 阅读(9556) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-05-08 13:09 狂奔的蜗牛Snails 阅读(2) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-04-20 16:11 狂奔的蜗牛Snails 阅读(2) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-04-19 16:31 狂奔的蜗牛Snails 阅读(17) 评论(0) 推荐(0)
摘要: 官网地址:http://layer.layui.com/hello.html 引入代码 1.loading 阅读全文
posted @ 2018-04-17 16:43 狂奔的蜗牛Snails 阅读(169) 评论(0) 推荐(0)
摘要: 完整代码 另类写法: plugins挂件参考 参考网址:https://www.jstree.com/plugins/ 阅读全文
posted @ 2018-04-13 18:24 狂奔的蜗牛Snails 阅读(651) 评论(0) 推荐(0)
摘要: html代码 js代码: 其中data数据格式 阅读全文
posted @ 2018-04-08 18:11 狂奔的蜗牛Snails 阅读(501) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-03-27 10:59 狂奔的蜗牛Snails 阅读(3) 评论(0) 推荐(0)
摘要: 微信小程序缓存是永久性,实际开发中需要定制时效性缓存;因此做了二次开发 设置缓存 put(k, v, t) k为key,v为具体内容(支持字符串、json、数组、boolean等等),t为可选参数表示有效时间(单位:秒)如存储k为123过期时间1秒, 则调用put('k', '123', 1)方法; 阅读全文
posted @ 2018-03-02 15:08 狂奔的蜗牛Snails 阅读(2835) 评论(0) 推荐(0)
摘要: 数据传递 阅读全文
posted @ 2018-02-05 18:11 狂奔的蜗牛Snails 阅读(135) 评论(0) 推荐(0)
摘要: index.wxml代码 index.js代码 参考手册: https://mp.weixin.qq.com/debug/wxadoc/dev/component/form.html https://mp.weixin.qq.com/debug/wxadoc/dev/component/input. 阅读全文
posted @ 2018-02-05 15:48 狂奔的蜗牛Snails 阅读(2369) 评论(0) 推荐(1)
摘要: 滑动组件:scroll-view wxml代码 js代码 wxss代码 参考地址:https://blog.csdn.net/sophie_u/article/details/71745125 幻灯片组件:swiper js代码: wxml代码 参考手册:https://mp.weixin.qq.c 阅读全文
posted @ 2018-02-05 15:34 狂奔的蜗牛Snails 阅读(1527) 评论(0) 推荐(0)
摘要: 需要部署的内容 需要部署的东西有阿里图标、public(共享的js、wxss、wxml)、app.js、app.json、wxParse(html代码转view)、js插件(md5.js、base64.js)、static 阿里图标部署 详细操作参考:http://www.cnblogs.com/w 阅读全文
posted @ 2018-02-02 11:44 狂奔的蜗牛Snails 阅读(336) 评论(0) 推荐(0)
摘要: 一:AppID(小程序ID)和AppSecret(小程序密钥) 这两个参数要记录,不光小程序要用到;做php开发的时候,也会用到。 二:设置服务器域名 不设置又会怎么样 1.线上版本获取不到数据 2.测试版本会报错,没数据。但是入如果勾选了“不校验安全域名、web-view 域名、TLS 版本以及 阅读全文
posted @ 2018-02-02 11:15 狂奔的蜗牛Snails 阅读(283) 评论(0) 推荐(0)
摘要: 效果: wxml代码 wxss代码 失效样式 .stamp06{background:radial-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 30rpx, #e2e2e2 30rpx);background-size:10rpx 10rpx;back 阅读全文
posted @ 2018-01-17 17:25 狂奔的蜗牛Snails 阅读(7124) 评论(5) 推荐(0)
摘要: 前言,小程序本身是带有地区选着器的(网站:https://mp.weixin.qq.com/debug/wxadoc/dev/component/picker.html),由于自己开发的程序的数据是很久以前mysql数据,与小程序自带的地区名称并不一样,所以只能自己写了。 (详细思路写在了最底部) 阅读全文
posted @ 2018-01-16 14:00 狂奔的蜗牛Snails 阅读(13811) 评论(0) 推荐(0)
摘要: js去掉重复数组 重点一:字符串转数组 strArr.join(',') 重点二:做循环数组删除的时候,每次循环就把color[i] 去对比i之前所有数组color组合起来的字符串 比如 : i=1,就是 黄色 比"红色,黄色" 出现次数1,保留 i=2,就是 黄色 比"红色,黄色,黄色" 出现次数 阅读全文
posted @ 2017-12-29 17:48 狂奔的蜗牛Snails 阅读(245) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页