With the defaultApache HBaseconfiguration,everyone is allowed to read from and write to all tables available in the system. For many enterprise setups...
分类:
Web程序 时间:
2015-01-29 19:08:41
阅读次数:
1287
先介绍几个和apt-get相关的目录:
/var/lib/dpkg/available
文件的内容是软件包的描述信息, 该软件包括当前系统所使用的 Debian 安装源中的所有软件包,其中包括当前系统中已安装的和未安装的软件包.
/var/cache/apt/archives
目录是在用 apt-get install 安装软件时,软件包的临时存放路径
/etc/apt/so...
分类:
系统相关 时间:
2015-01-29 12:51:09
阅读次数:
295
等待信号和触发信号 - Signaling with Wait and Puls前面讨论事件等待句柄--一个简单的信号机制,一个线程一直阻塞直到接收到另外一个线程的通知。一个更强大的信号机制被Monitor类所经由静态函数Wait和Pluse(及PulseAll)提供。你自己编写通知逻辑,使用自定义...
分类:
编程语言 时间:
2015-01-29 12:20:55
阅读次数:
763
Here's What's New:Invite up to 1,000 external testers using just their email addressEasy to use TestFlight iOS app available on the App StoreNo need t...
分类:
移动开发 时间:
2015-01-29 12:16:55
阅读次数:
657
SELECT DBT.DATABASE_ID,
DB_NAME(DBT.DATABASE_ID) '数据库名',
DBT.TRANSACTION_ID,
AT.NAME,
AT.TRANSACTION_BEGIN_TIME,
CASE AT.TRANSACTION_TYPE
...
分类:
数据库 时间:
2015-01-29 10:32:56
阅读次数:
268
1、事物的理解:
事务(Transaction)是并发控制的基本单位。指作为单个逻辑工作单元执行的一系列操作,而这些逻辑工作单元需要具有原子性,一致性,隔离性和持久性四个属性,统称为ACID特性。
Atomic(原子性):事务中的所有元素作为一个整体提交或回滚,事务的个元素是不可分的,事务是一个完整操作。
Consistency(一致性):只有合法...
分类:
其他好文 时间:
2015-01-29 09:24:14
阅读次数:
145
#!/bin/sh# Find ipIP=`/sbin/ifconfig eth1 | grep 'inet addr' | awk '{ print substr($2, index($2, ":")+1)}'`#monitor procname scriptnamemonitor(){ proc...
分类:
Web程序 时间:
2015-01-28 21:18:44
阅读次数:
209
读取Assets文件夹InputStream is = getAssets().open("read_asset.txt");// We guarantee that the available method returns the total// size of the asset... of ....
分类:
移动开发 时间:
2015-01-28 21:03:30
阅读次数:
216
import pycurlimport sysimport osimport randomimport stringimport timeclass Transaction(object): def __init__(self): passdef run(self): c = p...
分类:
Web程序 时间:
2015-01-27 21:50:54
阅读次数:
171
1. 事务的四个特性 数据库事务(Transaction)是指作为单个逻辑工作单元执行的一系列操作,要么完全地执行,要么完全地不执行。一方面,当多个应用程序并发访问数据库时,事务可以在应用程序间提供一个隔离方法,...
分类:
数据库 时间:
2015-01-27 18:46:28
阅读次数:
155