No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination....
分类:
移动开发 时间:
2014-06-07 01:56:57
阅读次数:
361
[lvhongmin@AY1401201736089361adZ start_svr]$ cat killall_svr.sh
#!/bin/bash
unrun[0]=''
unnum=0
runnum=0
#进程的名字
array[${#array[*]}]=paiyouQuan.svr
array[${#array[*]}]=jjm.cornucopia.svr...
分类:
其他好文 时间:
2014-06-05 08:04:29
阅读次数:
277
httpurlconnection1. 配置connection对象2. connect()
[根据配置设置请求头 outputStream 字符串流] 存储在内存缓冲区3. outputStream关闭时 生成http正文4.
调用getInputStream时 发送http请求 返回I...
分类:
其他好文 时间:
2014-05-31 14:35:49
阅读次数:
200
Jmap 全称 Java Memory
Map,用于打印出某个java进程(使用pid)内存内的,所有‘对象’的情况(如:产生那些对象,及其数量)。Usage: jmap [option] (to
connect to running process) jmap [opt...
分类:
其他好文 时间:
2014-05-31 13:08:10
阅读次数:
327
You have decided to start up a new social
networking company. Other existing popular social networksalready have billions
of users, so the only way to...
分类:
其他好文 时间:
2014-05-31 04:34:45
阅读次数:
275
本文体验在MVC中使用ASP.NET Identity 2.0,体验与用户身份安全有关的功能:
→install-package Microsoft.AspNet.Identity.Samples -Version 2.0.0-beta2 -Pre
安装后,在App_Start,Controller...
分类:
Web程序 时间:
2014-05-31 04:30:44
阅读次数:
461
题目:输入一个整数s,打印出全部和为s的连续整数序列(至少含有2个数)。比如输入9,则输出2、3、4和4、5两个序列方案一:因为序列至少要2个数,则两个数上限值为(1+s)/2,我们能够枚举该序列的起点和终点求全部满足的序列。时间复杂度为O(n^2),效率比較低方案二:我们设置两个指针start和e...
分类:
其他好文 时间:
2014-05-31 04:07:27
阅读次数:
282
05-29 21:23:28.406: E/AndroidRuntime(23636):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.***.Main}: java.lang.IllegalStateE...
分类:
其他好文 时间:
2014-05-30 21:14:57
阅读次数:
376
以sysdba登陆创建用户:CREATE USER username IDENTIFIED
BY password;授予(角色)权限:GRANT CONNECT,RESOURCE TO
username;注:oracle有三类标准角色:CONNECT,RESOURCE,DBA 当然用户自己(只要拥....
分类:
数据库 时间:
2014-05-30 17:46:19
阅读次数:
270
Given a binary tree, find the maximum path
sum.The path may start and end at any node in the tree.For example:Given the
below binary tree, 1 ...
分类:
其他好文 时间:
2014-05-30 16:10:54
阅读次数:
185