ZBar 有个 scanCrop 属性,默认值是
(0,0,1,1)代表全屏。(http://www.cnblogs.com/xling/archive/2013/03/21/2972640.html)Readme(https://github.com/ZBar/ZBar/blob/master/i...
分类:
其他好文 时间:
2014-07-22 23:11:53
阅读次数:
362
基础配置:Hadoop 2.2.0,Hbase
0.96。四台集群机器,一台master,三台slave。三台slave上分别装gmond;namenode机器上设置datasource。客户端:安装wget:sudo
yum -y install wget安装epel库: a) 下载epel r....
分类:
其他好文 时间:
2014-07-22 23:08:34
阅读次数:
573
之前10.7的系统上运行过cocoapods没有问题。现在系统版本升级到了10.9,尝试使用cocoapods遇到问题,报告了类似下面的错误:
Psych::SyntaxError - (/Users/psteinacher/.cocoapods/repos/master/CocoaPods-version.yml): mapping values are not allowed in th...
分类:
其他好文 时间:
2014-07-22 23:04:33
阅读次数:
294
1、都是基于lucene的;
2、都是分布式的:sensedb是multi-write;Solr的shards是master-slave模式,基于pull的策略;elasticsearch的shards是基于primary-secondary模式,push策略;
3、senseidb擅长实时性;Solr稳定性好被广泛使用;elasticsearch比较灵活...
分类:
数据库 时间:
2014-07-22 23:03:15
阅读次数:
498
问题现象: 数据库服务器可以ping通,但SSH连接不了;应用、plsqldeveloper
也都连接不了。事情到了这个地步,只能重启服务器。服务器环境:oracle10.2.0.1 +rhel5.8重启后,查看实例日志:Wed Apr 30
13:12:24 2014Memory Notifica...
分类:
其他好文 时间:
2014-05-01 02:56:19
阅读次数:
478
Cable master
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 21071
Accepted: 4542
Description
Inhabitants of the Wonderland have decided to hold a regional p...
分类:
其他好文 时间:
2014-04-29 13:44:22
阅读次数:
360
1 HDFS服务中,默认端口集合:
1. HDFS 端口
Service
Servers
Default Ports Used
Protocol
Description
Need End User Access?
Configuration Parameters
NameNode WebUI
Master Nodes (NameNo...
分类:
其他好文 时间:
2014-04-29 13:24:21
阅读次数:
492
首先,保证可以ping通
然后执行如下命令,
master登录slave
master上面执行如下指令:
2.4 确认本机sshd的配置文件(root)
$ vi/etc/ssh/sshd_config
找到以下内容,并去掉注释符"#"
RSAAuthenticationyes
PubkeyAuthenticationyes
AuthorizedKeys...
分类:
其他好文 时间:
2014-04-29 13:14:22
阅读次数:
280
1. If APNs attempts to deliver a notification but the device is offline, the notification is stored for a limited period of time, and delivered to the device when it becomes available.
假如用户手机不在线,可能没有...
分类:
移动开发 时间:
2014-04-28 10:38:40
阅读次数:
582
Hadoop从2.4.0版本开始支持hdfs的ACL,在CDH5.0当中也继承了该特性,下面对其进行一些测试:
一、启用ACL:
dfs.permissions.enabled
true
dfs.namenode.acls.enabled
true
二、测试ACL:
①
[hadoop@master ~]$ groups
hadoop
创建目录并上传文件:
[...
分类:
其他好文 时间:
2014-04-27 21:18:00
阅读次数:
306