/*EXEC sp_configure ‘allow updates’, 0RECONFIGURE*/-- 启用:exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'xp_cmdshell',1reconf...
分类:
其他好文 时间:
2014-07-07 08:12:28
阅读次数:
363
??
posix thread是操作系统级(OS level)的API规范,主要用来定义线程及线程间同步的相关操作,采用C语言定义。posix规范主要在unix like类系统上实现;Windows类系统采用了自己的线程API。目前很多语言都在其标准库中提供了语言级的线程支持:如Java中的Thread,concurrenty包;python中的threading
model;C++11标准...
分类:
其他好文 时间:
2014-07-04 08:18:03
阅读次数:
271
About PythonPythonis an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures,...
分类:
编程语言 时间:
2014-07-03 22:24:34
阅读次数:
287
本文将讲述 CSS 中最核心的几个概念,包含:盒模型、position、float等。这些是 CSS 的基础,也是最经常使用的几个属性,它们之间看似独立却又相辅相成。为了掌握它们,有必要写出来探讨一下,如有错误欢迎指正。 元素类型HTML 的元素能够分为两种:块级元素(block level el....
分类:
Web程序 时间:
2014-07-03 22:14:13
阅读次数:
232
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and ...
分类:
其他好文 时间:
2014-07-03 19:14:34
阅读次数:
206
Coprocessor是HBase 0.92.0引入的特性。使用Coprocessor,可以将一些计算逻辑下推到HBase节点,HBase由一个单纯的存储系统升级为分布式数据处理平台。
Coprocessor分为两种:Observer和Endpoint。Observer能修改扩展已有的客户端操作功能,而Endpoint能引入新的客户端操作。
Observer
Observer的作用类似于数据...
分类:
其他好文 时间:
2014-07-03 15:35:50
阅读次数:
247
--------------------------------------------------------------这段先执行exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc.....
分类:
数据库 时间:
2014-07-03 00:11:59
阅读次数:
195
对于compaction是leveldb中体量最大的一部分,也应该是最为复杂的部分,为了便于理解我们首先从一些基本的概念开始。下面是一些从doc/impl.html中翻译和整理的内容:Level 0当日志文件超过一定大小的阈值是 (默认为 1MB):建立一个新的memtable和日志文件,以后的操作...
分类:
数据库 时间:
2014-07-02 21:34:11
阅读次数:
371
ERROR 1665 (HY000): Cannot executestatement: impossible to write to binary log since BINLOG_FORMAT = STATEMENTand at least one table uses a storage engine limited to row-based logging.InnoDB is limited to row-logging when transaction isolation level is REA...
分类:
数据库 时间:
2014-07-02 07:46:46
阅读次数:
322
如将字符串‘张三,李四,王五,赵六,'转换成
1. 张三
2.李四
3.王五
4.赵六
REGEXP_SUBSTR
查询语句:
WITH TEST AS (SELECT ‘张三,李四,王五,赵六,' AS STR FROM DUAL)
SELECT DISTINCT REGEXP_SUBSTR(STR, '[^,]+', 1, LEVEL)
FROM TEST
...
分类:
数据库 时间:
2014-07-02 07:13:36
阅读次数:
208