It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that c ...
分类:
其他好文 时间:
2017-05-12 00:16:09
阅读次数:
197
function domChange(domId, callback) { // select the target node var target = document.getElementById(domId); // create an observer instance var observ... ...
分类:
其他好文 时间:
2017-05-11 19:45:01
阅读次数:
163
本文为我阅读了 redis参考手册 之后结合 博友的博客 编写,注意 php_redis 和 redis-cli 的区别(主要是返回值类型和参数用法) 目录: 一、List(列表) 1、LPUSH Redis Lpush 命令将一个或多个值插入到列表头部。 如果 key 不存在,一个空列表会被创建并 ...
分类:
Web程序 时间:
2017-05-11 17:06:18
阅读次数:
248
一、基于S3的面向对象编程 基于S3的面向对象编程是一种基于泛型函数(generic function)的实现方式。 1.S3函数的创建 S3对象组成:generic(generic FUN)+method(generic.class FUN) 泛型函数(generic)创建示例: 通常用UseMe ...
分类:
编程语言 时间:
2017-05-11 09:19:53
阅读次数:
448
Mqtt服务器搭建 测试环境:CentOS64位 1.安装基础软件 2.下载源码包 3.解压源码包 4.编译准备 vim compiling.txt #这个文件里有写需要的依赖包,内容如下 The following packages are required for mosquitto: * tc ...
分类:
其他好文 时间:
2017-05-10 14:49:37
阅读次数:
1159
python获取网站http://www.weather.com.cn 城市 8-15天天气 ...
分类:
编程语言 时间:
2017-05-10 14:46:45
阅读次数:
262
with t as (select '1,2,3,10,11,12' a from dual) select substr(a, decode(level - 1, 0, 0, instr(a, ',', 1, level - 1)) + 1, (decode(level, regexp_cou..... ...
分类:
数据库 时间:
2017-05-10 13:07:57
阅读次数:
485
MySQL故障处理一例_Another MySQL daemon already running with the same unix socket ...
分类:
数据库 时间:
2017-05-10 01:04:32
阅读次数:
228
转载请注明出处:http://blog.csdn.net/l1028386804/article/details/46790451 MYSQL里的日志主要分为4类,使用这些日志文件。能够查看MYSQL内部发生的事情。 各自是 1、错误日志:记录mysql服务的启动、执行、停止mysql服务时出现的问 ...
分类:
数据库 时间:
2017-05-09 19:43:23
阅读次数:
438
创建一个mongdb.jsvar mongodb = require('mongodb')// 创建数据库服务的链接var server = new mongodb.Server('localhost',27017,{ auto_reconnect: true})// 创建数据的连接var db = ...
分类:
数据库 时间:
2017-05-09 16:56:20
阅读次数:
172