上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: 1. PHP安装xdebug扩展 php.ini的配置,下面的配置仅供参考,路径要换成自己的! [xdebug]zend_extension=php_xdebug.dllxdebug.remote_handler="dbgp"xdebug.remote_autostart=1 xdebug.show 阅读全文
posted @ 2017-03-11 14:49 知子 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Hash 索引结构的特殊性,其检索效率非常高,索引的检索可以一次定位,不像B-Tree 索引需要从根节点到枝节点,最后才能访问到页节点这样多次的IO访问,所以 Hash 索引的查询效率要远高于 B-Tree 索引。 可能很多人又有疑问了,既然 Hash 索引的效率要比 B-Tree 高很多,为什么大 阅读全文
posted @ 2017-02-06 15:41 知子 阅读(184) 评论(0) 推荐(0) 编辑
摘要: websocket API 手册:https://developer.mozilla.org/en-US/docs/Web/API/WebSocket 阅读全文
posted @ 2017-01-05 17:38 知子 阅读(385) 评论(0) 推荐(0) 编辑
摘要: '; $result = myGetImageSize('http://0d077ef9e74d8.cdn.sohucs.com/fac494264beff70ed91fedf32783552b_default_1449555825843_jpg', 'curl'); print_r($result); 阅读全文
posted @ 2017-01-02 21:57 知子 阅读(343) 评论(0) 推荐(0) 编辑
摘要: httplib 下的 status http请求的状态 200 404 500... reason 返回答复 OK或者 FAULRE read() 读取内容 get方法: post获取数据: 阅读全文
posted @ 2016-12-26 14:18 知子 阅读(6038) 评论(0) 推荐(0) 编辑
摘要: #coding=utf-8 import logging logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s', da 阅读全文
posted @ 2016-12-24 15:48 知子 阅读(152) 评论(0) 推荐(0) 编辑
摘要: https://my.oschina.net/u/1186749/blog/643850 阅读全文
posted @ 2016-12-02 14:06 知子 阅读(2388) 评论(0) 推荐(0) 编辑
摘要: html{ height: 100%;} *{ margin: 0; padding: 0;}/* tell the browser to render HTML 5 elements as block */article, aside, figure, footer, header, hgroup 阅读全文
posted @ 2016-11-29 16:40 知子 阅读(682) 评论(0) 推荐(0) 编辑
摘要: The reason for the failure apparently appears to be version incompatibility, partly may be due to libpng-1.6.6 being unstable and has conflict with th 阅读全文
posted @ 2016-11-22 14:44 知子 阅读(854) 评论(0) 推荐(0) 编辑
摘要: 一、我们先看看编写的shell脚本的内容,该shell的作用主要是实现监控某个程序崩溃之后就自动重启该进程。 #!/bin/bash while true do procnum=` ps -ef|grep "test"|grep -v grep|wc -l` if [ $procnum -eq 0  阅读全文
posted @ 2016-10-31 14:55 知子 阅读(12839) 评论(0) 推荐(1) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页