07 2016 档案

摘要:适用于单继承关系(每一条记录只有一个父级) 阅读全文
posted @ 2016-07-18 23:28 until-u 阅读(1684) 评论(0) 推荐(0) 编辑
摘要:坑:先设置js接口安全域名,在公众号设置-功能设置-js接口安全域名中设置 授权登录功能需要在开发者中心页配置授权回调域名 文档:http://mp.weixin.qq.com/wiki/7/aaa137b55fb2e0456bf8dd9148dd613f.html 签名验证工具:http://mp 阅读全文
posted @ 2016-07-14 18:44 until-u 阅读(4366) 评论(0) 推荐(0) 编辑
摘要:一、获取用户openid 1.进入授权页面,获取code 2.授权后,回调页面通过code获取access_token 3.用access_token获取openid等用户基本信息 以上(2,3步在后台执行) 二、用openid获取调用JSAPI支付的参数 1.调用统一下单API,取得预支付id(p 阅读全文
posted @ 2016-07-14 16:52 until-u 阅读(272) 评论(0) 推荐(0) 编辑
摘要:大多用的是gulp-rev、gulp-rev-collerctor两个插件,但过程有点麻烦,使用gulp-rev-append插件轻松搞定 github: https://github.com/bustardcelly/gulp-rev-append 安装插件 gulpfile.js html 注意 阅读全文
posted @ 2016-07-10 23:27 until-u 阅读(976) 评论(3) 推荐(0) 编辑
摘要:方法一、https://github.com/nodesource/distributions#rpminstall 按照上面地址中的教程安装完后,使用node -v命令报错: -bash: /usr/local/bin/node: 没有那个文件或目录 使用: sudo node -v 则可以运行 阅读全文
posted @ 2016-07-09 01:19 until-u 阅读(381) 评论(0) 推荐(0) 编辑
摘要:写在前面:前两天想玩linux,在VMware中装了centos,进入系统后发现连不上网,搜了下教程,/etc/sysconfig/network-scripts/目录下没有 ifcfg-e*的文件 创建了一个 ifcfg-eth0,内容如下 重启网络后多了一个文件ifcfg-eno16777736 阅读全文
posted @ 2016-07-03 21:03 until-u 阅读(944) 评论(0) 推荐(0) 编辑
摘要:首先看官方教程:http://redis.io/download Download, extract and compile Redis with: The binaries that are now compiled are available in the src directory. Run 阅读全文
posted @ 2016-07-02 23:37 until-u 阅读(824) 评论(0) 推荐(0) 编辑
摘要:一、下载nginx,解压到/usr/local/nginx 二、安装相关依赖 yum -y install pcre-devel openssl openssl-devel yum install gcc gcc-c++ ncurses-devel perl 三、执行 ./configure --p 阅读全文
posted @ 2016-07-02 23:13 until-u 阅读(233) 评论(0) 推荐(0) 编辑