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
报错:1130-host ... is not allowed to connect to this MySql server1。 改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "us...
分类:
数据库 时间:
2015-01-28 17:34:56
阅读次数:
141
__IPHONE_OS_VERSION_MAX_ALLOWED编译环境判断,判断当前开发时使用的sdk的版本。
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 50000
// 所使用的sdk为5.0以上的版本,在此的代码在编译时不会保存,但是允许在低版本ios系统的设备上运行就会崩溃的
// 例如:你使用xcode6.1开发,SDK版本为8.1来开...
分类:
其他好文 时间:
2015-01-28 14:42:37
阅读次数:
299
大家在使用PhpExcel类时,当打开一个比较大的excel数据文档,会出现Fatalerror: Allowed memorysize of 67108864 bytes exhausted (tried to allocate 27 bytes) in example/admin/add_mysql.php on line 50这样的错误,即页面内存已经耗尽。现在我来说一下解决办法:
...
分类:
Web程序 时间:
2015-01-27 20:27:06
阅读次数:
133
在进行类转json字符串时,报错JsonException: Max allowed object depth reached while trying to export from type System.Single。
ok,实际上是类的属性中有json不能识别的数据类型,我这里就脑残的float。去除掉之后就ok了。
(备注:用的是LitJson)
那一般什么类型是允许的呢?
我在J...
分类:
Web程序 时间:
2015-01-26 17:19:17
阅读次数:
209
Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ret...
分类:
其他好文 时间:
2015-01-26 06:30:30
阅读次数:
104
Blocked loading resource from url not allowed by $sceDelegate policy
分类:
Web程序 时间:
2015-01-25 22:30:34
阅读次数:
277
问题场景一:nameFROM(selectSEQ_B_LOG_ID.NEXTVALid,'elong_deo'namefromdual);问题场景二:intob_authority(id,role_id,authority,remark,url,yn,parent_id,authority_type...
分类:
其他好文 时间:
2015-01-25 01:21:09
阅读次数:
331
问题场景一:
SELECT id,name FROM (select SEQ_B_LOG_ID.NEXTVAL id , 'elong_deo' name from dual);
问题场景二:
insert into b_authority
(id,role_id,authority,remark,url,yn,parent_id,authority_type,log_flag)
select SEQ_B_AUTHORITY_ID.NEXTVAL,1, 'admin:role:listRole', '...
分类:
其他好文 时间:
2015-01-23 13:30:42
阅读次数:
188