Reasons16.1: Apps that present excessively objectionable or crude content will be rejected16.1We found that your app contains content that many audien...
分类:
移动开发 时间:
2014-06-25 21:30:02
阅读次数:
267
在集成扫描二维码功能时候,我使用的是系统在iOS7.0 之后才支持的扫描二维码功能类。刚开始创建代码是这么写的 1 -(void)setUpCamera 2 { 3 self.device = [AVCaptureDevice defaultDeviceWithMediaType:AVMed...
分类:
移动开发 时间:
2014-06-25 20:54:51
阅读次数:
258
1. 直接打 ifconfig ,显示 bash: ifconfig: command not found
打入全路径,查看IP /sbin/ifconfig
2. 主机ping不通虚拟机, 配置NAT
到适配器设置中,开启网卡
再次 ping 虚拟机IP 测试
3. 接下来设置 SecureCRTPortable, 这样的话,就能从...
分类:
系统相关 时间:
2014-06-25 00:10:08
阅读次数:
338
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using e...
分类:
其他好文 时间:
2014-06-24 23:30:08
阅读次数:
278
1.Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you
r Gemfile
2.ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/local/lib/ruby/gems/1.9.1 director.y
3.rails 3遇到 Could n...
分类:
其他好文 时间:
2014-06-24 22:18:45
阅读次数:
316
Copy List with Random Pointer Total Accepted: 12730 Total Submissions: 56262
My Submissions
A linked list is given such that each node contains an additional random pointer which could poi...
分类:
其他好文 时间:
2014-06-24 19:32:26
阅读次数:
194
如果一个应用抛出大量的Class not found信息,一般你会怀疑包冲突。可是tomcat的webappclassloader却有这样的问题:如果一个应用发布出现问题, webappclassloader的started属性被设为false.然后其它线程如果继续使用webappclassloader进行class load,则大量的Class not found异常被抛出: 1391 ...
分类:
移动开发 时间:
2014-06-22 19:53:31
阅读次数:
211
在linux下写了一个非常简单的Hello world程序,编译运行竟然报错:Error: Could not find or load main class Hello
最后发现是CLASSPATH的问题。
首先需要检查jdk环境变量是否配置正确:参考这篇文章:ubuntu12.04 安装配置jdk1.7
主要在环境变量这块:
export JAVA_HOME=/usr/java/jdk...
分类:
系统相关 时间:
2014-06-22 08:58:51
阅读次数:
410
题目:
Given a binary tree containing digits from 0-9 only, each root-to-leaf
path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find...
分类:
其他好文 时间:
2014-06-22 08:30:24
阅读次数:
236
????用hibernate访问sybase时遇见的异常。
Could not obtain connection metadata : ASE is now using a multi-byte character set, and the TEXT character counts have not been re-calculated using this character set ...
分类:
系统相关 时间:
2014-06-22 06:19:49
阅读次数:
1188