环境:ubuntu 16.04 安装 sudo apt install libmysqlclient dev sudo apt install mysql server sudo apt install mysql client 登录 mysql u root p 退出 quit 和 \q 显示本地 ...
分类:
数据库 时间:
2017-12-13 20:16:34
阅读次数:
189
responseMsg(); } else { $wechatObj->valid(); } class wechatCallbackapiTest { public function valid() { $echoStr = $_GET["echostr"]; $signature = $_GET... ...
分类:
微信 时间:
2017-12-12 10:29:04
阅读次数:
268
1.根据API返回创建几个基础的Bean 1.1.WendaArticleDataBean类 API返回的数据如下: /** * cell_type : 36 * extra : {"wenda_video":[],"show_answer":false,"video_large_card":fal ...
分类:
其他好文 时间:
2017-12-11 23:10:01
阅读次数:
596
A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find the ...
分类:
其他好文 时间:
2017-12-09 22:34:18
阅读次数:
159
星神是来自宇宙的 所以珂朵莉也是吧 所以我就出了个题 给你一个长为n的序列a,有n*(n+1)/2个子区间,问这些子区间里面和为完全平方数的子区间个数 输入描述: 输出描述: 示例1 输入 6 0 1 0 9 1 0 输出 11 1 <= n <= 100000 0 <= ai <= 10 数据范围 ...
分类:
其他好文 时间:
2017-12-09 14:04:04
阅读次数:
136
本章我们讨论一个除前面的单例以及代理模式之外,一个WEB项目中有可能用到的设计模式,即观察者模式。 说起观察者模式,LZ还是非常激动的,当初这算是第一个让LZ感受到设计模式强大的家伙。当初LZ要做一个小型WEB项目,要上传给服务器文件,一个需求就是要显示上传进度,LZ就是用这个模式解决了当时的问题, ...
分类:
编程语言 时间:
2017-12-08 16:22:53
阅读次数:
179
python有一个很有意思的语法糖你可以直接写1, =, !=, == 比如一个典型的 它实质是如下的逻辑关系 同样1 ...
分类:
其他好文 时间:
2017-12-05 21:19:46
阅读次数:
152
redis数据类型及支持的常用操作: string set/get/append/incr/decr/getrange/mget/mset/strlen 127.0.0.1:6379> strlen customer:1 (integer) 13 list : order list just a s ...
分类:
其他好文 时间:
2017-12-04 00:01:06
阅读次数:
287
本文简要整理了FFmpeg中的AVBuffer的实现逻辑,可以作为一份简单的参考资料 ...
分类:
其他好文 时间:
2017-11-30 23:42:44
阅读次数:
1548
1.初始化YYAnimatedImageViewYYAnimatedImageView *imageView = [[YYAnimatedImageView alloc] init];imageView.backgroundColor = [UIColor whiteColor];imageView ...
分类:
其他好文 时间:
2017-11-30 12:16:01
阅读次数:
2609