来源:http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
分类:
移动开发 时间:
2014-05-14 03:23:53
阅读次数:
329
??
Hurry Up
Accepted : 88
Submit : 345
Time Limit : 1000 MS
Memory Limit : 65536 KB
Problem Description
GG is some what afraid of his MM. Once his MM a...
分类:
其他好文 时间:
2014-05-13 09:13:47
阅读次数:
355
今天在Win7环境通过XShell链接VirtualBox的CentOS;始终链接不上,原来是因为虚拟机选择网络链接方式不对[推荐连接方式:Host-only Adapter(主机模式)。
在网上查了相关资料得知:
知识提要:
VBox在主机中模拟出一张专供虚拟机使用的网卡,所有虚拟机都是连接到该网卡上的,我们可以通过设置这张网卡来实现上网及其他很多功能。主机模式通过虚拟机及网卡的设置可以完...
分类:
其他好文 时间:
2014-05-13 05:10:38
阅读次数:
288
现象:
今发现网站访问数据库变慢,经查是连接数据库耗时比较长。
解决办法:
在mysql的配置文件my.cnf中,在[mysqld]下面加上这个配置就可以了.
附录:[mysqld]部分要加入一个参数skip-name-resolve :主机名不被解析。加入后在授权表的 Host 的列值必须是IP数字或 localhost 。
How MySQL uses DNS
Wh...
分类:
数据库 时间:
2014-05-12 15:24:33
阅读次数:
399
Suppose a sorted array is rotated at some pivot
unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).You are
given a target value t...
分类:
其他好文 时间:
2014-05-12 07:31:40
阅读次数:
332
原文:window.location例
http://www.google.cn/a/201105/a564.html?a=1#aa 属性描述hash从井号 (#) 开始的
URL(锚)host主机名和当前 URL 的端口号hostname当前 URL 的主机名href完整的 URLpathname...
The three hands of the clock are rotating every
second and meeting each other many times everyday. Finally, they get bored of
this and each of them wo...
分类:
其他好文 时间:
2014-05-12 05:20:21
阅读次数:
525
第一步:首先实例化内部类所在的外部类。第二步:使用外部类.内部类的形式实例化内部类public
class Outer{ public class Inner{ 。。。 }}public class Other{ public static void
main(String args[]){...
分类:
其他好文 时间:
2014-05-11 22:57:37
阅读次数:
397
#ftp
#ljl
#!/usr/bin/perl
use strict;
use Net::FTP;
my $user = "anonymous";
my $passwd = "chinaunix@";
my $host = "ftp.freebsd.org";
my $ftp = Net::FTP->new("$host", Debug =>0)
or die "Can't connec...
分类:
其他好文 时间:
2014-05-11 13:23:26
阅读次数:
286
问题:昨天莫名其妙Xcode自动升级,然后今天运行之前工程的时候,就莫名其妙的报错了。报错内容:clang: error: unknown argument: '-websockets'解决办法:building setting ->other link flgs里把'-websockets删掉...
分类:
移动开发 时间:
2014-05-11 13:09:00
阅读次数:
471